Removed static factories for data, ftp, file, and about jobs.
Instead add corresponding ProtocolHandlers as needed.
Remove URLRequestContext members used by these static 
factories.  Bake FtpAuthCache into FtpProtocolHandler as it
was already unique per FtpProtocolHandler.
This is a revived version of http://crrev.com/10836206

BUG=142945


Review URL: https://chromiumcodereview.appspot.com/11931024

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188912 0039d316-1c4b-4281-b951-d872f2087c98
Add test for preventing bindings escalation on an existing NavigationEntry during session restore

BUG=173672,176304
R=creis@chromium.org


Review URL: https://chromiumcodereview.appspot.com/12563004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188913 0039d316-1c4b-4281-b951-d872f2087c98
[autofill] multi-field validation for CC date

R=isherman@chromium.org
BUG=179253


Review URL: https://chromiumcodereview.appspot.com/12640002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188914 0039d316-1c4b-4281-b951-d872f2087c98
Added missing header file


BUG=


Review URL: https://chromiumcodereview.appspot.com/12779014

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188915 0039d316-1c4b-4281-b951-d872f2087c98
Revert 188901 "Replace ET_GESTURE_DOUBLE_TAP with ET_GESTURE_TAP"

It broken ChromeOS views_unittests (http://build.chromium.org/p/chromium.chromiumos/buildstatus?builder=Linux%20ChromiumOS%20Tests%20%281%29%28Precise%29&number=1869)

> Replace ET_GESTURE_DOUBLE_TAP with ET_GESTURE_TAP
> 
> ET_GESTURE_TAP now has a tap count memeber to tell if it
> is a single or double tap. So replace the usage of
> ET_GESTURE_DOUBLE_TAP with ET_GESTURE_TAP.
> 
> BUG=140382
> 
> 
> Review URL: https://chromiumcodereview.appspot.com/12745006

TBR=miletus@chromium.org
Review URL: https://codereview.chromium.org/12673005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188916 0039d316-1c4b-4281-b951-d872f2087c98
Update TestURLRequest constructor interface in unit tests.

The webkit and android_webview unit tests that create TestURLRequest objects
are updated in this patch to explicitly specify which network delegate they
use, rather than extracting it from the context.  This is usually but not
always NULL.

This change is motivated by a desire to remove external accesses to a request
context's delegate. (If a block of code needs to use a NetworkDelegate, it
should not query the URLRequestContext for it, but instead should already have
access to whatever delegate the context uses.)

BUG=146587


Review URL: https://chromiumcodereview.appspot.com/12321106

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188920 0039d316-1c4b-4281-b951-d872f2087c98
Prerender AppListItemViews to speed up initial AppList render.

This makes the "warm start" case where Chrome is running but the app list hasn't been shown yet more like the "hot start" case where it has by prerendering the labels on all the items.

Note we don't do this on cold start (ie: --show-app-list with no chrome process running) because it may prerender more items than is needed. Also, logically, prerendering before painting will be slower than just painting as Layout() will be done twice.

BUG=171588

Review URL: https://chromiumcodereview.appspot.com/12408033

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188921 0039d316-1c4b-4281-b951-d872f2087c98
Alternate implementation of ExpandRectEquallyToAreaBoundedBy.

This patch is an alternate implementation of ExpandRectEquallyToAreaBoundedBy.  It works by iterating over a sorted list of edge events and avoids special cases.  Thanks to Dana's excellent test coverage I'm pretty confident it implements the same solution.

BUG=


Review URL: https://chromiumcodereview.appspot.com/12449012

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188922 0039d316-1c4b-4281-b951-d872f2087c98
Delay resetting the frame rate controller count until we get a new surface.

By defering the frame rate controller reset until we recreate an output surface,
we don't have to reason about swaps that may be in flight on the lost context
(i.e. we have swapped out renderers so no swap complete callbacks on previous
surface will be called).

BUG=196655


