Index: ui/file_manager/externs/chrome_wallpaper.js |
diff --git a/ui/file_manager/externs/chrome_wallpaper.js b/ui/file_manager/externs/chrome_wallpaper.js |
index f5ffa4ff6feaf93e4da5491438f2962d35e2dba4..f02363c638cd4beb3beff91a394707bd1b4b7396 100644 |
--- a/ui/file_manager/externs/chrome_wallpaper.js |
+++ b/ui/file_manager/externs/chrome_wallpaper.js |
@@ -7,22 +7,32 @@ |
* @see https://codereview.chromium.org/1679983003/ |
*/ |
/** |
- * @const |
- * @see https://goo.gl/7dvJFW |
- */ |
-chrome.wallpaper = {}; |
+ * @const |
fukino
2016/02/29 05:51:43
nit: every line has a leading space. please remove
ryoh
2016/02/29 05:54:52
Done.
|
+ * @see https://goo.gl/7dvJFW |
+ */ |
+ chrome.wallpaper = {}; |
-/** |
- * Sets wallpaper to the image at url or wallpaperData with the specified |
- * layout. |
- * @param {{ |
- * data: (ArrayBuffer|undefined), |
- * url: (string|undefined), |
- * layout: string, |
- * filename: string, |
- * thumbnail: (boolean|undefined) |
- * }} details |
- * @param {function(ArrayBuffer=)} callback |
- * |
- */ |
- chrome.wallpaper.setWallpaper = function(details, callback) {}; |
+ /** |
+ * @enum {string} |
+ * @see https://goo.gl/7dvJFW#type-WallpaperLayout |
+ */ |
+ chrome.wallpaper.WallpaperLayout = { |
+ STRETCH: '', |
+ CENTER: '', |
+ CENTER_CROPPED: '', |
+ }; |
+ |
+ /** |
+ * Sets wallpaper to the image at url or wallpaperData with the specified |
+ * layout. |
+ * @param {{ |
+ * data: (ArrayBuffer|undefined), |
+ * url: (string|undefined), |
+ * layout: (chrome.wallpaper.WallpaperLayout|string), |
+ * filename: string, |
+ * thumbnail: (boolean|undefined) |
+ * }} details |
+ * @param {function(ArrayBuffer=)} callback |
+ * @see https://goo.gl/7dvJFW#method-setWallpaper |
+ */ |
+ chrome.wallpaper.setWallpaper = function(details, callback) {}; |