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

Side by Side 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: nits 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 [
6 {
7 "namespace":"experimental.wallpaperManager",
8 "nodoc": "true",
9 "functions": [
10 {
11 "name": "getStrings",
12 "type": "function",
13 "description": "Gets translated strings.",
14 "nodoc": "true",
15 "parameters": [
16 {
17 "type": "function",
18 "name": "callback",
19 "parameters": [
20 {
21 "name": "result",
22 "type": "object",
23 "additionalProperties": {"type": "string"}
24 }
25 ]
26 }
27 ]
28 },
29 {
30 "name": "setWallpaper",
31 "type": "function",
32 "description": "Sets wallpaper to the image from url with specified layo ut",
33 "nodoc": "true",
34 "parameters": [
35 {
36 "type": "string",
37 "name": "url"
38 },
39 {
40 "type": "string",
41 "name": "layout"
flackr 2012/07/12 19:26:12 Add "enum": ["list", "of", "acceptable", "values"]
bshe 2012/07/13 19:28:57 Done.
42 }
43 ]
44 }
45 ],
46 "events": [
47 {
48 "name": "onDownloadProgress",
49 "type": "function",
50 "description": "Fired when wallpaper downloading is in progress.",
51 "parameters": [
52 {
53 "name": "event",
54 "type": "object",
55 "description": "A simple event."
flackr 2012/07/12 19:26:12 This description is somewhat vague, see experiment
56 }
57 ]
58 },
59 {
60 "name": "onDownloadDone",
61 "type": "function",
62 "description": "Fired when wallpaper downloading is finished.",
63 "parameters": []
64 },
65 {
66 "name": "onDownloadError",
67 "type": "function",
68 "description": "Fired when wallpaper downloading has an error.",
69 "parameters": [
70 {
71 "name": "event",
72 "type": "object",
73 "description": "A simple event."
74 }
75 ]
76 }
77 ]
78 }
79 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698