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 "platforms": ["chromeos"], | 9 "platforms": ["chromeos"], |
10 "types": [ | 10 "types": [ |
(...skipping 1114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1125 "type": "function", | 1125 "type": "function", |
1126 "parameters": [ | 1126 "parameters": [ |
1127 { | 1127 { |
1128 "name": "shareUrl", | 1128 "name": "shareUrl", |
1129 "type": "string", | 1129 "type": "string", |
1130 "description": "Share Url for the sharing dialog." | 1130 "description": "Share Url for the sharing dialog." |
1131 } | 1131 } |
1132 ] | 1132 ] |
1133 } | 1133 } |
1134 ] | 1134 ] |
| 1135 }, |
| 1136 { |
| 1137 "name": "installWebstoreItem", |
| 1138 "type": "function", |
| 1139 "description": "Requests to install a webstore item.", |
| 1140 "parameters": [ |
| 1141 { |
| 1142 "name": "item_id", |
| 1143 "type": "string", |
| 1144 "description": "The id of the item to install." |
| 1145 }, |
| 1146 { |
| 1147 "name": "callback", |
| 1148 "type": "function", |
| 1149 "parameters": [] |
| 1150 } |
| 1151 ] |
1135 } | 1152 } |
1136 ], | 1153 ], |
1137 "events": [ | 1154 "events": [ |
1138 { | 1155 { |
1139 "name": "onMountCompleted", | 1156 "name": "onMountCompleted", |
1140 "type": "function", | 1157 "type": "function", |
1141 "description": "Fired when mount event is detected.", | 1158 "description": "Fired when mount event is detected.", |
1142 "parameters": [ | 1159 "parameters": [ |
1143 { | 1160 { |
1144 "$ref": "MountCompletedEvent", | 1161 "$ref": "MountCompletedEvent", |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1180 }, | 1197 }, |
1181 { | 1198 { |
1182 "name": "onDriveConnectionStatusChanged", | 1199 "name": "onDriveConnectionStatusChanged", |
1183 "type": "function", | 1200 "type": "function", |
1184 "description": "Fired when the active network connection state changes.
The network connection state can be retrieved via 'getDriveConnectionState'.", | 1201 "description": "Fired when the active network connection state changes.
The network connection state can be retrieved via 'getDriveConnectionState'.", |
1185 "parameters": [] | 1202 "parameters": [] |
1186 } | 1203 } |
1187 ] | 1204 ] |
1188 } | 1205 } |
1189 ] | 1206 ] |
OLD | NEW |