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

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

Issue 1391893003: NOT FOR REVIEW: Aura on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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.cc
diff --git a/chrome/browser/download/download_shelf_context_menu.cc b/chrome/browser/download/download_shelf_context_menu.cc
index ab4836219d39ae0f4c13b692c9fe8ee0edeb0734..a69ca902ae2ade21a554dd6a4a93723e262433db 100644
--- a/chrome/browser/download/download_shelf_context_menu.cc
+++ b/chrome/browser/download/download_shelf_context_menu.cc
@@ -133,6 +133,7 @@ base::string16 DownloadShelfContextMenu::GetLabelForCommandId(
id = IDS_DOWNLOAD_MENU_KEEP;
break;
case DownloadCommands::ALWAYS_OPEN_TYPE: {
+#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
if (download_commands_) {
bool can_open_pdf_in_system_viewer =
download_commands_->CanOpenPdfInSystemViewer();
@@ -150,6 +151,7 @@ base::string16 DownloadShelfContextMenu::GetLabelForCommandId(
}
#endif
}
+#endif // defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
id = IDS_DOWNLOAD_MENU_ALWAYS_OPEN_TYPE;
break;
}

Powered by Google App Engine
This is Rietveld 408576698