OLD | NEW |
1 { | 1 { |
2 // chrome-extension://hhaomjibdihmijegdhdafkllkbggdgoj/ | 2 // chrome-extension://hhaomjibdihmijegdhdafkllkbggdgoj/ |
3 "key": "MIGdMA0GCSqGSIb3DQEBAQUAA4GLADCBhwKBgQDlhpGghtnNJ7pluQN0RDwbUxwwi99oM3
5ZEaFYvxPLrf0fIEC18cfDdJi6u4aJ+UoSpgzK731L0P/k4LvK2Rz9kVKOy0+IvuRrWkT7lbrLfA1UEB
h02OA1AAshjmyRg4IxCqgl8ia8XWq6HKegS1y1KXZYGgb4qp7Bh9VC4cIzswIBIw==", | 3 "key": "MIGdMA0GCSqGSIb3DQEBAQUAA4GLADCBhwKBgQDlhpGghtnNJ7pluQN0RDwbUxwwi99oM3
5ZEaFYvxPLrf0fIEC18cfDdJi6u4aJ+UoSpgzK731L0P/k4LvK2Rz9kVKOy0+IvuRrWkT7lbrLfA1UEB
h02OA1AAshjmyRg4IxCqgl8ia8XWq6HKegS1y1KXZYGgb4qp7Bh9VC4cIzswIBIw==", |
4 "manifest_version": 2, | 4 "manifest_version": 2, |
5 "name": "Files", | 5 "name": "Files", |
6 "version": "3.0", | 6 "version": "3.0", |
7 "description": "File Manager", | 7 "description": "File Manager", |
8 "incognito" : "split", | 8 "incognito" : "split", |
9 "icons": { | 9 "icons": { |
10 "16": "images/icon16.png", | 10 "16": "images/icon16.png", |
(...skipping 14 matching lines...) Expand all Loading... |
25 "chrome://resources/", | 25 "chrome://resources/", |
26 "chrome://theme/", | 26 "chrome://theme/", |
27 "tabs", | 27 "tabs", |
28 "clipboardWrite", | 28 "clipboardWrite", |
29 "clipboardRead", | 29 "clipboardRead", |
30 "https://docs.google.com/", | 30 "https://docs.google.com/", |
31 "https://*.googleusercontent.com/", | 31 "https://*.googleusercontent.com/", |
32 "https://drive.google.com/" | 32 "https://drive.google.com/" |
33 ], | 33 ], |
34 "file_browser_handlers": [ | 34 "file_browser_handlers": [ |
35 // Automatically opens a volume and later close Files.app when unmounted. | |
36 // TODO(mtomasz): Implement a better filtering than using file_filters. | |
37 { | |
38 "id": "auto-open", | |
39 "default_title": "__MSG_OPEN_ACTION__", | |
40 "default_icon": "images/filetype_generic.png", | |
41 "file_filters": [ | |
42 "filesystem:*" | |
43 ] | |
44 }, | |
45 // Selects the passed file after launching Files.app. | |
46 { | |
47 "id": "select", | |
48 "default_title": "__MSG_OPEN_ACTION__", | |
49 "default_icon": "images/filetype_generic.png", | |
50 "file_filters": [ | |
51 "filesystem:*" | |
52 ] | |
53 }, | |
54 // Opens the passed directory after launching Files.app. | |
55 // TODO(mtomasz): Implement a directories filtering instead of files. | |
56 { | |
57 "id": "open", | |
58 "default_title": "__MSG_OPEN_ACTION__", | |
59 "default_icon": "images/filetype_generic.png", | |
60 "file_filters": [ | |
61 "filesystem:*" | |
62 ] | |
63 }, | |
64 { | 35 { |
65 "id": "play", | 36 "id": "play", |
66 "default_title": "__MSG_PLAY_MEDIA__", | 37 "default_title": "__MSG_PLAY_MEDIA__", |
67 "default_icon": "images/filetype_audio.png", | 38 "default_icon": "images/filetype_audio.png", |
68 "file_filters": [ | 39 "file_filters": [ |
69 "filesystem:*.amr", | 40 "filesystem:*.amr", |
70 "filesystem:*.flac", | 41 "filesystem:*.flac", |
71 "filesystem:*.m4a", | 42 "filesystem:*.m4a", |
72 "filesystem:*.mp3", | 43 "filesystem:*.mp3", |
73 "filesystem:*.oga", | 44 "filesystem:*.oga", |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 "filesystem:*.gsheet" | 172 "filesystem:*.gsheet" |
202 ] | 173 ] |
203 }, | 174 }, |
204 { | 175 { |
205 "id": "open-hosted-gslides", | 176 "id": "open-hosted-gslides", |
206 "default_title": "__MSG_HOSTED__", | 177 "default_title": "__MSG_HOSTED__", |
207 "default_icon": "images/filetype_generic.png", | 178 "default_icon": "images/filetype_generic.png", |
208 "file_filters": [ | 179 "file_filters": [ |
209 "filesystem:*.gslides" | 180 "filesystem:*.gslides" |
210 ] | 181 ] |
| 182 }, |
| 183 // The following handlers are used only internally, therefore they do not |
| 184 // have any file filter. |
| 185 // Automatically opens a volume and later close Files.app when unmounted. |
| 186 { |
| 187 "id": "auto-open", |
| 188 "default_title": "__MSG_OPEN_ACTION__", |
| 189 "default_icon": "images/filetype_generic.png", |
| 190 "file_filters": [] |
| 191 }, |
| 192 // Selects the passed file after launching Files.app. |
| 193 { |
| 194 "id": "select", |
| 195 "default_title": "__MSG_OPEN_ACTION__", |
| 196 "default_icon": "images/filetype_generic.png", |
| 197 "file_filters": [] |
| 198 }, |
| 199 // Opens the passed directory after launching Files.app. |
| 200 { |
| 201 "id": "open", |
| 202 "default_title": "__MSG_OPEN_ACTION__", |
| 203 "default_icon": "images/filetype_generic.png", |
| 204 "file_filters": [] |
211 } | 205 } |
212 ], | 206 ], |
213 "chrome_url_overrides": { | 207 "chrome_url_overrides": { |
214 "files": "main_new_ui.html" | 208 "files": "main_new_ui.html" |
215 }, | 209 }, |
216 // Required to import scripts in a web worker. Note, that in Apps v2, it is | 210 // Required to import scripts in a web worker. Note, that in Apps v2, it is |
217 // enough that anything is passed to web_accessible_resources. If there is | 211 // enough that anything is passed to web_accessible_resources. If there is |
218 // at least any file, then all files are allowed. http://crbug.com/179127. | 212 // at least any file, then all files are allowed. http://crbug.com/179127. |
219 "web_accessible_resources": ["js/metadata/byte_reader.js"], | 213 "web_accessible_resources": ["js/metadata/byte_reader.js"], |
220 "app": { | 214 "app": { |
221 "background": { | 215 "background": { |
222 "scripts": [ | 216 "scripts": [ |
223 "js/file_copy_manager.js", | 217 "js/file_copy_manager.js", |
224 "js/async_util.js", | 218 "js/async_util.js", |
225 "js/path_util.js", | 219 "js/path_util.js", |
226 "js/util.js", | 220 "js/util.js", |
227 "js/test_util.js", | 221 "js/test_util.js", |
228 "js/background.js"] | 222 "js/background.js"] |
229 }, | 223 }, |
230 // chrome-extension://pmfjbimdmchhbnneeidfognadeopoehp is the image loader e
xtension. | 224 // chrome-extension://pmfjbimdmchhbnneeidfognadeopoehp is the image loader e
xtension. |
231 "content_security_policy": "default-src 'none'; script-src 'self' chrome://r
esources chrome-extension://pmfjbimdmchhbnneeidfognadeopoehp; style-src 'self' '
unsafe-inline' chrome://resources; frame-src 'self' about:; img-src 'self' chrom
e://resources chrome://theme data: https://docs.google.com https://*.googleuserc
ontent.com chrome://extension-icon; media-src 'self' https://*.googleusercontent
.com; connect-src https://drive.google.com" | 225 "content_security_policy": "default-src 'none'; script-src 'self' chrome://r
esources chrome-extension://pmfjbimdmchhbnneeidfognadeopoehp; style-src 'self' '
unsafe-inline' chrome://resources; frame-src 'self' about:; img-src 'self' chrom
e://resources chrome://theme data: https://docs.google.com https://*.googleuserc
ontent.com chrome://extension-icon; media-src 'self' https://*.googleusercontent
.com; connect-src https://drive.google.com" |
232 } | 226 } |
233 } | 227 } |
OLD | NEW |