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/ui/gtk/download/download_shelf_context_menu_gtk.cc

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/gtk/download/download_shelf_context_menu_gtk.cc
===================================================================
--- chrome/browser/ui/gtk/download/download_shelf_context_menu_gtk.cc (revision 138377)
+++ chrome/browser/ui/gtk/download/download_shelf_context_menu_gtk.cc (working copy)
@@ -7,12 +7,14 @@
#include "base/logging.h"
#include "chrome/browser/download/download_item_model.h"
#include "chrome/browser/ui/gtk/download/download_item_gtk.h"
+#include "content/public/browser/page_navigator.h"
#include "ui/gfx/point.h"
DownloadShelfContextMenuGtk::DownloadShelfContextMenuGtk(
BaseDownloadItemModel* model,
- DownloadItemGtk* download_item)
- : DownloadShelfContextMenu(model),
+ DownloadItemGtk* download_item,
+ content::PageNavigator* navigator)
+ : DownloadShelfContextMenu(model, navigator),
download_item_gtk_(download_item) {
}
« no previous file with comments | « chrome/browser/ui/gtk/download/download_shelf_context_menu_gtk.h ('k') | chrome/browser/ui/gtk/download/download_shelf_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698