OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 [ | 5 [ |
6 { | 6 { |
7 "namespace":"wallpaperPrivate", | 7 "namespace":"wallpaperPrivate", |
8 "compiler_options": { | 8 "compiler_options": { |
9 "implemented_in": "chrome/browser/chromeos/extensions/wallpaper_private_ap
i.h" | 9 "implemented_in": "chrome/browser/chromeos/extensions/wallpaper_private_ap
i.h" |
10 }, | 10 }, |
(...skipping 20 matching lines...) Expand all Loading... |
31 { | 31 { |
32 "name": "result", | 32 "name": "result", |
33 "type": "object", | 33 "type": "object", |
34 "additionalProperties": {"type": "any"} | 34 "additionalProperties": {"type": "any"} |
35 } | 35 } |
36 ] | 36 ] |
37 } | 37 } |
38 ] | 38 ] |
39 }, | 39 }, |
40 { | 40 { |
41 "name": "getSyncSetting", | |
42 "type": "function", | |
43 "description": "Gets the sync themes(and wallpaper on ChromeOS) setting
value.", | |
44 "nodoc": "true", | |
45 "parameters": [ | |
46 { | |
47 "type": "function", | |
48 "name": "callback", | |
49 "parameters": [ | |
50 { | |
51 "name": "result", | |
52 "type": "object", | |
53 "additionalProperties": {"type": "any"} | |
54 } | |
55 ] | |
56 } | |
57 ] | |
58 }, | |
59 { | |
60 "name": "setWallpaperIfExists", | 41 "name": "setWallpaperIfExists", |
61 "type": "function", | 42 "type": "function", |
62 "description": "Sets wallpaper if it exists in the local file system wit
h specified layout", | 43 "description": "Sets wallpaper if it exists in the local file system wit
h specified layout", |
63 "nodoc": "true", | 44 "nodoc": "true", |
64 "parameters": [ | 45 "parameters": [ |
65 { | 46 { |
66 "type": "string", | 47 "type": "string", |
67 "name": "url" | 48 "name": "url" |
68 }, | 49 }, |
69 { | 50 { |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 "name": "results", | 234 "name": "results", |
254 "items": {"type": "string"} | 235 "items": {"type": "string"} |
255 } | 236 } |
256 ] | 237 ] |
257 } | 238 } |
258 ] | 239 ] |
259 } | 240 } |
260 ] | 241 ] |
261 } | 242 } |
262 ] | 243 ] |
OLD | NEW |