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

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

Issue 10754014: Wallpaper manager backend APIs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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/experimental_wallpaper_manager.json
diff --git a/chrome/common/extensions/api/experimental_wallpaper_manager.json b/chrome/common/extensions/api/experimental_wallpaper_manager.json
new file mode 100644
index 0000000000000000000000000000000000000000..bf17c2df9f512c58b56b92bf8990c1e191cb8f22
--- /dev/null
+++ b/chrome/common/extensions/api/experimental_wallpaper_manager.json
@@ -0,0 +1,75 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+[
+ {
+ "namespace":"experimental.wallpaperManager",
+ "nodoc": "true",
+ "functions": [
+ {
+ "name": "getStrings",
+ "type": "function",
+ "description": "Gets Strings.",
+ "nodoc": "true",
+ "parameters": [
+ {
+ "type": "function",
+ "name": "callback",
+ "parameters": [
+ {
+ "name": "result",
+ "type": "object",
+ "additionalProperties": {"type": "string"}
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name": "setWallpaper",
+ "type": "function",
+ "description": "Sets wallpaper to the given url.",
+ "nodoc": "true",
+ "parameters": [
+ {
+ "type": "string",
+ "name": "url"
+ }
+ ]
+ }
+ ],
+ "events": [
+ {
+ "name": "onDownloadProgress",
+ "type": "function",
+ "description": "Fired when wallpaper downloading is in progress.",
+ "parameters": [
+ {
+ "name": "event",
+ "type": "object",
+ "description": "A simple event."
+ }
+ ]
+ },
+ {
+ "name": "onDownloadDone",
+ "type": "function",
+ "description": "Fired when wallpaper downloading is finished.",
+ "parameters": []
+ },
+ {
+ "name": "onDownloadError",
+ "type": "function",
+ "description": "Fired when wallpaper downloading has an error.",
+ "parameters": [
+ {
+ "name": "event",
+ "type": "object",
+ "description": "A simple event."
+ }
+ ]
+ }
+ ]
+ }
+]

Powered by Google App Engine
This is Rietveld 408576698