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

Unified Diff: chrome/browser/ui/cocoa/download/download_shelf_controller.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/cocoa/download/download_shelf_controller.h
diff --git a/chrome/browser/ui/cocoa/download/download_shelf_controller.h b/chrome/browser/ui/cocoa/download/download_shelf_controller.h
index 158227cf5dec3c51eb0b9d7d51cedd1b4a3a22a1..91f5a655e6c43aea79e17bb0d2241d69ba7bf2e6 100644
--- a/chrome/browser/ui/cocoa/download/download_shelf_controller.h
+++ b/chrome/browser/ui/cocoa/download/download_shelf_controller.h
@@ -12,13 +12,13 @@
class Browser;
@class BrowserWindowController;
@class DownloadItemController;
-class DownloadItemModel;
class DownloadShelf;
@class DownloadShelfView;
@class HyperlinkButtonCell;
@class HoverButton;
namespace content {
+class DownloadItem;
class PageNavigator;
}
@@ -90,7 +90,7 @@ class PageNavigator;
// Run when the user clicks the close button on the right side of the shelf.
- (IBAction)hide:(id)sender;
-- (void)addDownloadItem:(DownloadItemModel*)model;
+- (void)addDownloadItem:(content::DownloadItem*)downloadItem;
// Remove a download, possibly via clearing browser data.
- (void)remove:(DownloadItemController*)download;
« no previous file with comments | « chrome/browser/ui/cocoa/download/download_item_mac.mm ('k') | chrome/browser/ui/cocoa/download/download_shelf_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698