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 "nodoc": "true", | 8 "nodoc": "true", |
9 "functions": [ | 9 "functions": [ |
10 { | 10 { |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 "description": "Minimizes all inactive open windows.", | 80 "description": "Minimizes all inactive open windows.", |
81 "nodoc": "true", | 81 "nodoc": "true", |
82 "parameters": [] | 82 "parameters": [] |
83 }, | 83 }, |
84 { | 84 { |
85 "name": "restoreMinimizedWindows", | 85 "name": "restoreMinimizedWindows", |
86 "type": "function", | 86 "type": "function", |
87 "description": "Restores all previously minimized windows.", | 87 "description": "Restores all previously minimized windows.", |
88 "nodoc": "true", | 88 "nodoc": "true", |
89 "parameters": [] | 89 "parameters": [] |
| 90 }, |
| 91 { |
| 92 "name": "getThumbnail", |
| 93 "type": "function", |
| 94 "description": "Gets thumbnail of wallpaper from thumbnail directory.", |
| 95 "nodoc": "true", |
| 96 "parameters": [ |
| 97 { |
| 98 "type": "string", |
| 99 "name": "url", |
| 100 "description": "Wallpaper url." |
| 101 }, |
| 102 { |
| 103 "type": "function", |
| 104 "name": "callback", |
| 105 "description": "Function called upon completion.", |
| 106 "parameters": [ |
| 107 { |
| 108 "type": "binary", |
| 109 "name": "data", |
| 110 "optional": true, |
| 111 "description": "The binary data of loaded thumbnail." |
| 112 } |
| 113 ] |
| 114 } |
| 115 ] |
| 116 }, |
| 117 { |
| 118 "name": "saveThumbnail", |
| 119 "type": "function", |
| 120 "description": "Saves thumbnail to thumbnail directory.", |
| 121 "nodoc": "true", |
| 122 "parameters": [ |
| 123 { |
| 124 "type": "string", |
| 125 "name": "url", |
| 126 "description": "Wallpaper url." |
| 127 }, |
| 128 { |
| 129 "type": "binary", |
| 130 "name": "data", |
| 131 "description": "The binary data of downloaded thumbnail." |
| 132 }, |
| 133 { |
| 134 "type": "function", |
| 135 "name": "callback", |
| 136 "description": "Function called upon completion.", |
| 137 "parameters": [], |
| 138 "optional": true |
| 139 } |
| 140 ] |
90 } | 141 } |
91 ] | 142 ] |
92 } | 143 } |
93 ] | 144 ] |
OLD | NEW |