Replace enable-compositing-for-fixed-position with prefer-compositing-to-lcd-text.

We are adding a --prefer-compositing-to-lcd-text flag to allow promoting
of things that will lose LCD text. Fixed position elements will be the
only thing controlled by this flag in this CL. Other flags will be
merged into it in the future.

R=piman@chromium.org
BUG=365851
NOTRY=true

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=290155

Review URL: https://codereview.chromium.org/479653003

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@290191 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Update hotword private tests to not need auto whitelisting.

Component apps are currently auto whitelisted for all whitelisted APIs.
To allow this to be removed the hotword private tests are being updated
to manually whitelist the test extensions used.

See https://codereview.chromium.org/447673002/ for more context.

BUG=370375

Review URL: https://codereview.chromium.org/470893002

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@290200 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Settings page: Do not grey out the "Ok Google" checkbox on errors.

Previously, if a mic is not plugged in or some other error occurs (e.g.,
NaCl is disabled), the checkbox is disabled. Now, the checkbox is always
available to turn on or off (with the yellow triangle showing you
whether there is an error).

BUG=396993

Review URL: https://codereview.chromium.org/463823002

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@290201 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Return configured processors in NumberOfProcessors() on posix platforms

On Linux/Mac/FreeBSD platform, NumberOfProcessors() was returning the number of
online processors. Change it to return the number of configured processors
(incl. offline processors).

1. Most callers of this API expect it to return totally available cpu cores,
   mainly for threading optimization.

2. The number of online processors is changed within seconds on some embedded
   platforms. It is wrong to pass the cached value of the number of currently
   online processors to Blink sandbox.

BUG=404364
TEST=Tested on nyan (it may have 1~4 cpu cores online)

Review URL: https://codereview.chromium.org/454053002

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@290209 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Remove the acclerated overflow scroll and fixed root background flags.

These flags are merged into --{dis,en}able-prefer-compositing-to-lcd-text
which controls these along with fixed position.

Depends on https://codereview.chromium.org/479653003/.

R=aelias, piman@chromium.org
BUG=365851

Review URL: https://codereview.chromium.org/479673003

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@290218 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Remove protected virtual methods from BaseSearchProvider

This change is a follow-up of https://codereview.chromium.org/436833002/.

-GetTemplateURL(), GetInput() and ShouldAppendExtraParams()
Instead of calling virtual methods, pass these values as arguments to
AddMatchToMap() and ParseSuggestResults().

-StopSuggest() and ClearAllResults()
These methods are used to customize the behavior of Stop().
Instead, define Stop() in SearchProvider and ZeroSuggestProvider.

-ModifyProviderInfo()
This method is only needed by ZeroSuggestProvider.
Instead, ZeroSuggestProvider overrides AddProviderInfo() to do the same thing.

BUG=None

Review URL: https://codereview.chromium.org/456843003

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@290222 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
[fsp] Add support for aborting running operations.

When an operation is aborted in C++ layer, it should be also terminated in the
providing extension.

This patch adds aborting feature for each operation. However, it is not used
everywhere. Especially, FileStreamReader does not utilize it yet. It will be
done in a separate CL.

TBR=nkostylev@chromium.org
TEST=unit_tests: *FileSystemProvider*Abort*, *FileSystemProvider*RequestManager*
BUG=400574

Review URL: https://codereview.chromium.org/440653003

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@290223 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Move string resources to omnibox_strings.grdp

BUG=371538
TEST=build

Review URL: https://codereview.chromium.org/450243002

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@290230 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
[fsp] Add a method to enumerate all mounted file systems.

Since provided file systems are persistent and they are automatically remounted
after a reboot, providing extensions may want to know which file systems are
actually in use.

Before, providing extensions had to keep list of mounted file systems in local
storage, which was problematic and could end up on being out of sync in case
of crashes.

This patch introduces a getAll() method which can be used to get a list of
mounted file systems by the provider executing it.

TEST=browser_tests: *FileSystemProvider*GetAll*
BUG=393156

