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

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

Issue 55063002: Prefer opening PDF downloads in the browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reorganize some code to address comments. Created 7 years, 1 month 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 9541c562d015ab4ae94f7d0772678305110a0392..56a78bed827c218378ee7742a8eb91bc5ea0d5a0 100644
--- a/chrome/browser/download/download_shelf_context_menu.h
+++ b/chrome/browser/download/download_shelf_context_menu.h
@@ -28,6 +28,7 @@ class DownloadShelfContextMenu : public ui::SimpleMenuModel::Delegate,
SHOW_IN_FOLDER = 1, // Open a folder view window with the item selected.
OPEN_WHEN_COMPLETE, // Open the download when it's finished.
ALWAYS_OPEN_TYPE, // Default this file extension to always open.
+ PLATFORM_OPEN, // Open using platform handler.
CANCEL, // Cancel the download.
TOGGLE_PAUSE, // Pause or resume a download.
DISCARD, // Discard the malicious download.

Powered by Google App Engine
This is Rietveld 408576698