0
Commit Graph

384 Commits

Author SHA1 Message Date
a347f0ebcb Add files.watcherExlude to vscode.md
I had the issue that vscode didn't notice file changes e.g.
by git cl format. Excluding out/ and third_party/ with
files.watcherExclude seems to help.

Files per folder:
10934 v8
14436 native_client
17478 data
26470 build
37676 chrome
389528 third_party
426532 out

BUG=

Review-Url: https://codereview.chromium.org/2847723002
Cr-Commit-Position: refs/heads/master@{#467668}
2017-04-27 14:20:32 +00:00
80610570ec Update Windows build instruction for 14393 SDK
The Windows build instructions mention that the 14393 SDK is needed but
now that 15063 has shipped the SDK is harder to find, leading some
developers to do problematic hacks. This adds a link to the archival
installer.

R=scottmg@chromium.org

Review-Url: https://codereview.chromium.org/2846643002
Cr-Commit-Position: refs/heads/master@{#467512}
2017-04-26 23:39:39 +00:00
613ba696d0 Delete redundant instruction about Release folder.
Change-Id: I8a98bd08db886652b5a75a26495844fdb62633e0
Reviewed-on: https://chromium-review.googlesource.com/487061
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Commit-Queue: Yipeng Wang <yipengw@chromium.org>
Cr-Commit-Position: refs/heads/master@{#467087}
2017-04-25 20:09:19 +00:00
fd7db17d83 Make android_build_instructions.md consistent about out/Default
There were a few places that used "out/Release", and one that used
"$gndir"

Change-Id: Ib2f75d0158335bcb9c0dda506c30657866b56336
Reviewed-on: https://chromium-review.googlesource.com/486251
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Commit-Queue: Yipeng Wang <yipengw@chromium.org>
Cr-Commit-Position: refs/heads/master@{#467039}
2017-04-25 17:45:33 +00:00
298f67afd0 Update //docs/callback.md for OnceCallback support of PostTask impls
This removes a mention to OnceCallback support of PostTask, since
PostTask does support OnceCallback now.

BUG=554299

Review-Url: https://codereview.chromium.org/2830223002
Cr-Commit-Position: refs/heads/master@{#466591}
2017-04-24 06:14:13 +00:00
34f54d6d09 Rename android_webview_apk and android_webview_test_apk
To webview_instrumentation_apk and webview_instrumentation_test_apk

BUG=701938

Review-Url: https://codereview.chromium.org/2802093008
Cr-Commit-Position: refs/heads/master@{#466368}
2017-04-21 17:04:07 +00:00
99057287ca Add johnchen/zhanliang to user_handle_mapping.md
Review-Url: https://codereview.chromium.org/2836513002
Cr-Commit-Position: refs/heads/master@{#466235}
2017-04-21 02:30:42 +00:00
12d76adf4b [Blink>Media] Moving autoplay logic to AutoplayPolicy
This CL moves autoplay code from HTMLMediaElement to the
AutoplayPolicy class, which helps decoupling the autoplay logic
from HTMLMediaElement.

BUG=712606

Review-Url: https://codereview.chromium.org/2813303005
Cr-Commit-Position: refs/heads/master@{#466137}
2017-04-20 21:24:05 +00:00
b4730a0c27 Port sandbox, sandbox faq, and startup design docs to markdown.
This is mostly a straight port; minimal editing was applied to the
converted text to make some styles consistent.

The original locations of these docs were:

https://www.chromium.org/developers/design-documents/sandbox
https://www.chromium.org/developers/design-documents/sandbox/Sandbox-FAQ
https://www.chromium.org/developers/design-documents/startup

BUG=

Review-Url: https://codereview.chromium.org/2827383002
Cr-Commit-Position: refs/heads/master@{#466105}
2017-04-20 20:22:13 +00:00
ad589ceb60 Port threading design doc to in-tree docs, start a README for design docs in the tree.
This is a straight up port of https://www.chromium.org/developers/design-documents/threading, with minimal editing only for style consistency and some grammar errors.

Review-Url: https://codereview.chromium.org/2822353002
Cr-Commit-Position: refs/heads/master@{#466049}
2017-04-20 17:26:07 +00:00
03427bcc41 Android: Add module "_all" for Android Studio
Adding all sources to a "_all" pseudo module fixes Studio's code analysis
functions (imports, refactoring).

In order to have things build properly in gradle, the "_all" module has
all sources excluded (gradle applies the filters, studio does not).

Also fix "--all" targets to include tests. Make it easier to make sweeping
java refactors in Android Studio.

BUG=620034

Review-Url: https://codereview.chromium.org/2812133003
Cr-Commit-Position: refs/heads/master@{#465700}
2017-04-19 19:22:24 +00:00
76393b28bd Fix typo in 'adding_to_third_party.md' doc.
R=jochen@chromium.org, zpeng@chromium.org
BUG=

Review-Url: https://codereview.chromium.org/2794723003
Cr-Commit-Position: refs/heads/master@{#465652}
2017-04-19 17:24:38 +00:00
lod
f31fea5a3b Rename widget to search widget and use new bundleid to always build.
Using the newly created bundleid and mobileprovision, the search widget
can be integrated in the application alongside the current today widget.
When running on device after this check-in, it is necessary to install
the SearchTodayExtension mobileprovision.

BUG=622743, 682230

Review-Url: https://codereview.chromium.org/2814783003
Cr-Commit-Position: refs/heads/master@{#465606}
2017-04-19 15:05:59 +00:00
90a1c8c75a Add a categorized document index to docs/README.md.
BUG=

Review-Url: https://codereview.chromium.org/2810383003
Cr-Commit-Position: refs/heads/master@{#464626}
2017-04-14 00:34:25 +00:00
21ed71af85 web_platform_tests.md: Fix typo in the documentation.
Add a missing 's' to "goals".

R=foolip@chromium.org,jeffcarp@chromium.org,qyearsley@chromium.org

Review-Url: https://codereview.chromium.org/2807393004
Cr-Commit-Position: refs/heads/master@{#463988}
2017-04-12 10:50:44 +00:00
e262c84162 Add Visual Studio Code documentation
Adds documentation about installation and usage of Visual
Studio Code as an editor for Chromium. The documentation
is to be referenced from the Chromium developers web page,
https://www.chromium.org/developers, as a sibling of Atom,
Sublime Text etc.

BUG=None
TEST=None

Review-Url: https://codereview.chromium.org/2710503003
Cr-Commit-Position: refs/heads/master@{#463964}
2017-04-12 08:29:04 +00:00
886eadcb2e Share logic for generating compile DB with run_tool.py
BUG=676588
R=thakis@chromium.org

Review-Url: https://codereview.chromium.org/2798233002 .
Cr-Commit-Position: refs/heads/master@{#462582}
2017-04-06 19:26:23 +00:00
sbc
325bd8b938 Remove wheezy sysroot images support
We have switched to a debian/jessie sysroot so
wheezy support is not longer needed.

BUG=697494

Review-Url: https://codereview.chromium.org/2597523003
Cr-Commit-Position: refs/heads/master@{#462181}
2017-04-05 19:36:16 +00:00
bc6983a7c7 Update Ozone documentation for Linux Desktop
Currently Chrome/Ozone/mash does not run anymore on Linux Desktop.
This CL updates the documentation to point to Igalia's development
branch for Ozone Wayland [1] where issues are being addressed.
The `--mash` and `--window-manager` command line switches are also
replaced with the `--mus` switch introduced in [2].

[1] https://github.com/Igalia/chromium/tree/ozone-wayland-dev
[2] https://bugs.chromium.org/p/chromium/issues/detail?id=704985

Review-Url: https://codereview.chromium.org/2797133005
Cr-Commit-Position: refs/heads/master@{#462144}
2017-04-05 18:06:14 +00:00
907b382a53 [ios] Fix build instruction and scripts.
-   The script setup-gn.py is not run as part of `gclient runhooks`
    upstream, so update the documentation to not say the opposite.

-   Fix an error in the setup-gn.py that treated any non-empty
    value for FORCE_MAC_TOOLCHAIN environment variable as a `True`
    (in python any non-empty string is `True` in a boolean context).

BUG=None

Review-Url: https://codereview.chromium.org/2804633002
Cr-Commit-Position: refs/heads/master@{#462065}
2017-04-05 14:34:28 +00:00
fdea62ce25 Android: Upgrade to Android Studio 2.3
Support Clank development with the next version of Android Studio.

BUG=700438

Review-Url: https://codereview.chromium.org/2797703004
Cr-Commit-Position: refs/heads/master@{#462050}
2017-04-05 13:12:54 +00:00
c641a53445 Add the missing Cast build instructions.
Apparently I forgot to add them when I updated all of the other build
instructions to the single-page format.

R=slan@chromium.org, thakis@chromium.org
BUG=

Review-Url: https://codereview.chromium.org/2764013006
Cr-Commit-Position: refs/heads/master@{#461615}
2017-04-04 02:35:01 +00:00
b48bcd6aec docs: minor fix in memory-infra compositor doc
Looks like Gitiles mardown renderer doesn't support tables yet.
I filed https://bugs.chromium.org/p/gerrit/issues/detail?id=5923
to request the feature. In the meantime, turning the cc's table
into a code section, as currently gets renderer as unreadable
text.

TBR=ericrk@chromium.org

Review-Url: https://codereview.chromium.org/2791973002
Cr-Commit-Position: refs/heads/master@{#461396}
2017-04-03 09:45:34 +00:00
c9e9749225 Fix typos in git_tips.md doc.
R=andybons@chromium.org

Review-Url: https://codereview.chromium.org/2786413004
Cr-Commit-Position: refs/heads/master@{#461206}
2017-03-31 20:20:41 +00:00
7c26305368 Roll Android SDK to N-MR1
BUG=688263
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester

Review-Url: https://codereview.chromium.org/2760383003
Cr-Commit-Position: refs/heads/master@{#460934}
2017-03-30 23:46:11 +00:00
fab627a9bb Update builder name w3c-test-autoroller -> wpt-importer (src repo)
Bug: 706499

Change-Id: Ia649d35f81089eee35f5fb8aab88cd55502a2a6e
Reviewed-on: https://chromium-review.googlesource.com/462339
Reviewed-by: Kent Tamura <tkent@chromium.org>
Commit-Queue: Quinten Yearsley <qyearsley@chromium.org>
Cr-Commit-Position: refs/heads/master@{#460785}
2017-03-30 16:14:07 +00:00
4b8096b24c Adding documentation for autoplay
BUG=None

Review-Url: https://codereview.chromium.org/2787513002
Cr-Commit-Position: refs/heads/master@{#460722}
2017-03-30 11:28:29 +00:00
abd1360936 Add docs for WPT Exporter and explain how to disable it
Bug: 705561, 693821
Change-Id: I682573698ac7c053c44962846744c510b88f4e18
Reviewed-on: https://chromium-review.googlesource.com/462042
Commit-Queue: Jeff Carpenter <jeffcarp@chromium.org>
Reviewed-by: Quinten Yearsley <qyearsley@chromium.org>
Cr-Commit-Position: refs/heads/master@{#460603}
2017-03-30 00:46:10 +00:00
31da0bbe6a [Sync] Adding missing DependsOn to *ProfileSyncServiceFactory.
It looks like most of the recently added model types have not been
adding their associated KeyedService dependencies to
*ProfileSyncServiceFactory. This change updates the dependencies to
include everything used by both *ProfileSyncServiceFactory and
*ChromeSyncClient, along with some alphabetization for the ios
DependOn()s.

Couldn't add a dependency to SupervisedUserServiceFactory because it
apparently already depends on ProfileSyncServiceFactory, so added TODOs
to fix this.

BUG=701326

Review-Url: https://codereview.chromium.org/2768923005
Cr-Commit-Position: refs/heads/master@{#460133}
2017-03-28 16:52:20 +00:00
2477246e46 Add Request Desktop Site UA.
BUG=

TBR=olivierrobin@chromium.org

Review-Url: https://codereview.chromium.org/2782543003
Cr-Commit-Position: refs/heads/master@{#460096}
2017-03-28 14:21:13 +00:00
1079100d87 Remove <pre> tags and replace with ``` for Gitiles.
BUG=705954

TBR=pkl@chromium.org

Review-Url: https://codereview.chromium.org/2779043002
Cr-Commit-Position: refs/heads/master@{#460081}
2017-03-28 13:35:54 +00:00
00a6d2f940 Add the user agent content into the docs repo.
Original content: https://developer.chrome.com/multidevice/user-agent

Also, fixed some typos in opening_links.md.

TBR=pkl@chromium.org
BUG=

Review-Url: https://codereview.chromium.org/2778973002
Cr-Commit-Position: refs/heads/master@{#460051}
2017-03-28 09:30:11 +00:00
be0bf2ff26 Add documentation about opening links on iOS.
Content mirrored from:
https://developer.chrome.com/multidevice/ios/links
https://github.com/googlechrome/openinchrome

BUG=

TBR=pkl@chromium.org

Review-Url: https://codereview.chromium.org/2779863002
Cr-Commit-Position: refs/heads/master@{#459947}
2017-03-28 00:10:31 +00:00
81a78d4ad2 remove gdb_index in qtcreator document
BUG=

Review-Url: https://codereview.chromium.org/2772323004
Cr-Commit-Position: refs/heads/master@{#459890}
2017-03-27 21:43:16 +00:00
617a30f35e Rename WebsiteSettings code to PageInfo.
This was automated using a script [1] that does the following:
- Rename relevant files in the following folders from website_settings* to
  page_info*:
  - chrome/browser/ui/page_info
  - chrome/browser/ui/cocoa/page_info
  - chrome/browser/ui/views/page_info
  - chrome/browser/ui/android/page_info
  - chrome/android/java/res/layout
- Run `./tools/git/mass-rename.py` to update e.g. includes, build files, header
  guards.
  - mass-rename.py does not handle test files (https://crbug.com/701529) or
    Java, so those are handled separately, either in an early step are as part
    of the later renames.
  - `page_info_bubble_controller.h` needs a separate header guard fix.
- Use `sed` to rename classes, enums, non-UMA strings, and comments *WebsiteSettings* to *PageInfo* across the entire Chromium project.
  - Since several content settings classes are also called "WebsiteSettings", this is done by taking a full list of all occurrences of full tokens containing "WebsiteSettings", "website_settings", or "website settings" and whitelisting individual replacements.
  - To avoid modifying strings, all lines containing the relevant tokens *following at least one quote mark on the same line* are preserved, except two individually handled cases. There do not appear to be any affected multi-line strings.
- `git cl format`
- Remove two long-standing TODO comments about this rename, in:
  - PageInfoPopup.java
  - page_info_bubble_controller.h

This CL does not attempt to reflow comments; all changes stay within 80 lines, though.

[1] https://github.com/lgarron/website-settings-to-page-info/blob/master/page_info.fish

BUG=571506
TBR=jochen@chromium.org

Review-Url: https://codereview.chromium.org/2754383004
Cr-Commit-Position: refs/heads/master@{#459562}
2017-03-24 21:42:07 +00:00
29a7adabb3 WebView: update outdated docs for test shell
WebView no longer supports the android_webview_apk target for anything
other than automated testing. Keeping docs for building an unsupported
target is misleading, especially since android_webview_apk is not
actually a WebView.

This CL keeps the description about WebView, but removes the parts
about the test shell. It has a pointer to our team's chromium wiki page
for building and installing AOSP WebView.

This renames the section to "Build WebView" instead of "Build WebView
shell" to reflect the update.

BUG=703376

Review-Url: https://codereview.chromium.org/2770983007
Cr-Commit-Position: refs/heads/master@{#459221}
2017-03-23 21:17:08 +00:00
5c66dfe5bd Update vscode document
Add chromium-codesearch extension and update settings.

BUG=

Review-Url: https://codereview.chromium.org/2761363003
Cr-Commit-Position: refs/heads/master@{#458736}
2017-03-22 13:51:45 +00:00
2109641dd6 Android: specify the supported version of Android Studio.
Now that 2.3 has been released, it will be the default version downloaded
by developers. //build/android/gradle/generate_gradle.py doesn't work
with 2.3 yet, and this should be reflected in our docs (we only support
2.2 currently).

BUG=700438

Review-Url: https://codereview.chromium.org/2758053002
Cr-Commit-Position: refs/heads/master@{#458060}
2017-03-20 14:57:02 +00:00
0f156e19b0 Update documentation for base::ResetAndReturn(Callback*)
Added the method to callback.md because it's helpful yet I hadn't discovered it (callback_helpers.h is a more obscure file than callback.h or bind_helpers.h)

BUG=none
R=tzik@chromium.org

Review-Url: https://codereview.chromium.org/2755073002
Cr-Commit-Position: refs/heads/master@{#457939}
2017-03-18 02:49:09 +00:00
136f215ed3 Revert of Android: Support Android Studio 2.3 (patchset id:20001 of https://codereview.chromium.org/2746103004/ )
Reason for revert:
Breaks code editing in Android Studio, see http://crbug/700438 for more info.

Original issue's description:
> Android: Support Android Studio 2.3
>
> Also fixes excludes filters not working. For files whose directory is
> not fully included in the target, add those individually instead.
>
> BUG=700438
>
> Review-Url: https://codereview.chromium.org/2746103004
> Cr-Commit-Position: refs/heads/master@{#457093}
> Committed: f9fca7ca02

TBR=wnwen@chromium.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=700438

Review-Url: https://codereview.chromium.org/2758683003
Cr-Commit-Position: refs/heads/master@{#457866}
2017-03-17 19:59:19 +00:00
f9fca7ca02 Android: Support Android Studio 2.3
Also fixes excludes filters not working. For files whose directory is
not fully included in the target, add those individually instead.

BUG=700438

Review-Url: https://codereview.chromium.org/2746103004
Cr-Commit-Position: refs/heads/master@{#457093}
2017-03-15 15:47:29 +00:00
4a9c82efe7 use namespace base for base::make_optional in docs
BUG=none
TBR=mlamouri@chromium.org

Review-Url: https://codereview.chromium.org/2749983002
Cr-Commit-Position: refs/heads/master@{#456964}
2017-03-15 02:44:26 +00:00
126f704d1c Fix OnceCallback example in docs/callback.md
Fixes the original example, which resulted in an invalid conversion from
base::OnceCallback<void(int)> to base::Closure. Also adds a comment that
this usage is not yet supported.

BUG=none
R=tzik@chromium.org

Review-Url: https://codereview.chromium.org/2735903002
Cr-Commit-Position: refs/heads/master@{#456886}
2017-03-14 23:22:53 +00:00
8c9318ff00 Add basic debugging instructions for Android Studio.
The docs still need to be updated with more detailed instructions and
tips, but currently the docs don't even mention debugging in Android
Studio.

BUG=620034

Review-Url: https://codereview.chromium.org/2740353003
Cr-Commit-Position: refs/heads/master@{#456185}
2017-03-10 22:16:35 +00:00
6694c0e5e6 Remove dependency on scan-build wrapper script for analysis builds.
This CL replaces the Clang 'c++-analyzer' Perl script with logic added to the Python wrapper script. This gives us the hooks we need to run analysis builds with "gomacc" (necessary for distributed builds) and gives us a convenient place to specify analyzer config flags which aren't exposed by scan-build.

Adds a warning suppression rule which prevents the analyzer from raising false positives from stdlib code (code w/namespace "std").

Other changes:
* Modify Goma portions of the GCC toolchain GNI to build paths to
  the Clang static analyzer.
* Create an exception for ASM tool invocations, which don't play
  well with the analysis command line flags.
* Removed 'scan-build' DEP.

BUG=687245
R=thakis@chromium.org,wez@chromium.org

Review-Url: https://codereview.chromium.org/2667853004
Cr-Commit-Position: refs/heads/master@{#456136}
2017-03-10 19:47:21 +00:00
8638ef810c Android: Update docs and install-build-deps-android.sh to require java8
We don't strictly require java8 yet, but will soon.

BUG=662467

Review-Url: https://codereview.chromium.org/2666783004
Cr-Commit-Position: refs/heads/master@{#455459}
2017-03-08 15:44:31 +00:00
ae16e9d846 Clarify that cdb is required to be installed
TBR=brucedawson@chromium.org
BUG=

Review-Url: https://codereview.chromium.org/2735343002
Cr-Commit-Position: refs/heads/master@{#455409}
2017-03-08 09:04:42 +00:00
8cccf2141e Move ios documentation from //docs to //docs/ios.
TBR=cmasso@chromium.org
BUG=none

Review-Url: https://codereview.chromium.org/2731293003
Cr-Commit-Position: refs/heads/master@{#454972}
2017-03-06 22:12:02 +00:00
6fca2b025f change clang-format settings in docs/vscode.md and docs/qtcreator.md
BUG=

Review-Url: https://codereview.chromium.org/2729853008
Cr-Commit-Position: refs/heads/master@{#454640}
2017-03-03 19:10:51 +00:00
eb1ff6b205 Add MANIFEST.json to .gitignore, regenerate it from template in test runner
This solves 2 problems:

1. Regenerating MANIFEST.json is failing on ToT (bug 697207)
- Now that MANIFEST.json is in .gitignore, regeneration works
2. Regenerating adds MANIFEST.json to MANIFEST.json (bug 683485)
- MANIFEST.json no longer shows up in MANIFEST.json

BUG=697207,666957,683485

Change-Id: I09987b66027e1f94055888c8ead58e7e40896d62
Reviewed-on: https://chromium-review.googlesource.com/447959
Commit-Queue: Jeff Carpenter <jeffcarp@chromium.org>
Reviewed-by: Quinten Yearsley <qyearsley@chromium.org>
Cr-Commit-Position: refs/heads/master@{#454454}
2017-03-03 00:48:43 +00:00