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":"fileBrowserPrivate", | 7 "namespace":"fileBrowserPrivate", |
8 "description": "none", | 8 "description": "none", |
9 "types": [ | 9 "types": [ |
10 { | 10 { |
(...skipping 1155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1166 "type": "function", | 1166 "type": "function", |
1167 "parameters": [ | 1167 "parameters": [ |
1168 { | 1168 { |
1169 "name": "shareUrl", | 1169 "name": "shareUrl", |
1170 "type": "string", | 1170 "type": "string", |
1171 "description": "Share Url for the sharing dialog." | 1171 "description": "Share Url for the sharing dialog." |
1172 } | 1172 } |
1173 ] | 1173 ] |
1174 } | 1174 } |
1175 ] | 1175 ] |
1176 }, | |
1177 { | |
1178 "name": "installWebstoreItem", | |
1179 "type": "function", | |
1180 "description": "Requests to install a webstore item.", | |
1181 "parameters": [ | |
1182 { | |
1183 "name": "item_id", | |
1184 "type": "string", | |
1185 "description": "The id of the item to install." | |
1186 }, | |
1187 { | |
1188 "name": "callback", | |
1189 "type": "function", | |
1190 "parameters": [ | |
1191 { | |
1192 "type": "object", | |
1193 "properties": { | |
hashimoto
2013/08/30 09:09:37
I couldn't find C++ code to set these params.
This
hashimoto
2013/08/30 09:59:21
ping?
yoshiki
2013/08/30 10:04:25
Sorry. They are no longer used. Removed.
| |
1194 "result": { | |
1195 "type": "boolean", | |
1196 "description": "True if the item is installed. False if fail ed or aborted." | |
1197 }, | |
1198 "error": { | |
1199 "type": "string", | |
1200 "optional": true, | |
1201 "description": "Reason of failure." | |
1202 } | |
1203 } | |
1204 } | |
1205 ] | |
1206 } | |
1207 ] | |
1176 } | 1208 } |
1177 ], | 1209 ], |
1178 "events": [ | 1210 "events": [ |
1179 { | 1211 { |
1180 "name": "onMountCompleted", | 1212 "name": "onMountCompleted", |
1181 "type": "function", | 1213 "type": "function", |
1182 "description": "Fired when mount event is detected.", | 1214 "description": "Fired when mount event is detected.", |
1183 "parameters": [ | 1215 "parameters": [ |
1184 { | 1216 { |
1185 "$ref": "MountCompletedEvent", | 1217 "$ref": "MountCompletedEvent", |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1221 }, | 1253 }, |
1222 { | 1254 { |
1223 "name": "onDriveConnectionStatusChanged", | 1255 "name": "onDriveConnectionStatusChanged", |
1224 "type": "function", | 1256 "type": "function", |
1225 "description": "Fired when the active network connection state changes. The network connection state can be retrieved via 'getDriveConnectionState'.", | 1257 "description": "Fired when the active network connection state changes. The network connection state can be retrieved via 'getDriveConnectionState'.", |
1226 "parameters": [] | 1258 "parameters": [] |
1227 } | 1259 } |
1228 ] | 1260 ] |
1229 } | 1261 } |
1230 ] | 1262 ] |
OLD | NEW |