Index: chrome/browser/extensions/file_manager_util.cc |
diff --git a/chrome/browser/extensions/file_manager_util.cc b/chrome/browser/extensions/file_manager_util.cc |
index 1eb24341eadb841ce7e52aeda7b3e2d7afc1599d..9b27987d36f8488c675acddbe4558f61068c6a36 100644 |
--- a/chrome/browser/extensions/file_manager_util.cc |
+++ b/chrome/browser/extensions/file_manager_util.cc |
@@ -43,8 +43,10 @@ const char kMediaPlayerPlaylistUrl[] = FILEBROWSER_URL("playlist.html"); |
// List of file extension we can open in tab. |
const char* kBrowserSupportedExtensions[] = { |
- ".bmp", ".jpg", ".jpeg", ".png", ".webp", ".gif", ".pdf", ".txt", ".html", |
- ".htm" |
+#if defined(GOOGLE_CHROME_BUILD) |
+ ".pdf", |
Scott Byer
2011/10/19 22:11:02
Chromium can support PDF in a tab if the plug in i
tbarzic
2011/10/19 23:30:28
If we leave thing as they are, opening pdf file in
|
+#endif |
+ ".bmp", ".jpg", ".jpeg", ".png", ".webp", ".gif", ".txt", ".html", ".htm" |
}; |
// List of file extension that can be handled with the media player. |
const char* kAVExtensions[] = { |