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 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
381 "name": "success", | 381 "name": "success", |
382 "type": "boolean", | 382 "type": "boolean", |
383 "optional": true, | 383 "optional": true, |
384 "description": "True of task execution was successfully initiate
d." | 384 "description": "True of task execution was successfully initiate
d." |
385 } | 385 } |
386 ] | 386 ] |
387 } | 387 } |
388 ] | 388 ] |
389 }, | 389 }, |
390 { | 390 { |
| 391 "name": "setDefaultTask", |
| 392 "description": "Sets default task.", |
| 393 "parameters": [ |
| 394 { |
| 395 "name": "taskId", |
| 396 "type": "string", |
| 397 "description": "The unique identifier of task to mark as default." |
| 398 }, |
| 399 { |
| 400 "name": "callback", |
| 401 "type": "function", |
| 402 "optional": true, |
| 403 "parameters": [] |
| 404 } |
| 405 ] |
| 406 }, |
| 407 { |
391 "name": "getFileTasks", | 408 "name": "getFileTasks", |
392 "description": "Gets the list of tasks that can be performed over select
ed files.", | 409 "description": "Gets the list of tasks that can be performed over select
ed files.", |
393 "parameters": [ | 410 "parameters": [ |
394 { | 411 { |
395 "name": "fileURLs", | 412 "name": "fileURLs", |
396 "type": "array", | 413 "type": "array", |
397 "description": "Array of selected file URLs", | 414 "description": "Array of selected file URLs", |
398 "items": { "type": "string" } | 415 "items": { "type": "string" } |
399 }, | 416 }, |
400 { | 417 { |
(...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1015 }, | 1032 }, |
1016 { | 1033 { |
1017 "name": "onNetworkConnectionChanged", | 1034 "name": "onNetworkConnectionChanged", |
1018 "type": "function", | 1035 "type": "function", |
1019 "description": "Fired when the active network connection state changes.
The network connection state can be retrieved via 'getNetworkConnectionState'.", | 1036 "description": "Fired when the active network connection state changes.
The network connection state can be retrieved via 'getNetworkConnectionState'.", |
1020 "parameters": [] | 1037 "parameters": [] |
1021 } | 1038 } |
1022 ] | 1039 ] |
1023 } | 1040 } |
1024 ] | 1041 ] |
OLD | NEW |