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

Unified Diff: chrome/browser/resources/file_manager/manifest_new_ui.json

Issue 14864004: Fix security errors when accessing files and volumes in Files.app V2 due to using unregistered hand… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/file_manager/manifest.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/file_manager/manifest_new_ui.json
diff --git a/chrome/browser/resources/file_manager/manifest_new_ui.json b/chrome/browser/resources/file_manager/manifest_new_ui.json
index 8e3425d5babdf4809fc02fa7b2315ce1069185fc..ea0bf91f0340ded77450ce111968ed704f546250 100644
--- a/chrome/browser/resources/file_manager/manifest_new_ui.json
+++ b/chrome/browser/resources/file_manager/manifest_new_ui.json
@@ -32,6 +32,35 @@
"https://drive.google.com/"
],
"file_browser_handlers": [
+ // Automatically open a volume and later close Files.app when unmounted.
hashimoto 2013/05/07 09:17:20 nit: s/open/opens/? the same goes for others and m
mtomasz 2013/05/07 10:16:16 Done.
+ // TODO(mtomasz): Implement better filtering than using file_filters.
+ {
+ "id": "auto-open",
+ "default_title": "__MSG_OPEN_ACTION__",
+ "default_icon": "images/filetype_generic.png",
+ "file_filters": [
+ "filesystem:*"
+ ]
+ },
+ // Select the passed file after launching Files.app.
+ {
+ "id": "select",
+ "default_title": "__MSG_OPEN_ACTION__",
+ "default_icon": "images/filetype_generic.png",
+ "file_filters": [
+ "filesystem:*"
+ ]
+ },
+ // Open the passed directory after launching Files.app.
+ // TODO(mtomasz): Implement directories filtering instead of files.
+ {
+ "id": "open",
+ "default_title": "__MSG_OPEN_ACTION__",
+ "default_icon": "images/filetype_generic.png",
+ "file_filters": [
+ "filesystem:*"
+ ]
+ },
{
"id": "play",
"default_title": "__MSG_PLAY_MEDIA__",
« no previous file with comments | « chrome/browser/resources/file_manager/manifest.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698