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 }, |
11 "platforms": ["chromeos"], | 11 "platforms": ["chromeos"], |
12 "description": "none", | 12 "description": "none", |
13 "types": [ | 13 "types": [ |
14 { | 14 { |
15 "id": "WallpaperLayout", | 15 "id": "WallpaperLayout", |
16 "type": "string", | 16 "type": "string", |
17 "enum": [ "STRETCH", "CENTER", "CENTER_CROPPED" ] | 17 "enum": [ "STRETCH", "CENTER", "CENTER_CROPPED" ] |
18 } | 18 } |
19 ], | 19 ], |
20 "functions": [ | 20 "functions": [ |
21 { | 21 { |
22 "name": "getStrings", | 22 "name": "getStrings", |
23 "type": "function", | 23 "type": "function", |
24 "description": "Gets translated strings.", | 24 "description": "Gets translated strings and initialization data.", |
25 "nodoc": "true", | 25 "nodoc": "true", |
26 "parameters": [ | 26 "parameters": [ |
27 { | 27 { |
28 "type": "function", | 28 "type": "function", |
29 "name": "callback", | 29 "name": "callback", |
30 "parameters": [ | 30 "parameters": [ |
31 { | 31 { |
32 "name": "result", | 32 "name": "result", |
33 "type": "object", | 33 "type": "object", |
34 "additionalProperties": {"type": "string"} | 34 "additionalProperties": {"type": "any"} |
35 } | 35 } |
36 ] | 36 ] |
37 } | 37 } |
38 ] | 38 ] |
39 }, | 39 }, |
40 { | 40 { |
41 "name": "setWallpaperIfExists", | 41 "name": "setWallpaperIfExists", |
42 "type": "function", | 42 "type": "function", |
43 "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", |
44 "nodoc": "true", | 44 "nodoc": "true", |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 "name": "results", | 234 "name": "results", |
235 "items": {"type": "string"} | 235 "items": {"type": "string"} |
236 } | 236 } |
237 ] | 237 ] |
238 } | 238 } |
239 ] | 239 ] |
240 } | 240 } |
241 ] | 241 ] |
242 } | 242 } |
243 ] | 243 ] |
OLD | NEW |