cc: Cancel and re-prioritize worker pool tasks.

This adds a task graph interface to the worker pool and
implements a simple queue instance of this interface for
use by the tile manager.

The task graph interface can be used describe more
complicated task dependencies in the future and
provides the immediate benefit of seamlessly being
able to cancel and re-prioritize tasks.

BUG=178974

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202363 0039d316-1c4b-4281-b951-d872f2087c98
Track NPObject ownership by the originating plugins' NPP identifier. [2/3] (Chrome)

This CL updates Chrome to return plugin NPP identifiers for NPAPI, PPAPI and browser plugins, and to make the necessary calls into Blink to support object ownership tracking.

This CL requires Blink CL crrev.com/14989014, and is itself required by Blink CL crrev.com/14019005.

BUG=152006

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202364 0039d316-1c4b-4281-b951-d872f2087c98
drive: Rename file_system::DriveOperations to file_system::Operations

As part of effort to drop "Drive" prefix from classes.

BUG=242121
TEST=none
R=hashimoto@chromium.org

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202367 0039d316-1c4b-4281-b951-d872f2087c98
Revert 202364 "Track NPObject ownership by the originating plugi..."

Suspected to have broken ClickToPlayPluginTest.NoCallbackAtLoad

> Track NPObject ownership by the originating plugins' NPP identifier. [2/3] (Chrome)
> 
> This CL updates Chrome to return plugin NPP identifiers for NPAPI, PPAPI and browser plugins, and to make the necessary calls into Blink to support object ownership tracking.
> 
> This CL requires Blink CL crrev.com/14989014, and is itself required by Blink CL crrev.com/14019005.
> 
> BUG=152006
> 
> Review URL: https://chromiumcodereview.appspot.com/15007012

TBR=wez@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202369 0039d316-1c4b-4281-b951-d872f2087c98
Implement WebPrescientNetworking to trigger preconnect from blink.

Note to gardener: This patch requires the following Blink patch to be landed first:
  https://codereview.chromium.org/14746002/

This API is to be triggered from {mouse,gesture}-events on HTMLAnchorElement. 

BUG=235361

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202370 0039d316-1c4b-4281-b951-d872f2087c98
Part 3/3 (RWH/IOSurface) of adding with device scale factor to transport surfaces

Pass the scale factor through the image transport surface to the
IOSurface creation.

Change ViewHostMsg_CompositorSurfaceBuffersSwapped to use a
params structure, because there is a limit of 5 IPC arguments.

BUG=132714

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202371 0039d316-1c4b-4281-b951-d872f2087c98
Fix module dependency in file_system_url*

FileSystemURL should no longer have dependencies to IsolatedContext or ExternalMountPoints, but should be just a simple class.

Remove unnecessary header files and move tests that are specific to
SyncableFileSystem into
webkit/fileapi/syncable/syncable_file_system_util_unittest.cc.

BUG=239710,240658
TEST=FileSystemURLTest.*,SyncableFileSystemTest.SyncableFileSystemURL_IsParent
R=tzik@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202372 0039d316-1c4b-4281-b951-d872f2087c98
Fix dependency: make file_system_util not depend on FileSystemURL

Move fileapi::AreSameFileSystem utility method to FileSystemURL.

BUG=239710
TEST=FileSystemURLTest.IsInSameFileSystem
R=tzik@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202373 0039d316-1c4b-4281-b951-d872f2087c98
ui/web_dialogs: Use base::string16 now that string16 was moved into base namespace.

base/string16.h was moved into base namespace in r191198 by Brett.

BUG=None
TBR=ben@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202374 0039d316-1c4b-4281-b951-d872f2087c98
Files.app: Fit the size of search box as its contents size.

This CL updated CSS and javascript to make the size of search box fit to its
contents size.  In the JavaScript funciton 'updateSearchBoxStyles_', we measure
the widht of search box text by using TextMeasure class and set the search box
size depending on the width.

TextMeasure class has a dummy span element. When measuring text size, it sets
the text to the dummy span element and obtains its size by using
getBoundingClientRect method.

This CL also added #search-icon and #search-clear-button elements. Originally
these UI parts are implemented as the background image and
-webkit-search-cancel-button of the serach box respectively. This way had a
trouble about rtl mode thus we need the specific selectors for the rtl mode. On
the other hands, current implementation can handle rtl mode without other
selectors.

BUG=241300, 239292
TEST=manually. rtl mode and legacy UI are also checked.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202375 0039d316-1c4b-4281-b951-d872f2087c98
Make tapted an owner of src/apps/app_shim.

BUG=None
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202376 0039d316-1c4b-4281-b951-d872f2087c98
Random clean up in c/b/cros/drive.

Use utility function for boilerplate test code. Fix typos.
Remove resolved TODO comments. Remove unused include, etc.

BUG=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202377 0039d316-1c4b-4281-b951-d872f2087c98
Automated Commit: Committing new LKGM version 4186.0.0 for chromeos.

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202378 0039d316-1c4b-4281-b951-d872f2087c98
Blink roll 151154:151171

http://build.chromium.org/f/chromium/perf/dashboard/ui/changelog_blink.html?url=/trunk&range=151155:151171&mode=html
TBR=
BUG=

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202380 0039d316-1c4b-4281-b951-d872f2087c98
Revert 191640 "[cros] Temporaly add logging to login screen for ..."

> [cros] Temporaly add logging to login screen for events dealing with action box.
> 
> We need this to understand the bug root on the link device (inaccessible locally).
> 
> BUG=224526
> TEST=none
> NOTRY=true
> 
> 
> Review URL: https://chromiumcodereview.appspot.com/13375014

TBR=glotov@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202382 0039d316-1c4b-4281-b951-d872f2087c98
Files.app: Bring back the offline feature.

This CL added the 'offline' directory to the directory tree and the test for offline feature.

BUG=238545
TEST=Open the file browser, ensure that the offline feature works

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202383 0039d316-1c4b-4281-b951-d872f2087c98
Replace sets with vectors when storing file handlers.

This caused undeterministic behavior in setting the default task, especially on ASAN bots. Moreover, it sounds reasonable to use order of handlers as priorities.

TEST=browser_tests on Linux ChromeOS ASAN pass.
BUG=243611, 242615

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202384 0039d316-1c4b-4281-b951-d872f2087c98
Using different ref files for WebRTC audio test on different platforms.

Depends on https://chromereviews.googleplex.com/8393013/.

BUG=226016
NOTRY=True

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

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