Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Side by Side Diff: chrome/browser/resources/file_manager/manifest_new_ui.json

Issue 15975004: Replace sets with vectors when storing file handlers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Solved problems with the virtual handlers. Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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.
hashimoto 2013/05/24 11:15:51 How about having a comment about how the order of
mtomasz 2013/05/27 01:20:20 Here the order doesn't matter at all. I just chang
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
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 // Automatically opens a volume and later close Files.app when unmounted.
184 {
185 "id": "auto-open",
186 "default_title": "__MSG_OPEN_ACTION__",
187 "default_icon": "images/filetype_generic.png",
188 "file_filters": []
189 },
190 // Selects the passed file after launching Files.app.
191 {
192 "id": "select",
193 "default_title": "__MSG_OPEN_ACTION__",
194 "default_icon": "images/filetype_generic.png",
195 "file_filters": []
196 },
197 // Opens the passed directory after launching Files.app.
198 {
199 "id": "open",
200 "default_title": "__MSG_OPEN_ACTION__",
201 "default_icon": "images/filetype_generic.png",
202 "file_filters": []
211 } 203 }
212 ], 204 ],
213 "chrome_url_overrides": { 205 "chrome_url_overrides": {
214 "files": "main_new_ui.html" 206 "files": "main_new_ui.html"
215 }, 207 },
216 // Required to import scripts in a web worker. Note, that in Apps v2, it is 208 // 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 209 // 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. 210 // at least any file, then all files are allowed. http://crbug.com/179127.
219 "web_accessible_resources": ["js/metadata/byte_reader.js"], 211 "web_accessible_resources": ["js/metadata/byte_reader.js"],
220 "app": { 212 "app": {
221 "background": { 213 "background": {
222 "scripts": [ 214 "scripts": [
223 "js/file_copy_manager.js", 215 "js/file_copy_manager.js",
224 "js/async_util.js", 216 "js/async_util.js",
225 "js/path_util.js", 217 "js/path_util.js",
226 "js/util.js", 218 "js/util.js",
227 "js/test_util.js", 219 "js/test_util.js",
228 "js/background.js"] 220 "js/background.js"]
229 }, 221 },
230 // chrome-extension://pmfjbimdmchhbnneeidfognadeopoehp is the image loader e xtension. 222 // 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" 223 "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 } 224 }
233 } 225 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698