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 "nodoc": "true", | 8 "nodoc": "true", |
9 "types": [ | 9 "types": [ |
10 { | 10 { |
(...skipping 1011 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1022 "name": "clearDriveCache", | 1022 "name": "clearDriveCache", |
1023 "description": "Clear all GData local caches.", | 1023 "description": "Clear all GData local caches.", |
1024 "parameters": [] | 1024 "parameters": [] |
1025 }, | 1025 }, |
1026 { | 1026 { |
1027 "name": "reloadDrive", | 1027 "name": "reloadDrive", |
1028 "description": "Reload the filesystem metadata from the server immediate
ly.", | 1028 "description": "Reload the filesystem metadata from the server immediate
ly.", |
1029 "parameters": [] | 1029 "parameters": [] |
1030 }, | 1030 }, |
1031 { | 1031 { |
| 1032 "name": "zipSelection", |
| 1033 "description": "Create a zip file for the selected files.", |
| 1034 "parameters": [ |
| 1035 { |
| 1036 "name": "dirURL", |
| 1037 "type": "string", |
| 1038 "description": "URL of the directory containing the selected files." |
| 1039 }, |
| 1040 { |
| 1041 "name": "selectionURLs", |
| 1042 "type": "array", |
| 1043 "description": "URLs of the selected files. Must be under the direct
ory specified by dirURL.", |
| 1044 "items": { "type": "string" } |
| 1045 }, |
| 1046 { |
| 1047 "name": "destName", |
| 1048 "type": "string", |
| 1049 "description": "Name of the destination zip file. The zip file will
be created under the directory specified by dirURL." |
| 1050 }, |
| 1051 { |
| 1052 "name": "callback", |
| 1053 "type": "function", |
| 1054 "optional": true, |
| 1055 "parameters": [] |
| 1056 } |
| 1057 ] |
| 1058 }, |
| 1059 { |
1032 "name": "getNetworkConnectionState", | 1060 "name": "getNetworkConnectionState", |
1033 "description": "Retrieves the state of the currently active network conn
ection.", | 1061 "description": "Retrieves the state of the currently active network conn
ection.", |
1034 "parameters": [ | 1062 "parameters": [ |
1035 { | 1063 { |
1036 "name": "callback", | 1064 "name": "callback", |
1037 "type": "function", | 1065 "type": "function", |
1038 "parameters": [ | 1066 "parameters": [ |
1039 { | 1067 { |
1040 "name": "result", | 1068 "name": "result", |
1041 "type": "object", | 1069 "type": "object", |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1130 }, | 1158 }, |
1131 { | 1159 { |
1132 "name": "onNetworkConnectionChanged", | 1160 "name": "onNetworkConnectionChanged", |
1133 "type": "function", | 1161 "type": "function", |
1134 "description": "Fired when the active network connection state changes.
The network connection state can be retrieved via 'getNetworkConnectionState'.", | 1162 "description": "Fired when the active network connection state changes.
The network connection state can be retrieved via 'getNetworkConnectionState'.", |
1135 "parameters": [] | 1163 "parameters": [] |
1136 } | 1164 } |
1137 ] | 1165 ] |
1138 } | 1166 } |
1139 ] | 1167 ] |
OLD | NEW |