Remove frame flattening calls from Chromium as it is being removed from Blink

Chromium does not use the frame flattening code on any platform, though it used
to use it for frameset flattening on Android, but that is no longer the case.

As there is no intention of ever using it, it should be removed. This change
basically removed the code related to the WebCore setting.

Committed on behalf of Kenneth Rohde Christiansen <kenneth.r.christiansen@intel.com>.

TBR=darin@chromium.org

BUG=231898

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

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

- Manage all callbacks passed to LoadIfNeeded in the pending queue, not in method argument.
This eliminates the need of |refreshing_| variable, and simplify the logic
when to wait and when to start loading.

- Unify the place where loaded_ is set and OnInitialFeedLoaded() is called.

- Unify directory changestamp checking logic into one place.
Previously we had it twice.

- Get local_changestamp exactly once in every path.
Previously we had it twice in some cases, and zero in
some case (see the BUG).

BUG=231220

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194746 0039d316-1c4b-4281-b951-d872f2087c98
Make MountPointProvider pluggable from outside webkit/fileapi

Currently we have some layering leakages under webkit/ because
we have several FS modules (e.g. media modules) that
should not be known by WebKit/FileAPI (or content) layer.

Also some module implementors are forced to add extra glue interfaces
just to across layering boundaries from webkit.

This patch changes to:
- Add CanHandleType method to each MountPointProvider
- Make FileSystemContext's ctor take additional MountPointProviders and
  MountPoints, so that FS module implementors can implement their own
  provider outside webkit/ and plug it into FileAPI layer.

This is the 1st cut of a couple of planned changes.

Brief change plan (internal): https://docs.google.com/a/google.com/document/d/1XEtX0OO_RIA_c0KuKvd9yqK5l3XtsTulwXs3c-mAQ1o/view

BUG=175936
TEST=content_unittests:.*File.*
TEST=content_unittests:.*MountPointProvider.*

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194747 0039d316-1c4b-4281-b951-d872f2087c98
Rename SpecialStoragePolicy::IsInstalledApp() to CanQueryDiskSize()

To fix layering leakage issue.

BUG=none
TEST=existing tests

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194748 0039d316-1c4b-4281-b951-d872f2087c98
ui: Use RectF::x/y/right/bottom for rect conversions.

R=danakj
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194750 0039d316-1c4b-4281-b951-d872f2087c98
Re-enable ExtensionCrashRecoveryTest.ReloadTabsWithBackgroundPage on Windows.

The culprit change was reverted.

BUG=232340
TBR=yoz@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194751 0039d316-1c4b-4281-b951-d872f2087c98
Update tools to reflect movement of TestExpectations

Also fix SVN URL in test_expectations*.py to use src.chromium.org after blink
fork.

Also fix test_expectations_history_unittest.py to use correct time zone. Commit
time stamps are in UTC, so we need to specify date ranges in UTC, rather than
local time, to ensure consistent behaviour in all locations.

BUG=230264

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194752 0039d316-1c4b-4281-b951-d872f2087c98
Add CreateWithDisableAero, to allow Windows capturer to be created without disabling Aero.

BUG=195849

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194753 0039d316-1c4b-4281-b951-d872f2087c98
Changed cloud print private API to pass all page settings as single object.

Pass settings from connector setup page using "UserSettings" object that includes "connectNewPrinters" flag and list of "PrinterSettings".

BUG=230187
R=gene

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194754 0039d316-1c4b-4281-b951-d872f2087c98
Remove explicit thread manipulation from WebDB migration test.

BUG=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194757 0039d316-1c4b-4281-b951-d872f2087c98
Remove print and move bookmark to the top of the action box.

This change removes the print menu entry from the action box,
and moves the bookmark entry so it becomes the first entry in
the list.

Also moved responsibility for populating the menu model into the
controller class, instead of having it split between the model
and the controller.

