Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Unified Diff: third_party/closure_compiler/externs/chrome_extensions.js

Issue 1679983003: Set wallpaper from right click menu in Files app. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add todo Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/closure_compiler/externs/chrome_extensions.js
diff --git a/third_party/closure_compiler/externs/chrome_extensions.js b/third_party/closure_compiler/externs/chrome_extensions.js
index ea1d2f249c8d6d976d10c14ddfef3dcfb59fcd61..418f0443a4d03de929118907ce964037e88043da 100644
--- a/third_party/closure_compiler/externs/chrome_extensions.js
+++ b/third_party/closure_compiler/externs/chrome_extensions.js
@@ -9159,3 +9159,26 @@ chrome.inlineInstallPrivate = {};
* (2) an error code in case of error
*/
chrome.inlineInstallPrivate.install = function(id, opt_callback) {};
+
Devlin 2016/02/17 18:19:36 We should instead be generating this from the json
ryoh 2016/02/19 05:31:27 IIRC, this file is generated from the file hosted
Devlin 2016/02/19 17:31:53 The closure compiler isn't automatically rolled -
+/**
+ * @const
+ * @see https://goo.gl/7dvJFW
+ */
+ //TODO(ryoh): this entry will be removed when closure compiler rolled up.
+chrome.wallpaper = {};
+
+/**
+ * Sets wallpaper to the image at url or wallpaperData with the specified
+ * layout.
+ * @param {{
+ * data: ArrayBuffer,
+ * url: (string|undefined),
+ * layout: string,
+ * filename: string,
+ * thumbnail: (boolean|undefined)
+ * }} details
+ * @param {function(ArrayBuffer=)} callback
+ *
+ */
+ //TODO(ryoh): this entry will be removed when closure compiler rolled up.
+chrome.wallpaper.setWallpaper;

Powered by Google App Engine
This is Rietveld 408576698