Move tile-free-software render surface disabling to UpdateDrawProperties.

Currently when DrawProperties decides a subtree needs a render surface,
Android WebView software mode just drops it at CalculateRenderPasses
time and draws nothing.  If we instead suppress the render surface
decision at an earlier stage, we're more likely to get a halfway
reasonable result.

The motivating example was a page setting preserve-3d where the render
surface didn't affect the output result anyway.

New test LayerTreeHostCommonTest.CanRenderToSeparateSurface.

NOTRY=true
BUG=297299

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225637 0039d316-1c4b-4281-b951-d872f2087c98
[Activity Log] Disable tests on windows again, another source of flakiness.
Disable win tests

BUG=299393
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225638 0039d316-1c4b-4281-b951-d872f2087c98
[chromedriver] Remove chrome 28 from chromedriver test suite and add 31.
BUG=none
TBR=chrisgao

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225639 0039d316-1c4b-4281-b951-d872f2087c98
Remove unused variable declarations.

This issue was found by a linter.

R=mpearson@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225640 0039d316-1c4b-4281-b951-d872f2087c98
Expose only one LayerTreeHostClient::OffscreenContextProvider()

LayerTreeHostClient currently provides two OffscreenContextProvider getters,
one for contexts usable on the main thread and one for contexts usable on the
compositor thread. However, the compositor only uses one - the main thread
context in single threaded mode and the compositor thread context in threaded
mode - and the embedder that implements LTHClient picks which mode the
compositor runs in. This reduces the API down to one call and updates the
comment to better reflect the requirements.

Some compositor embedders, like RenderThreadImpl, do need to keep a main thread
context around for other reasons. When they are running the compositor in
single threaded mode it's useful to use the same context.  This moves the logic
for doing that sharing out to the embedders. It turns out there are only two so
it's all that much code.

R=danakj,piman

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225643 0039d316-1c4b-4281-b951-d872f2087c98
Fix the problem that we are using wrong id to request protected surface

Should use player_id instead of demuxer_client_id.

BUG=299226

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225645 0039d316-1c4b-4281-b951-d872f2087c98
Add Remoting Apps v2 test apps to whitelist.

BUG=252878, 276739

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225646 0039d316-1c4b-4281-b951-d872f2087c98
Updating trunk VERSION from 1653.0 to 1654.0

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225648 0039d316-1c4b-4281-b951-d872f2087c98
[PPAPI] File system resources can be attached to an existing host.

This adds a new FileSystemResource constructor, allowing the creation of
a new plugin-side resource that will be automatically attached to a
renderer and browser pending resource host.

BUG=177017

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225650 0039d316-1c4b-4281-b951-d872f2087c98
Disabled flaky EndToEndTests/EndToEndTest.LargePostNoPacketLoss.

BUG=297040
R=rch@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225651 0039d316-1c4b-4281-b951-d872f2087c98
If the network is offline, stop the test, instead of check error.

NOTRY=true

BUG=273917,299017

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225652 0039d316-1c4b-4281-b951-d872f2087c98
Widen the initial size of the settings app.

This prevents the vertical scrollbar on the Languages overlay being
obscured for common cases.

BUG=296816
TEST=Open Settings via the App Launcher, and open 'Language and Input
Settings' under advanced settings. The overlay should fit horizontally
and there should be no horizontal scrollbar. There may still be a
vertical scrollbar. Not that Settings App remembers its size if it was
opened before, so you may need to do this in an empty profile.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225653 0039d316-1c4b-4281-b951-d872f2087c98
[Clean up] Remove ChromeViewMsg_SearchBoxFontInformation IPC message and related code.

Font details were used by InstantNTP to render suggestions in HTML popup. We no longer use HTML popup.

BUG=272583
TEST=none
TBR=cevans@chromium.org(for render_messages.h)

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225654 0039d316-1c4b-4281-b951-d872f2087c98
Refactor AppListControllerWin.

This splits out and gives interfaces to many of the classes that are currently living in app_list_controller_win.cc

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225655 0039d316-1c4b-4281-b951-d872f2087c98
Remove underscores from bundle ids

BUG=298654

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225656 0039d316-1c4b-4281-b951-d872f2087c98
[webcrypto] Move the files to a subdirectory (content/renderer/webcrypto).

BUG=245025
R=jamesr@chromium.org, jochen@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225659 0039d316-1c4b-4281-b951-d872f2087c98
Support clear buffer in encrypted stream in MediaDecoderJob.

BUG=298483
TEST=Clear start in an encrypted stream plays with Widevine:
http://dash-mse-test.appspot.com/dash-player.html

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225660 0039d316-1c4b-4281-b951-d872f2087c98
Add padolph@netflix.com to the AUTHORS list.

Paul Adolph appears in the corporate signers (http://goto/cla-signers)

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225661 0039d316-1c4b-4281-b951-d872f2087c98
Move ui/base/x/x11_error_tracker to base/x11.

This is to share common x11 code for ui/x and chromeos/display.

R=thakis@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225662 0039d316-1c4b-4281-b951-d872f2087c98
Update chrome.fileSystem API docs.

This change:
- adds when directory access is available and the required permission;
- changes the milestone for persistent file access to m31;
- adds fileSystem.directory to the permissions section; and
- updates the isRestorable description to be more precise.

BUG=297964

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225663 0039d316-1c4b-4281-b951-d872f2087c98