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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 "name": "url" | 82 "name": "url" |
83 }, | 83 }, |
84 { | 84 { |
85 "type": "function", | 85 "type": "function", |
86 "name": "callback", | 86 "name": "callback", |
87 "parameters": [] | 87 "parameters": [] |
88 } | 88 } |
89 ] | 89 ] |
90 }, | 90 }, |
91 { | 91 { |
| 92 "name": "resetWallpaper", |
| 93 "type": "function", |
| 94 "description": "Clears current user's active custom wallpaper and change
s to default wallpaper.", |
| 95 "nodoc": "true", |
| 96 "parameters": [] |
| 97 }, |
| 98 { |
92 "name": "setCustomWallpaper", | 99 "name": "setCustomWallpaper", |
93 "type": "function", | 100 "type": "function", |
94 "description": "Sets wallpaper to the image from local file with specifi
ed layout and returns thumbnail if needed.", | 101 "description": "Sets wallpaper to the image from local file with specifi
ed layout and returns thumbnail if needed.", |
95 "nodoc": "true", | 102 "nodoc": "true", |
96 "parameters": [ | 103 "parameters": [ |
97 { | 104 { |
98 "type": "binary", | 105 "type": "binary", |
99 "name": "wallpaper" | 106 "name": "wallpaper" |
100 }, | 107 }, |
101 { | 108 { |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 "name": "results", | 241 "name": "results", |
235 "items": {"type": "string"} | 242 "items": {"type": "string"} |
236 } | 243 } |
237 ] | 244 ] |
238 } | 245 } |
239 ] | 246 ] |
240 } | 247 } |
241 ] | 248 ] |
242 } | 249 } |
243 ] | 250 ] |
OLD | NEW |