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

Unified Diff: chrome/common/extensions/api/wallpaper_private.json

Issue 12334030: New custom wallpaper picker UI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reviews Created 7 years, 9 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: chrome/common/extensions/api/wallpaper_private.json
diff --git a/chrome/common/extensions/api/wallpaper_private.json b/chrome/common/extensions/api/wallpaper_private.json
index 6a5168d46cc748a30a53855772c50600fc2ee36f..8cca902c4dd78acb27cdb74348acbb480ceb1495 100644
--- a/chrome/common/extensions/api/wallpaper_private.json
+++ b/chrome/common/extensions/api/wallpaper_private.json
@@ -86,7 +86,7 @@
{
"name": "setCustomWallpaper",
"type": "function",
- "description": "Sets wallpaper to the image from local file with specified layout",
+ "description": "Sets wallpaper to the image from local file with specified layout and returns thumbnail if needed.",
"nodoc": "true",
"parameters": [
{
@@ -99,12 +99,22 @@
"enum": [ "STRETCH", "CENTER", "CENTER_CROPPED" ]
},
{
+ "type": "boolean",
+ "name": "generateThumbnail",
+ "description": "If true, callback should have a binary thumbnail."
+ },
+ {
+ "type": "string",
+ "name": "fileName"
+ },
+ {
"type": "function",
"name": "callback",
"parameters": [
{
- "type": "string",
- "name": "fileName"
+ "type": "binary",
+ "optional": true,
+ "name": "thumbnail"
}
]
}

Powered by Google App Engine
This is Rietveld 408576698