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..ecf9d99f38d54e22f46cb478a813b5137e2aac3a 100644 |
--- a/chrome/browser/download/download_shelf_context_menu.h |
+++ b/chrome/browser/download/download_shelf_context_menu.h |
@@ -75,9 +75,10 @@ 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; |
+ bool CanOpenPdfInSystemViewer() const; |
#endif |
// We show slightly different menus if the download is in progress vs. if the |
@@ -95,7 +96,7 @@ class DownloadShelfContextMenu : public ui::SimpleMenuModel::Delegate, |
content::PageNavigator* navigator_; |
#if defined(OS_WIN) |
- bool is_pdf_reader_up_to_date_; |
+ bool is_adobe_pdf_reader_up_to_date_; |
#endif |
DISALLOW_COPY_AND_ASSIGN(DownloadShelfContextMenu); |