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

Unified Diff: chrome/browser/ui/views/download/download_shelf_context_menu_view.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/views/download/download_shelf_context_menu_view.h
diff --git a/chrome/browser/ui/views/download/download_shelf_context_menu_view.h b/chrome/browser/ui/views/download/download_shelf_context_menu_view.h
index 7039a11e4f5bf6538725ef91880b617fa2034e70..916dc0a643f508fcfbe66fb4528419dcda4317ee 100644
--- a/chrome/browser/ui/views/download/download_shelf_context_menu_view.h
+++ b/chrome/browser/ui/views/download/download_shelf_context_menu_view.h
@@ -10,9 +10,8 @@
#include "base/memory/scoped_ptr.h"
#include "chrome/browser/download/download_shelf_context_menu.h"
-class DownloadItemModel;
-
namespace content {
+class DownloadItem;
class PageNavigator;
}
@@ -27,7 +26,7 @@ class Widget;
class DownloadShelfContextMenuView : public DownloadShelfContextMenu {
public:
- DownloadShelfContextMenuView(DownloadItemModel* model,
+ DownloadShelfContextMenuView(content::DownloadItem* download_item,
content::PageNavigator* navigator);
virtual ~DownloadShelfContextMenuView();

Powered by Google App Engine
This is Rietveld 408576698