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." |
+ } |
+ ] |
+ } |
+ ] |
+ } |
+] |