Review URL: https://codereview.chromium.org/477583002

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@290232 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Revert of Remove the acclerated overflow scroll and fixed root background flags. (patchset #1 of https://codereview.chromium.org/479673003/)

Reason for revert:
This seems to have broken most of the virtual/gpu/compositedscrolling/overflow. See http://build.chromium.org/p/chromium.webkit/builders/WebKit%20Linux/builds/35692 and http://build.chromium.org/p/chromium.webkit/builders/WebKit%20Mac10.9/builds/10128 for examples.

http://test-results.appspot.com/dashboards/flakiness_dashboard.html#group=%40ToT%20Blink&tests=virtual/gpu/compositedscrolling/overflow/content-gains-scrollbars.html,virtual/gpu/compositedscrolling/overflow/nested-render-surfaces-with-intervening-clip.html,virtual/gpu/compositedscrolling/overflow/nested-render-surfaces-with-rotation.html,virtual/gpu/compositedscrolling/overflow/nested-render-surfaces.html,virtual/gpu/compositedscrolling/overflow/overflow-auto-with-touch-toggle.html,virtual/gpu/compositedscrolling/overflow/overflow-auto-with-touch.html,virtual/gpu/compositedscrolling/overflow/overflow-overlay-with-touch.html,virtual/gpu/compositedscrolling/overflow/overflow-scrollbar-layers.html,virtual/gpu/compositedscrolling/scrollbars/overflow-scrollbar-combinations.html shows all the tests.

Original issue's description:
> Remove the acclerated overflow scroll and fixed root background flags.
> 
> These flags are merged into --{dis,en}able-prefer-compositing-to-lcd-text
> which controls these along with fixed position.
> 
> Depends on https://codereview.chromium.org/479653003/.
> 
> R=aelias, piman@chromium.org
> BUG=365851
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=290218

TBR=piman@chromium.org,danakj@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=365851

Review URL: https://codereview.chromium.org/485663002

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@290233 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
[DevTools] Make DevTools clients talk directly to DevToolsAgentHost instead of using DevToolsManager.

Previously, client used methods on DevToolsManager passing |this| to most of them.
Instead, it should hold a scoped_refptr to inspected DevToolsAgentHost and talk
to it directly. This creates a single clean entry point for the client, and allows
in the future to handle browser-wide protocol messages and debug multiple hosts at once.

BUG=401073
TBR=kalman@chromium.org

Review URL: https://codereview.chromium.org/449043002

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@290236 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
GetHelp cut at M38: manifest.json

BUG=chromium:404093

Review URL: https://codereview.chromium.org/474953002

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@290237 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
[Drive] Handle error cases earlier in FakeDriveService

BUG=None

Review URL: https://codereview.chromium.org/486543002

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@290238 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Move session_id.{cc,h} from chrome/browser/sessions to components/sessions

Move SessionID out of chrome/ to make it usable from non-Chrome embedders like app_shell and athena.

Move methods IdForTab() and IdForWindowContainingTab() from SessionID to SessionTabHelper to make SessionID chrome-free.
Move SessionID to components/sessions.
Fix gyp, BUILD.gn and DEPS.

BUG=403726
TBR=sky@chromium.org for include fix under chrome/browser

Review URL: https://codereview.chromium.org/480883002

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@290242 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
HelpApp cut at M38: manifest.json

BUG=chromium:404093

Review URL: https://codereview.chromium.org/474223002

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@290245 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Add command-line flag for tests to bypass the screenshare window picker.

This flag will make it possible for external tests to bypass the dialog
where you select what to screen share. When this flag is passed on
startup and an extension asks to use the desktop capture API, it will
auto-bypass the dialogue if the target shows up in window picker.

This is assumed to be safe because the flag would have to be passed
each time Chrome is started up, rather than being an about:flags flag.

BUG=392425

Review URL: https://codereview.chromium.org/378273003

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@290249 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
ChromeOS: should not show "Language changed" notification for certain languages.

BUG=317718
TEST=manually tested

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289985

Review URL: https://codereview.chromium.org/382973002

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@290255 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Bookmark context menu "Add folder..." allows to create folder with empty name(empty string).

If user enters empty string in textField of New folder dialog window, just default the name
to "New folder" instead of creating folder with empty name.

BUG=398852

R=asvitkine@chromium.org

TEST=
1) Right click on bookmark bar, and select "Add folder..." from context menu.
2) In the textField, do not enter any name (or delete existing text).
3) Click on save button and observe.
4) Newly created folder name must default to "New folder" instead of empty name(empty string).

Review URL: https://codereview.chromium.org/476643002

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@290262 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Add prefetch behavior test.

Add test to verify prefetch behavior under different user preference
settings and network connections.

BUG=334602

Review URL: https://codereview.chromium.org/459933002

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@290295 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Add GetShillProperties to chrome://network

This adds an option to see Shill properties to help work on ONC
translation.

BUG=none
For c/b/resources:
TBR=xiyuan@chromium.org

Review URL: https://codereview.chromium.org/455613004

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@290311 4ff67af0-8c30-449e-8e8b-ad334ec8d88c