Disable the idle handler timer when no action is expected.

On Android, the webkit timer are disabled after the application is in
the background for 5 minutes. When this happens, there is no reason to
let the idle handler timer run indefinitly. This CL disables the timer
once v8 reported that it will not take any further action.

BUG=333875

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245908 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 245908
Files.app: Remove DEFAULT_MOUNT_PATH.

After introducing per-profile paths, the download directory is no longer
'/Downloads'.

BUG=336101
TEST=manually

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245909 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 245909
Remove all exclude rules that filename_rules.gypi already handles.

BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245910 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 245910
Do not set the user's avatar image to a stub twice in a row

This CL contains a small clean-up missed in CL 136763003. The user avatar
image is needlessly being set to a stub twice in a row.

BUG=331365
TEST=None

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245911 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 245911
Revert https://codereview.chromium.org/105673008/ because the CL was causing a crash (http://crbug.com/335068)

BUG=335068
TEST=Crash stops occuring
TBR=pkotwicz

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245913 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 245913
Move importer unit tests from the production target to the unit test target

o_O

TBR=scottmg@chromium.org
R=vegorov@chromium.org
BUG=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245914 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 245914
Updating trunk VERSION from 1796.0 to 1797.0

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245918 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 245918
gesture: Remove unnecessary function from the exposed API.

BUG=none
R=tdresser@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245924 0039d316-1c4b-4281-b951-d872f2087c98
WallpaperLoader should inform caller that load request is finished.

There are several problems with wallpaper loading:
1) WallpaperLoader is asynchronous, but exposes synchronous API. Therefore callers do not know when request is finished and whether it is completed or not.

2) WallpaperLoader doesn't have "rate limit" on SetWallpaper requests, therefore it is implemented outside of it (currently in JS). Taking into account the fact that caller has no way to know the result of request, this mechanism leads to stuck wallpaper, or even to blocked UI.

This CL introduces:
1) A callback is passed along with load request to WallpaperLoader to get "Finished" event.

2) Wallpaper load scheduler in WallpaperManager to "rate limit" load requests. It has automatic load delay management so that most SetUserWallpaper() requests would become immediate. But delay is automatically adjusted to the average of several last load attempts.


BUG=333809
TEST=manual

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245925 0039d316-1c4b-4281-b951-d872f2087c98
Blink roll 165372:165400

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245926 0039d316-1c4b-4281-b951-d872f2087c98
events: Remove unused IsMouseEvent() function.

BUG=none
R=sky@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245927 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 245925
Temporary fix for telemetry builds

Until we get the swapimport tool up and running on x64 builds of Windows.

BUG=335945,336025

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

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