BUG=226803

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194758 0039d316-1c4b-4281-b951-d872f2087c98
Revert 194751 "Re-enable ExtensionCrashRecoveryTest.ReloadTabsWi..."

> Re-enable ExtensionCrashRecoveryTest.ReloadTabsWithBackgroundPage on Windows.
> 
> The culprit change was reverted.
> 
> BUG=232340
> TBR=yoz@chromium.org
> 
> Review URL: https://codereview.chromium.org/14111007

TBR=tkent@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194759 0039d316-1c4b-4281-b951-d872f2087c98
Bluetooth: implement BlueZ 5 backend for Chrome OS

Provides an implementation for adapter control, device discovery,
pairing, connection, disconnection and unpairing using the BlueZ 5.x
backend on Chrome OS.

Uses Fake* classes for testing instead of Mocks.

TBR=youngki@chromium.org
BUG=220951
TEST=device_unittests

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194760 0039d316-1c4b-4281-b951-d872f2087c98
alternate ntp: fix content origin when overlay shrinks to shorter than top bars

BUG=229897
TEST=verify per bug rpt

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194761 0039d316-1c4b-4281-b951-d872f2087c98
Create dir if it does not existst.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194762 0039d316-1c4b-4281-b951-d872f2087c98
Force refresh of shelf area when gesture completes to prevent
corruption of work area insets.

BUG=230937

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194763 0039d316-1c4b-4281-b951-d872f2087c98
Fixed slide show in Files.app's gallery.

Because of typo, gallery wasn't showing up. This patch fixes the typo and also converts every instance of toggleFullscreen to toggleFullScreen for consistency.

TEST=Enter Files.app, go to gallery, fire the slide show.
BUG=232087

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194764 0039d316-1c4b-4281-b951-d872f2087c98
Add OSX aggregate audio device support for best performance.

Some audio hardware is presented as separate input and output devices
even though they are really the same physical hardware and
share the same "clock domain" at the lowest levels of the driver.
A common of example of this is the "built-in" audio hardware:
    "Built-in Line Input"
    "Built-in Output"
We would like to use an "aggregate" device for these situations, since
CoreAudio will make the most efficient use of the shared "clock domain"
so we get the lowest latency and use fewer threads.

BUG=none
TEST=extensive manual testing with built-in Mac hardware
http://chromium.googlecode.com/svn/trunk/samples/audio/visualizer-live.html

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194765 0039d316-1c4b-4281-b951-d872f2087c98
sync: Finish the SyncScheduler refactor

This change removes SyncSessionJob entirely.  The first step towards
this goal was to refactor all functions that depended on SyncSessionJob.
All these functions have either been inlined or modified to take
different parameters instead.  DoSyncSessionJob was split into
two separate functions, one for configure jobs and one for nudge jobs,
which removes the need for SyncSessionJob's "purpose" member.

The SyncScheduler's pending_configure_job_ has been replaced with
a ConfigParams member, since that was the only part of the job still
being referenced.  The pending_nudge_job_ has been replaced with
scheduled_nudge_time_ (which is similar to the old scheduled_start_
member of SyncSessionJob) and a new object called a NudgeTracker.

The NudgeTracker inherits the SyncSessionJob's responsibilities with
respect to coalescing nudge sources.  The plan is to extend this class
to support more sophisticated nudge coalescing in the future.  For now
it tries to emulate the old SyncSessionJob behaviour as closely as
possible.

Some of the refactoring does change behaviour.  In particular, the
decision-making logic has been updated to fix issues 179515 and 155296.

BUG=175024,179515,155296

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194766 0039d316-1c4b-4281-b951-d872f2087c98
Autofill:Autocheckout: In addition to "Enable Experimental Form filling" flag, support second method of enabling Autocheckout: using finch experiment. Autocheckout will be enabled if either of the conditions is true. Will remove "Enable experimental form filling" flag, once finch experiment is setup completely.


BUG=230026

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

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