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

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

Issue 9395077: [filebrowser] Introduce View action for supported file types (e.g. pdf). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 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
Index: chrome/browser/resources/file_manager/manifest.json
===================================================================
--- chrome/browser/resources/file_manager/manifest.json (revision 125140)
+++ chrome/browser/resources/file_manager/manifest.json (working copy)
@@ -56,8 +56,33 @@
]
},
{
+ "id": "view-pdf",
+ "default_title": "__MSG_OPEN_ACTION__",
+ "default_icon": "images/icon_preview_16x16.png",
+ "file_filters": [
+ "filesystem:*.pdf"
+ ]
+ },
+ {
+ "id": "view-txt",
+ "default_title": "__MSG_OPEN_ACTION__",
+ "default_icon": "images/icon_preview_16x16.png",
+ "file_filters": [
+ "filesystem:*.txt"
+ ]
+ },
+ {
+ "id": "install-crx",
+ "default_title": "__MSG_INSTALL_CRX__",
+ // TODO(dgozman): replace to the right icon.
+ "default_icon": "images/icon_preview_16x16.png",
+ "file_filters": [
+ "filesystem:*.crx"
+ ]
+ },
+ {
"id": "gallery",
- "default_title": "__MSG_GALLERY__",
+ "default_title": "__MSG_OPEN_ACTION__",
"default_icon": "images/icon_preview_16x16.png",
"file_filters": [
// Image formats

Powered by Google App Engine
This is Rietveld 408576698