diff options
author | bshe@chromium.org <bshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-12 17:27:08 +0000 |
---|---|---|
committer | bshe@chromium.org <bshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-12 17:27:08 +0000 |
commit | 1189bcd73f2da3d740ca0fb4bd0deb34ae17687d (patch) | |
tree | 1887538b0b997f5cdd9010fd3ff80ac4a6de31c6 /tools | |
parent | 64aaec55cf484c3e53d27d093bd2c81baf193afe (diff) | |
download | chromium_src-1189bcd73f2da3d740ca0fb4bd0deb34ae17687d.zip chromium_src-1189bcd73f2da3d740ca0fb4bd0deb34ae17687d.tar.gz chromium_src-1189bcd73f2da3d740ca0fb4bd0deb34ae17687d.tar.bz2 |
Add chrome.wallpaper.setWallpaper API to dev channel
Usage: chrome.wallpaper.setWallpaper(details, callback)
details = {
'wallpaperData': // the jpeg or png encoded wallpaper
'layout': // wallpaper layout
'name': // file name of saved wallpaper
'thumbnail': // true if generate thumbnail
}
callback = function (opt_thumbnail) {}
Note: This is not our final version API. It currently only support
set wallpaper through wallpaperData(binary data). Some follow up CLs
will extend this API to take URL, file path directly.
BUG=285296
Review URL: https://chromiumcodereview.appspot.com/23536024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222799 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rw-r--r-- | tools/metrics/histograms/histograms.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml index 84b6c97..6c12cbd 100644 --- a/tools/metrics/histograms/histograms.xml +++ b/tools/metrics/histograms/histograms.xml @@ -20429,6 +20429,7 @@ other types of suffix sets. <int value="516" label="INFOBARS_SHOW"/> <int value="517" label="VIRTUALKEYBOARDPRIVATE_MOVECURSOR"/> <int value="518" label="AUTOTESTPRIVATE_SIMULATEASANMEMORYBUG"/> + <int value="519" label="WALLPAPER_SETWALLPAPER"/> </enum> <enum name="ExtensionInstallCause" type="int"> |