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 914 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
925 "name": "result", | 925 "name": "result", |
926 "type": "object", | 926 "type": "object", |
927 "properties": { | 927 "properties": { |
928 "type": {"type": "string"}, | 928 "type": {"type": "string"}, |
929 "online": {"type": "boolean"} | 929 "online": {"type": "boolean"} |
930 } | 930 } |
931 } | 931 } |
932 ] | 932 ] |
933 } | 933 } |
934 ] | 934 ] |
935 }, | |
936 { | |
937 "name": "requestDirectoryRefresh", | |
938 "description": "Requests a refresh of a directory. Used to get the lates t metadata of files in a particular directory. Upon completion, onFileChanged ev ent is raised.", | |
asargent_no_longer_on_chrome
2012/05/18 23:22:34
Does onFileChanged fire even if the item at |fileU
satorux1
2012/05/18 23:42:19
Thank you for the suggestion. I thought that notif
satorux1
2012/05/19 00:09:19
I played with the new idea, but I changed my mind
| |
939 "parameters": [ | |
940 { | |
941 "name": "fileURL", | |
942 "type": "string", | |
943 "description": "URL of the target directory" | |
944 } | |
945 ] | |
935 } | 946 } |
936 ], | 947 ], |
937 "events": [ | 948 "events": [ |
938 { | 949 { |
939 "name": "onDiskChanged", | 950 "name": "onDiskChanged", |
940 "type": "function", | 951 "type": "function", |
941 "description": "Fired when disk mount/unmount event is detected.", | 952 "description": "Fired when disk mount/unmount event is detected.", |
942 "parameters": [ | 953 "parameters": [ |
943 { | 954 { |
944 "$ref": "MountEvent", | 955 "$ref": "MountEvent", |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1004 }, | 1015 }, |
1005 { | 1016 { |
1006 "name": "onNetworkConnectionChanged", | 1017 "name": "onNetworkConnectionChanged", |
1007 "type": "function", | 1018 "type": "function", |
1008 "description": "Fired when the active network connection state changes. The network connection state can be retrieved via 'getNetworkConnectionState'.", | 1019 "description": "Fired when the active network connection state changes. The network connection state can be retrieved via 'getNetworkConnectionState'.", |
1009 "parameters": [] | 1020 "parameters": [] |
1010 } | 1021 } |
1011 ] | 1022 ] |
1012 } | 1023 } |
1013 ] | 1024 ] |
OLD | NEW |