Chromium Code Reviews| 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": "2.0", | 6 "version": "2.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 13 matching lines...) Expand all Loading... | |
| 24 "chrome://resources/", | 24 "chrome://resources/", |
| 25 "chrome://theme/", | 25 "chrome://theme/", |
| 26 "tabs", | 26 "tabs", |
| 27 "clipboardWrite", | 27 "clipboardWrite", |
| 28 "clipboardRead", | 28 "clipboardRead", |
| 29 "https://docs.google.com/", | 29 "https://docs.google.com/", |
| 30 "https://*.googleusercontent.com/", | 30 "https://*.googleusercontent.com/", |
| 31 "https://drive.google.com/" | 31 "https://drive.google.com/" |
| 32 ], | 32 ], |
| 33 "file_browser_handlers": [ | 33 "file_browser_handlers": [ |
| 34 // Automatically opens a volume and later close Files.app when unmounted. | |
| 35 // TODO(mtomasz): Implement a better filtering than using file_filters. | |
| 36 { | |
| 37 "id": "auto-open", | |
| 38 "default_title": "__MSG_OPEN_ACTION__", | |
| 39 "default_icon": "images/filetype_generic.png", | |
| 40 "file_filters": [ | |
| 41 "filesystem:*" | |
| 42 ] | |
| 43 }, | |
| 44 // Selects the passed file after launching Files.app. | |
| 45 { | |
| 46 "id": "select", | |
| 47 "default_title": "__MSG_OPEN_ACTION__", | |
| 48 "default_icon": "images/filetype_generic.png", | |
| 49 "file_filters": [ | |
| 50 "filesystem:*" | |
| 51 ] | |
| 52 }, | |
| 53 // Opens the passed directory after launching Files.app. | |
| 54 // TODO(mtomasz): Implement a directories filtering instead of files. | |
| 55 { | |
| 56 "id": "open", | |
| 57 "default_title": "__MSG_OPEN_ACTION__", | |
| 58 "default_icon": "images/filetype_generic.png", | |
| 59 "file_filters": [ | |
| 60 "filesystem:*" | |
| 61 ] | |
| 62 }, | |
| 63 { | 34 { |
| 64 "id": "play", | 35 "id": "play", |
| 65 "default_title": "__MSG_PLAY_MEDIA__", | 36 "default_title": "__MSG_PLAY_MEDIA__", |
| 66 "default_icon": "images/filetype_audio.png", | 37 "default_icon": "images/filetype_audio.png", |
| 67 "file_filters": [ | 38 "file_filters": [ |
| 68 "filesystem:*.amr", | 39 "filesystem:*.amr", |
| 69 "filesystem:*.flac", | 40 "filesystem:*.flac", |
| 70 "filesystem:*.m4a", | 41 "filesystem:*.m4a", |
| 71 "filesystem:*.mp3", | 42 "filesystem:*.mp3", |
| 72 "filesystem:*.oga", | 43 "filesystem:*.oga", |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 200 "filesystem:*.gsheet" | 171 "filesystem:*.gsheet" |
| 201 ] | 172 ] |
| 202 }, | 173 }, |
| 203 { | 174 { |
| 204 "id": "open-hosted-gslides", | 175 "id": "open-hosted-gslides", |
| 205 "default_title": "__MSG_HOSTED__", | 176 "default_title": "__MSG_HOSTED__", |
| 206 "default_icon": "images/filetype_generic.png", | 177 "default_icon": "images/filetype_generic.png", |
| 207 "file_filters": [ | 178 "file_filters": [ |
| 208 "filesystem:*.gslides" | 179 "filesystem:*.gslides" |
| 209 ] | 180 ] |
| 181 }, | |
| 182 // Automatically opens a volume and later close Files.app when unmounted. | |
| 183 { | |
| 184 "id": "auto-open", | |
| 185 "default_title": "__MSG_OPEN_ACTION__", | |
| 186 "default_icon": "images/filetype_generic.png", | |
| 187 "file_filters": [] | |
|
hashimoto
2013/05/27 03:55:39
nit: Could you add a comment to clarify that these
mtomasz
2013/05/27 05:00:10
Done.
| |
| 188 }, | |
| 189 // Selects the passed file after launching Files.app. | |
| 190 { | |
| 191 "id": "select", | |
| 192 "default_title": "__MSG_OPEN_ACTION__", | |
| 193 "default_icon": "images/filetype_generic.png", | |
| 194 "file_filters": [] | |
| 195 }, | |
| 196 // Opens the passed directory after launching Files.app. | |
| 197 { | |
| 198 "id": "open", | |
| 199 "default_title": "__MSG_OPEN_ACTION__", | |
| 200 "default_icon": "images/filetype_generic.png", | |
| 201 "file_filters": [] | |
| 210 } | 202 } |
| 211 ], | 203 ], |
| 212 "chrome_url_overrides": { | 204 "chrome_url_overrides": { |
| 213 "files": "main.html" | 205 "files": "main.html" |
| 214 }, | 206 }, |
| 215 // Required to import scripts in a web worker. Note, that in Apps v2, it is | 207 // Required to import scripts in a web worker. Note, that in Apps v2, it is |
| 216 // enough that anything is passed to web_accessible_resources. If there is | 208 // enough that anything is passed to web_accessible_resources. If there is |
| 217 // at least any file, then all files are allowed. http://crbug.com/179127. | 209 // at least any file, then all files are allowed. http://crbug.com/179127. |
| 218 "web_accessible_resources": ["js/metadata/byte_reader.js"], | 210 "web_accessible_resources": ["js/metadata/byte_reader.js"], |
| 219 "app": { | 211 "app": { |
| 220 "background": { | 212 "background": { |
| 221 "scripts": [ | 213 "scripts": [ |
| 222 "js/file_copy_manager.js", | 214 "js/file_copy_manager.js", |
| 223 "js/async_util.js", | 215 "js/async_util.js", |
| 224 "js/path_util.js", | 216 "js/path_util.js", |
| 225 "js/util.js", | 217 "js/util.js", |
| 226 "js/test_util.js", | 218 "js/test_util.js", |
| 227 "js/background.js"] | 219 "js/background.js"] |
| 228 }, | 220 }, |
| 229 // chrome-extension://pmfjbimdmchhbnneeidfognadeopoehp is the image loader e xtension. | 221 // chrome-extension://pmfjbimdmchhbnneeidfognadeopoehp is the image loader e xtension. |
| 230 "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" | 222 "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" |
| 231 } | 223 } |
| 232 } | 224 } |
| OLD | NEW |