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

Unified Diff: chrome/browser/chromeos/file_manager/open_with_browser.cc

Issue 693103003: Files.app: Use the same file type associates as Windows on HTML files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « no previous file | ui/file_manager/file_manager/foreground/js/file_type.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/file_manager/open_with_browser.cc
diff --git a/chrome/browser/chromeos/file_manager/open_with_browser.cc b/chrome/browser/chromeos/file_manager/open_with_browser.cc
index dc3392c1d1b89a89fa8e9832fbbe5acec4eea0ec..1084fbdfb82a61da16fd6146f85c7b7fd7db2430 100644
--- a/chrome/browser/chromeos/file_manager/open_with_browser.cc
+++ b/chrome/browser/chromeos/file_manager/open_with_browser.cc
@@ -52,6 +52,9 @@ const base::FilePath::CharType* kFileExtensionsViewableInBrowser[] = {
FILE_PATH_LITERAL(".htm"),
FILE_PATH_LITERAL(".mhtml"),
FILE_PATH_LITERAL(".mht"),
+ FILE_PATH_LITERAL(".xhtml"),
+ FILE_PATH_LITERAL(".xht"),
+ FILE_PATH_LITERAL(".shtml"),
FILE_PATH_LITERAL(".svg"),
};
« no previous file with comments | « no previous file | ui/file_manager/file_manager/foreground/js/file_type.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698