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 { |
41 "name": "setWallpaperIfExists", | 60 "name": "setWallpaperIfExists", |
42 "type": "function", | 61 "type": "function", |
43 "description": "Sets wallpaper if it exists in the local file system wit
h specified layout", | 62 "description": "Sets wallpaper if it exists in the local file system wit
h specified layout", |
44 "nodoc": "true", | 63 "nodoc": "true", |
45 "parameters": [ | 64 "parameters": [ |
46 { | 65 { |
47 "type": "string", | 66 "type": "string", |
48 "name": "url" | 67 "name": "url" |
49 }, | 68 }, |
50 { | 69 { |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 "name": "results", | 253 "name": "results", |
235 "items": {"type": "string"} | 254 "items": {"type": "string"} |
236 } | 255 } |
237 ] | 256 ] |
238 } | 257 } |
239 ] | 258 ] |
240 } | 259 } |
241 ] | 260 ] |
242 } | 261 } |
243 ] | 262 ] |
OLD | NEW |