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

Unified Diff: ui/file_manager/file_manager/foreground/js/file_type.js

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
Index: ui/file_manager/file_manager/foreground/js/file_type.js
diff --git a/ui/file_manager/file_manager/foreground/js/file_type.js b/ui/file_manager/file_manager/foreground/js/file_type.js
index f82a3d1b52c0e5d28a06772476fd8bf55ac0152e..b795728e469bd1810695550625226bf567f001a2 100644
--- a/ui/file_manager/file_manager/foreground/js/file_type.js
+++ b/ui/file_manager/file_manager/foreground/js/file_type.js
@@ -163,7 +163,7 @@ FileType.types = [
},
{
type: 'document', name: 'HTML_DOCUMENT_FILE_TYPE',
- subtype: 'HTML', pattern: /\.(html?|mht|mhtml)$/i
+ subtype: 'HTML', pattern: /\.(html?|mht(ml)?|shtml|xht(ml)?)$/i
},
{
type: 'document', icon: 'word', name: 'WORD_DOCUMENT_FILE_TYPE',
« no previous file with comments | « chrome/browser/chromeos/file_manager/open_with_browser.cc ('k') | ui/file_manager/file_manager/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698