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

Side by Side Diff: third_party/chrome/idl/wallpaper_private.json

Issue 12261015: Import chrome idl into third_party (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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
« no previous file with comments | « third_party/chrome/idl/usb.idl ('k') | third_party/chrome/idl/web_navigation.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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":"wallpaperPrivate",
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": "setWallpaperIfExist",
31 "type": "function",
32 "description": "Sets wallpaper if it exists in the local file system wit h specified layout",
33 "nodoc": "true",
34 "parameters": [
35 {
36 "type": "string",
37 "name": "url"
38 },
39 {
40 "type": "string",
41 "name": "layout",
42 "enum": [ "STRETCH", "CENTER", "CENTER_CROPPED"]
43 },
44 {
45 "type": "function",
46 "name": "callback",
47 "parameters": []
48 }
49 ]
50 },
51 {
52 "name": "setWallpaper",
53 "type": "function",
54 "description": "Sets wallpaper to the image from url with specified layo ut",
55 "nodoc": "true",
56 "parameters": [
57 {
58 "type": "binary",
59 "name": "wallpaper"
60 },
61 {
62 "type": "string",
63 "name": "layout",
64 "enum": [ "STRETCH", "CENTER", "CENTER_CROPPED"]
65 },
66 {
67 "type": "string",
68 "name": "url"
69 },
70 {
71 "type": "function",
72 "name": "callback",
73 "parameters": []
74 }
75 ]
76 },
77 {
78 "name": "setCustomWallpaper",
79 "type": "function",
80 "description": "Sets wallpaper to the image from local file with specifi ed layout",
81 "nodoc": "true",
82 "parameters": [
83 {
84 "type": "binary",
85 "name": "wallpaper"
86 },
87 {
88 "type": "string",
89 "name": "layout",
90 "enum": [ "STRETCH", "CENTER", "CENTER_CROPPED"]
91 },
92 {
93 "type": "function",
94 "name": "callback",
95 "parameters": []
96 }
97 ]
98 },
99 {
100 "name": "minimizeInactiveWindows",
101 "type": "function",
102 "description": "Minimizes all inactive open windows.",
103 "nodoc": "true",
104 "parameters": []
105 },
106 {
107 "name": "restoreMinimizedWindows",
108 "type": "function",
109 "description": "Restores all previously minimized windows.",
110 "nodoc": "true",
111 "parameters": []
112 },
113 {
114 "name": "getThumbnail",
115 "type": "function",
116 "description": "Gets thumbnail of wallpaper from thumbnail directory.",
117 "nodoc": "true",
118 "parameters": [
119 {
120 "type": "string",
121 "name": "url",
122 "description": "Wallpaper url."
123 },
124 {
125 "type": "function",
126 "name": "callback",
127 "description": "Function called upon completion.",
128 "parameters": [
129 {
130 "type": "binary",
131 "name": "data",
132 "optional": true,
133 "description": "The binary data of loaded thumbnail."
134 }
135 ]
136 }
137 ]
138 },
139 {
140 "name": "saveThumbnail",
141 "type": "function",
142 "description": "Saves thumbnail to thumbnail directory.",
143 "nodoc": "true",
144 "parameters": [
145 {
146 "type": "string",
147 "name": "url",
148 "description": "Wallpaper url."
149 },
150 {
151 "type": "binary",
152 "name": "data",
153 "description": "The binary data of downloaded thumbnail."
154 },
155 {
156 "type": "function",
157 "name": "callback",
158 "description": "Function called upon completion.",
159 "parameters": [],
160 "optional": true
161 }
162 ]
163 },
164 {
165 "name": "getOfflineWallpaperList",
166 "type": "function",
167 "description": "Get the list of file names of downloaded wallpapers.",
168 "nodoc": "true",
169 "parameters": [
170 {
171 "type": "function",
172 "name": "callback",
173 "description": "Function called upon completion.",
174 "parameters": [
175 {
176 "type": "array",
177 "name": "results",
178 "items": {"type": "string"}
179 }
180 ]
181 }
182 ]
183 }
184 ]
185 }
186 ]
OLDNEW
« no previous file with comments | « third_party/chrome/idl/usb.idl ('k') | third_party/chrome/idl/web_navigation.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698