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

Unified Diff: chrome/browser/cocoa/download_item_controller.h

Issue 159060: Use a real download item.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: first round of review comments addressed Created 11 years, 5 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
« no previous file with comments | « chrome/browser/cocoa/download_item_cell.mm ('k') | chrome/browser/cocoa/download_item_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/download_item_controller.h
===================================================================
--- chrome/browser/cocoa/download_item_controller.h (revision 21145)
+++ chrome/browser/cocoa/download_item_controller.h (working copy)
@@ -7,6 +7,7 @@
#include "base/scoped_ptr.h"
class BaseDownloadItemModel;
+@class DownloadItemCell;
class DownloadItemMac;
class DownloadShelfContextMenuMac;
@class DownloadShelfController;
@@ -15,11 +16,14 @@
@interface DownloadItemController : NSViewController {
@private
- IBOutlet NSPopUpButton* popupButton_;
+ IBOutlet NSButton* progressView_;
+ IBOutlet DownloadItemCell* cell_;
IBOutlet NSMenu* activeDownloadMenu_;
IBOutlet NSMenu* completeDownloadMenu_;
+ NSMenu* currentMenu_; // points to one of the two menus above
+
scoped_ptr<DownloadItemMac> bridge_;
scoped_ptr<DownloadShelfContextMenuMac> menuBridge_;
@@ -38,6 +42,9 @@
// Remove ourself from the download UI.
- (void)remove;
+// Download item button clicked
+- (IBAction)handleButtonClick:(id)sender;
+
// Context menu handlers.
- (IBAction)handleOpen:(id)sender;
- (IBAction)handleAlwaysOpen:(id)sender;
« no previous file with comments | « chrome/browser/cocoa/download_item_cell.mm ('k') | chrome/browser/cocoa/download_item_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698