Review URL: https://chromiumcodereview.appspot.com/12541022

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188923 0039d316-1c4b-4281-b951-d872f2087c98
[Telemetry] Make page cycler commit charge a delta.

This is what page_cycler_test.cc used to do. There was a big jump in commit
charge when we switched to Telemetry and this should bring it back down to
normal.

BUG=196411
TEST=tools/perf/run_multipage_benchmarks --browser=system page_cycler tools/perf/page_sets/page_cycler/moz.json
NOTRY=True


Review URL: https://chromiumcodereview.appspot.com/12603015

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188925 0039d316-1c4b-4281-b951-d872f2087c98
Giving focus to an app shim brings windows belonging to that app to the foreground.

When the user either clicks on the app shim's icon in the dock or selects it
with Cmd+Tab, we send a message to Chrome to ask it to bring that app's windows
to the front.

BUG=138733, 168080

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188926 0039d316-1c4b-4281-b951-d872f2087c98
Revert 188912 "Removed static factories for data, ftp, file, and..."

Broke layout tests userscripts/user-script-plugin-document.html and plugins/plugin-document-back-forward.html on all platforms.

> Removed static factories for data, ftp, file, and about jobs.
> Instead add corresponding ProtocolHandlers as needed.
> Remove URLRequestContext members used by these static 
> factories.  Bake FtpAuthCache into FtpProtocolHandler as it
> was already unique per FtpProtocolHandler.
> This is a revived version of http://crrev.com/10836206
> 
> BUG=142945
> 
> 
> Review URL: https://chromiumcodereview.appspot.com/11931024

TBR=pauljensen@chromium.org
Review URL: https://codereview.chromium.org/12605011

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188927 0039d316-1c4b-4281-b951-d872f2087c98
Removed support for Core Animation plugins when accelerated compositing is disabled. CA plugins have been rendered through Chrome's compositor for several releases now and it has not been found necessary to revert back to the older behavior.

If the compositor is disabled, then support for the Core Animation and Invalidating Core Animation drawing models is no longer advertised.

Tested with the Unity and NPAPI Flash plugins. As expected, Unity no longer renders with the compositor disabled; NPAPI Flash falls back to the Core Graphics drawing model. (Pepper Flash is not affected; it happens to require the compositor before and after this change.)

BUG=105344


Review URL: https://chromiumcodereview.appspot.com/12641008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188928 0039d316-1c4b-4281-b951-d872f2087c98
More generic untar for various type of data.tar*

Sometimes .deb contains data.tar.bz2 or data.tar.xz and install-build-deps just cannot finish normally.  Fortunately modern tar supports compression type detection.


BUG=


Review URL: https://chromiumcodereview.appspot.com/12668013

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188929 0039d316-1c4b-4281-b951-d872f2087c98
Fixed an OS define goof.

TBR=jochen@chromium.org
BUG=None...

Review URL: https://chromiumcodereview.appspot.com/12700022

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188930 0039d316-1c4b-4281-b951-d872f2087c98
Roll WebKit 146056:146127.

TEST=watched chromium.webkit bots
BUG=none
TBR=antonm

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188932 0039d316-1c4b-4281-b951-d872f2087c98
When browser window showing control bubble loses focus,
control bubble should be hided.

BUG=181394
TEST=manual test


Review URL: https://chromiumcodereview.appspot.com/12812021

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188933 0039d316-1c4b-4281-b951-d872f2087c98
Switch to shutdown connector just after authentication.

BUG=143234

Review URL: https://chromiumcodereview.appspot.com/12824012

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188934 0039d316-1c4b-4281-b951-d872f2087c98
Second try at splitting WebDataService (minus ownership changes)

Split Database handling into a separate class, but keep it owned by WebDataService, to avoid it disappearing out from under us (crbug.com/181628).

TBR=ben@chromium.org,sky@chromium.org
TEST= unit_tests
BUG=181277
COLLABORATOR=joi@chromium.org


Review URL: https://chromiumcodereview.appspot.com/12871006

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