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

Unified Diff: chrome/browser/ui/views/download/download_shelf_context_menu_view.h

Issue 10421021: Make DownloadProtectionService not use BrowserList::GetLastActive() to load a link. Instead pass th… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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/ui/views/download/download_shelf_context_menu_view.h
===================================================================
--- chrome/browser/ui/views/download/download_shelf_context_menu_view.h (revision 138377)
+++ chrome/browser/ui/views/download/download_shelf_context_menu_view.h (working copy)
@@ -13,6 +13,10 @@
class BaseDownloadItemModel;
+namespace content {
+class PageNavigator;
+}
+
namespace gfx {
class Rect;
}
@@ -24,7 +28,8 @@
class DownloadShelfContextMenuView : public DownloadShelfContextMenu {
public:
- explicit DownloadShelfContextMenuView(BaseDownloadItemModel* model);
+ DownloadShelfContextMenuView(BaseDownloadItemModel* model,
+ content::PageNavigator* navigator);
virtual ~DownloadShelfContextMenuView();
// |rect| is the bounding area for positioning the menu in screen coordinates.

Powered by Google App Engine
This is Rietveld 408576698