OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 [ | |
6 { | |
7 "namespace":"fileBrowserHandler", | |
8 "types": [ | |
9 { | |
10 "id": "FileHandlerExecuteEventDetails", | |
11 "type": "object", | |
12 "description": "Event details payload for fileBrowserHandler.onExecute e
vent.", | |
13 "properties": { | |
14 "entries": { | |
15 "type": "any", | |
16 "description": "Array of Entry instances representing files that are
targets of this action (selected in ChromeOS file browser)." | |
17 }, | |
18 "tab_id" : { | |
19 "type": "integer", | |
20 "optional": true, | |
21 "description": "The ID of the tab that raised this event. Tab IDs ar
e unique within a browser session." | |
22 } | |
23 } | |
24 } | |
25 ], | |
26 "events": [ | |
27 { | |
28 "name": "onExecute", | |
29 "type": "function", | |
30 "description": "Fired when file system action is executed from ChromeOS
file browser.", | |
31 "parameters": [ | |
32 { | |
33 "name": "id", | |
34 "type": "string", | |
35 "description": "File browser action id as specified in the listener
component's manifest." | |
36 }, | |
37 { | |
38 "name": "details", | |
39 "$ref": "FileHandlerExecuteEventDetails", | |
40 "description": "File handler execute event details." | |
41 } | |
42 ] | |
43 } | |
44 ] | |
45 } | |
46 ] | |
OLD | NEW |