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

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

Issue 10890038: Hook up custom wallpaper code path to new wallpaper picker. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to trunk Created 8 years, 3 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
« no previous file with comments | « chrome/browser/resources/chromeos/wallpaper_manager/main.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 8de1464c26343d199a6874f9eb39b1d7b6479938..c4efae6d2895f43eb23bcf3baa4277063e244d10 100644
--- a/chrome/common/extensions/api/wallpaper_private.json
+++ b/chrome/common/extensions/api/wallpaper_private.json
@@ -46,6 +46,23 @@
"name": "url"
}
]
+ },
+ {
+ "name": "setCustomWallpaper",
+ "type": "function",
+ "description": "Sets wallpaper to the image from local file with specified layout",
+ "nodoc": "true",
+ "parameters": [
+ {
+ "type": "binary",
+ "name": "wallpaper"
+ },
+ {
+ "type": "string",
+ "name": "layout",
+ "enum": [ "STRETCH", "CENTER", "CENTER_CROPPED"]
+ }
+ ]
}
]
}
« no previous file with comments | « chrome/browser/resources/chromeos/wallpaper_manager/main.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698