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

Unified Diff: chrome/browser/ui/gtk/download/download_shelf_context_menu_gtk.h

Issue 11673004: No need to pass DownloadItemModel ownership. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: DownloadShelfContextMenu class cleanup and require GetMenuModel() to return non-NULL Created 7 years, 11 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.h
diff --git a/chrome/browser/ui/gtk/download/download_shelf_context_menu_gtk.h b/chrome/browser/ui/gtk/download/download_shelf_context_menu_gtk.h
index bc079e3e3f809059a03fad8f97bd167409369659..00c364447b17915b58ce93e11cf074a90df2fa97 100644
--- a/chrome/browser/ui/gtk/download/download_shelf_context_menu_gtk.h
+++ b/chrome/browser/ui/gtk/download/download_shelf_context_menu_gtk.h
@@ -12,13 +12,11 @@
#include "chrome/browser/ui/gtk/menu_gtk.h"
class DownloadItemGtk;
-class DownloadItemModel;
class DownloadShelfContextMenuGtk : public DownloadShelfContextMenu,
public MenuGtk::Delegate {
public:
- DownloadShelfContextMenuGtk(DownloadItemModel* model,
- DownloadItemGtk* download_item,
+ DownloadShelfContextMenuGtk(DownloadItemGtk* download_item,
content::PageNavigator* navigator);
virtual ~DownloadShelfContextMenuGtk();
« no previous file with comments | « chrome/browser/ui/gtk/download/download_item_gtk.cc ('k') | chrome/browser/ui/gtk/download/download_shelf_context_menu_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698