diff options
Diffstat (limited to 'chrome/browser/cocoa/download_item_controller.h')
-rw-r--r-- | chrome/browser/cocoa/download_item_controller.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/download_item_controller.h b/chrome/browser/cocoa/download_item_controller.h index dec9f7c..30bc28e 100644 --- a/chrome/browser/cocoa/download_item_controller.h +++ b/chrome/browser/cocoa/download_item_controller.h @@ -7,6 +7,7 @@ #include "base/scoped_ptr.h" class BaseDownloadItemModel; +@class DownloadItemCell; class DownloadItemMac; class DownloadShelfContextMenuMac; @class DownloadShelfController; @@ -15,11 +16,14 @@ class DownloadShelfContextMenuMac; @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 @@ class DownloadShelfContextMenuMac; // 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; |