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

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

Issue 1053653003: Gallery: Support RAW files in Gallery. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix the second bind. Created 5 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
« no previous file with comments | « no previous file | ui/file_manager/gallery/css/gallery.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/file_manager/common/js/file_type.js
diff --git a/ui/file_manager/file_manager/common/js/file_type.js b/ui/file_manager/file_manager/common/js/file_type.js
index 0d8a71c81f20ed39b3fd5f0ac7265a30fd8544ef..030ae250cc18bb27d4af38173d92d5f5fa4c4ed7 100644
--- a/ui/file_manager/file_manager/common/js/file_type.js
+++ b/ui/file_manager/file_manager/common/js/file_type.js
@@ -45,35 +45,35 @@ FileType.types = [
// Raw
{
type: 'raw', name: 'IMAGE_FILE_TYPE', subtype: 'ARW',
- pattern: /\.arw?$/i, icon: 'image'
+ pattern: /\.arw$/i, icon: 'image'
},
{
type: 'raw', name: 'IMAGE_FILE_TYPE', subtype: 'CR2',
- pattern: /\.cr2?$/i, icon: 'image'
+ pattern: /\.cr2$/i, icon: 'image'
},
{
type: 'raw', name: 'IMAGE_FILE_TYPE', subtype: 'DNG',
- pattern: /\.dng?$/i, icon: 'image'
+ pattern: /\.dng$/i, icon: 'image'
},
{
type: 'raw', name: 'IMAGE_FILE_TYPE', subtype: 'NEF',
- pattern: /\.nef?$/i, icon: 'image'
+ pattern: /\.nef$/i, icon: 'image'
},
{
type: 'raw', name: 'IMAGE_FILE_TYPE', subtype: 'NRW',
- pattern: /\.nrw?$/i, icon: 'image'
+ pattern: /\.nrw$/i, icon: 'image'
},
{
- type: 'raw', name: 'IMAGE_FILE_TYPE', subtype: 'ORW',
- pattern: /\.orf?$/i, icon: 'image'
+ type: 'raw', name: 'IMAGE_FILE_TYPE', subtype: 'ORF',
+ pattern: /\.orf$/i, icon: 'image'
},
{
type: 'raw', name: 'IMAGE_FILE_TYPE', subtype: 'RAF',
- pattern: /\.raf?$/i, icon: 'image'
+ pattern: /\.raf$/i, icon: 'image'
},
{
type: 'raw', name: 'IMAGE_FILE_TYPE', subtype: 'RW2',
- pattern: /\.rw2?$/i, icon: 'image'
+ pattern: /\.rw2$/i, icon: 'image'
},
// Video
« no previous file with comments | « no previous file | ui/file_manager/gallery/css/gallery.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698