Add "Offline" root in the left nav of Files App.

The files view for "Offline" is implemented as a search.
Changing current directory to the fake "Offline" invokes a DirectoryContentsDriveOffline search.
The specialized search traverses the tree in "My Drive" and shows the files available offline.
All done in JS and the logic is encapsulated within DirectoryModel and DirectoryContents.

BUG=168742
TEST=Open "Offline" in Files App and verify that the files available offline are listed.


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183017 0039d316-1c4b-4281-b951-d872f2087c98
WebKit roll 143036->143105

TBR=toyoshim@chromium.org
BUG=none


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183018 0039d316-1c4b-4281-b951-d872f2087c98
Shrink QueryTracker when freeing everything

Before this, FreeEverything wouldn't free the shm associated with the
QueryTracker, even when all queries have been deleted. shm being at a 2MB
granularity, it leaves at least 2MB of shm per page. This fixes it.

It removes the bucketing of QuerySyncs. The rationale is that the
MappedMemoryManager already does pooling in shm chunks, and one extra level of
pooling seems redundant.

BUG=None


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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183020 0039d316-1c4b-4281-b951-d872f2087c98
Replace FilePath with base::FilePath.

This is im preparation for removing the 'using" in file_path.h

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

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183027 0039d316-1c4b-4281-b951-d872f2087c98
Enabled WebRTC audio test on Windows.


TESTED=Locally
NOTRY=True

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183035 0039d316-1c4b-4281-b951-d872f2087c98
Make npapi_test_plugin build on Win64

Just made some timer callback signatures and a type 64-bit safe.

BUG=166496
R=bauerb@chromium.org
Review URL: https://codereview.chromium.org/12298002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183036 0039d316-1c4b-4281-b951-d872f2087c98
chromeos: Implement async version of CryptohomeClient::Tpm* methods

Implement new async version TPM methods.
Existing blocking version methods are renamed to Call*AndBlock.
Blocking version methods will be removed in near future after all users finsh switching to the async version.

BUG=141010, 141011, 141012


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183038 0039d316-1c4b-4281-b951-d872f2087c98
views: Dispatch mouse events using EventDispatch interface too.

Some of the notable changes:
 * View::OnMouseEntered and OnMouseExited functions will now be triggered with
   the correct event-types (i.e. ET_MOUSE_ENTERED and ET_MOUSE_EXITED). These
   used to be triggered with ET_MOUSE_MOVED before.
 * Introduce View::GetDragInfo(). This allows a View to reach into the
   RootView's drag_info and update it as necessary for dragging.
 * View override of OnMouseEvent() triggers the appropriate callback (e.g.
   OnMousePressed, OnMouseRelease etc.), instead of the RootView directly
   calling into these methods.

BUG=173235

(Previously committed in r182804, and reverted in r182864 because it broke some tests)

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183039 0039d316-1c4b-4281-b951-d872f2087c98
Ensure top controls can be reshown if hidden on small nonscrollable pages.

TEST=Open file from bug and ensure controls can be shown again.
BUG=176398


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183040 0039d316-1c4b-4281-b951-d872f2087c98
Make content_tests build on Win64

Just some c4267 warning suppressions.

BUG=166496
BUG=167187
TBR=jam@chromium.org
R=jam@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183041 0039d316-1c4b-4281-b951-d872f2087c98
Make mock_nacl_gdb build on Win64

Just a c4267 suppression.

BUG=166496
BUG=167187
R=bradnelson@chromium.org
TBR=bradnelson@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183042 0039d316-1c4b-4281-b951-d872f2087c98
Disable "using base::FilePath" on Linux since it now compiles.

This keeps the using for other platforms temporarily. This patch is to "stop
the bleeding" since new conflicts are added every day. The other platforms will
be fixed in followup patches.

This also adds an exception for the MTPD code which has a circular dependency
on FilePath.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183043 0039d316-1c4b-4281-b951-d872f2087c98
The GTK "create application shortcuts" dialog now uses common icon loading code.

Creating shortcuts on Linux now installs icons for the app at all supported
resolutions, not just at the highest resolution. This is done by delegating to
web_app::UpdateShortcutInfoAndIconForApp instead of having custom (and less
sophisticated) icon loading code.

BUG=175034


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183045 0039d316-1c4b-4281-b951-d872f2087c98
[win] Update the style of app window controls to match Windows 8.

e.g. http://i.imgur.com/DUjx3eB.png

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183046 0039d316-1c4b-4281-b951-d872f2087c98
views: Make sure the mouse-enter event has the correct location.

This is an attempt at fixing the interactive-ui-tests failure.

BUG=173235
TBR=ben@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183047 0039d316-1c4b-4281-b951-d872f2087c98
Fix widevine integration by using the base namespace for FilePath.

This fixes a build error from my previous checking r183043

TBR=xhwang@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183048 0039d316-1c4b-4281-b951-d872f2087c98
browser: Move the rest of application_lifetime.h into chrome namespace.

BUG=133088
TBR=ben@chromium.org

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

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