cc: Allow DeferredInitialize to use DelegatingRenderer

Currently DeferredInitialize assumes OutputSurface never has
delegated_rendering capability. With this change, remove this
assumption by always first creating SoftwareRenderer for
OutputSurface with deferred_gl_initialization. Then create
either DelegatingRenderer or GLRenderer depending on
delegated_rendering capability in DeferredInitialize.

With support for DelegatingRenderer and DeferredInititalize,
have to ensure that all GL resources are returned to child
before ReleasGL is called, because ContextProvider is going
away after ReleaseGL. Add a DCHECK for this in
ResourceProvider::CleanUpGLIfNeeded.

New path covered by LayerTreeHostTestDeferredInitialize.

BUG=344087

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272070 0039d316-1c4b-4281-b951-d872f2087c98
Make DeleteFile succeed on Windows 7 even if the path contains a nonexistent
diretory.

BUG=375804

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272071 0039d316-1c4b-4281-b951-d872f2087c98
Remove Notifications Associated with an Extension When the Extension is Unchecked from the Message Center Settings

Added an observer relationship between MessageCenterImpl and
MessageCenterSettingsController so that the notification removal would occur
when a user unchecked an extension from the settings view.

BUG=304364

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272072 0039d316-1c4b-4281-b951-d872f2087c98
Remove unused code from FileUtilProxy.

BUG=322664

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272073 0039d316-1c4b-4281-b951-d872f2087c98
Move ConnectionToHost parameters out from Connect() call.

Connect() has ended up acquiring all of the ConnectionToHost's
configuration settings as parameters, making calling code harder to read
especially as more new parameters are added.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272074 0039d316-1c4b-4281-b951-d872f2087c98
Re-enable key silk case benchmarks on Android

Now that crbug.com/374143 is fixed we should be able to run these tests again.

BUG=355952
TBR=tonyg@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272075 0039d316-1c4b-4281-b951-d872f2087c98
Move local_file_stream_reader_unittest from webkit/ to content/

BUG=338338
TBR=darin@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272076 0039d316-1c4b-4281-b951-d872f2087c98
cc: Prevent tiles that are required for activation from being placed in NEVER_BIN.

Some tiles that are required for activation might never be initialized
because we move them into EVENTUALLY_BIN before making adjustments
based on the memory policy. This is because EVENTUALLY_BIN will map
to NEVER_BIN when ALLOW_PREPAINT_ONLY or ALLOW_ABSOLUTE_MINIMUM is the
current memory policy.

This is fixed by moving low-res tiles into EVENTUALLY_BIN after
making adjustments based on current memory policy.

BUG=375801
TEST=cc_unittests --gtest_filter=TileManagerTests/TileManagerTest.EnoughMemoryPendingLowResAllowAbsoluteMinimum/*

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272077 0039d316-1c4b-4281-b951-d872f2087c98
Decouple RVH creation from CrossProcessFrameConnector.

This is a reland of https://codereview.chromium.org/270883003/, which was reverted because it missed to update one of the callers to CreateRenderViewForRenderManager. Patchset 1 is the equivalent to the previous commit.

BUG=357747

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272078 0039d316-1c4b-4281-b951-d872f2087c98
[Telemetry] Remove "_by_url" string from page-specific results.

The dashboard no longer needs this hack and in fact it is breaking our ability
to bisect in some cases.

BUG=371159

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272079 0039d316-1c4b-4281-b951-d872f2087c98
In order to remove unused png files inside the chromium source code, I've first wrote a simple python script to narrow my research.

With http://pastebin.com/ZEz4TgzD, I'm doing three things:
- Restricting my search to folders I'm familiar with.
- Listing all strings that end with ".png"
- Grabbing only PNG files that haven't been created in 2014

Then, because I know there might some cases that are not covered, I've looked into *all of them* to make sure they were not used for real anymore.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272080 0039d316-1c4b-4281-b951-d872f2087c98
Add Rietveld's upload.py to the standalone telemetry archive

By adding upload.py to the archive, we can submit patches to telemetry
without requiring a full depot_tools checkout. This helps ensure that
the standalone zip really is sufficient for telemetry development.

R=nduca@chromium.org, dtu@chromium.org
BUG=373104

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272081 0039d316-1c4b-4281-b951-d872f2087c98
Move chrome/common/metrics/variations to chrome/common/variations.

+ fixed some lint complaints in renamed files.

BUG=375740
TBR=thestig@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272082 0039d316-1c4b-4281-b951-d872f2087c98
[Metrics] Move non-idle notifications from MetricsService to ChromeMetricsServiceClient

BUG=374207
TEST=none
R=asvitkine@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272083 0039d316-1c4b-4281-b951-d872f2087c98
Adds boliu@ to components/auto_login_parser

BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272084 0039d316-1c4b-4281-b951-d872f2087c98
Adds bauerb chrome/OWNERS and chrome/android/OWNERS

BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272085 0039d316-1c4b-4281-b951-d872f2087c98
Add gcasto to password_manager WATCHLISTS

TBR=mkwst@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272086 0039d316-1c4b-4281-b951-d872f2087c98
Whitelist experimental bookmarks extension on stable.

preferencesPrivate was only available on the dev channel. This CL
moves the whitelist entries to a stable channel entry.

BUG=312900,319444,371562,375938

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272087 0039d316-1c4b-4281-b951-d872f2087c98
Reland "Move a good set of gfx unit tests into gfx_unittests target."

It was reverted in r270600 because it broke compilation:
lib/libgfx.so:error: undefined reference to 'XCreateRegion'
lib/libgfx.so:error: undefined reference to 'XUnionRectWithRegion'
lib/libgfx.so:error: undefined reference to 'XPolygonRegion'

Original description:
This requires to major changes:

1- It requires the introduction of GfxTestSuite to allow us to
initialize the ResourceBundle which is required for some of these tests
to pass.
2- It requires to split gfx_unittests target out of gfx.gyp, into
gfx_tests.gyp. This is necessary because otherwise a circular dependency
between ui_base.gyp and gfx.gyp would arise.

The circular dependency is the form of:
gfx.gyp -> ui_base.gyp -> gfx.gyp

And is created because gfx_unittests now requires ResourceBundle to link
which is in ui_base target.

BUG=331829
TEST=ui_unittests,gfx_unittests
R=sadrul@chromium.org, danakj@chromium.org
TBR=ben@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272088 0039d316-1c4b-4281-b951-d872f2087c98
Unload all apps / extensions immediately when deleting a profile.

Previously apps could remain running with references to profiles that had been deleted by users, but before the browser shut down and profiles were fully removed. Problems included E.g. opening a link in an app would open a tab in the deleted profile.

Relanding patch: ShutdownStartupCycle failed in build [49353], this patch was speculatively reverted in r269383 [49355], but ShutdownStartupCycle failed again in [49362] after the revert had landed.

[49353] http://build.chromium.org/p/chromium.mac/builders/Mac%2010.6%20Tests%20%28dbg%29%281%29/builds/49353
[49355] http://build.chromium.org/p/chromium.mac/builders/Mac%2010.6%20Tests%20%28dbg%29%281%29/builds/49355
[49362] http://build.chromium.org/p/chromium.mac/builders/Mac%2010.6%20Tests%20%28dbg%29%281%29/builds/49362

BUG=368684, 374683
TEST=Manual testing as described on http://crbug.com/368684#c1 and http://crbug.com/374683#c7

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

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

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

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