If the current wallpaper was set by a third party application, we should disable...
commitbba16e7a9323bca8d411ff5f51a94093d889df2b
authorxdai <xdai@chromium.org>
Tue, 17 Mar 2015 21:08:31 +0000 (17 14:08 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 17 Mar 2015 21:09:31 +0000 (17 21:09 +0000)
tree6b4facfa06f746a38ba8943109e0f2509e9872f9
parent745b66237eca67b22225941eb475ba8a995e1287
If the current wallpaper was set by a third party application, we should disable surprise me feature,
otherwise the wallpaper will still be changed periodically.

Also fix the issue that wallpaper picker application can't load the local resource:
chrome://resources/css/text_defaults.css.

BUG=466709
TEST=Manually tested

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

Cr-Commit-Position: refs/heads/master@{#320972}
chrome/browser/chromeos/extensions/wallpaper_api.cc
chrome/browser/resources/chromeos/wallpaper_manager/js/event_page.js
chrome/browser/resources/chromeos/wallpaper_manager/js/wallpaper_images_grid.js
chrome/browser/resources/chromeos/wallpaper_manager/js/wallpaper_manager.js
chrome/browser/resources/chromeos/wallpaper_manager/main.html
chrome/common/extensions/api/wallpaper_private.json