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

Unified Diff: chrome/browser/download/download_shelf_context_menu.h

Issue 665163005: Add option to open PDFs in system viewer to OS X and Linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Unify the various identifiers for less #ifdefing. 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: chrome/browser/download/download_shelf_context_menu.h
diff --git a/chrome/browser/download/download_shelf_context_menu.h b/chrome/browser/download/download_shelf_context_menu.h
index f7383305b9ba6de61c94b1d129d887348ec8b5ec..102a9597ec7e7d3394ac100d1e017567351a2d8b 100644
--- a/chrome/browser/download/download_shelf_context_menu.h
+++ b/chrome/browser/download/download_shelf_context_menu.h
@@ -75,7 +75,8 @@ class DownloadShelfContextMenu : public ui::SimpleMenuModel::Delegate,
int GetAlwaysOpenStringId() const;
-#if defined(OS_WIN)
+#if defined(OS_WIN) || defined(OS_LINUX) || \
+ (defined(OS_MACOSX) && !defined(OS_IOS))
bool IsDownloadPdf() const;
bool CanOpenPdfInReader() const;
#endif

Powered by Google App Engine
This is Rietveld 408576698