summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/download_shelf_controller.h
diff options
context:
space:
mode:
authorpaul@chromium.org <paul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-21 17:34:23 +0000
committerpaul@chromium.org <paul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-21 17:34:23 +0000
commit9b032bfa866097c14d7dcd3a6552795ee4ea2b0f (patch)
tree2ad6260c64ef8730fc69952cde4d632ed9e363df /chrome/browser/cocoa/download_shelf_controller.h
parent6a7374568948adc4a24c64539411b3b272e01231 (diff)
downloadchromium_src-9b032bfa866097c14d7dcd3a6552795ee4ea2b0f.zip
chromium_src-9b032bfa866097c14d7dcd3a6552795ee4ea2b0f.tar.gz
chromium_src-9b032bfa866097c14d7dcd3a6552795ee4ea2b0f.tar.bz2
Fix for the URL status bubble overlapping the download shelf.
BUG=14662 (http://crbug.com/14662) TEST=Download something so that the shelf is visible and make sure that hovering over links on the page produce a status bubble above the download shelf. Review URL: http://codereview.chromium.org/155706 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21185 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/download_shelf_controller.h')
-rw-r--r--chrome/browser/cocoa/download_shelf_controller.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/download_shelf_controller.h b/chrome/browser/cocoa/download_shelf_controller.h
index ff4cedc..f598d5c 100644
--- a/chrome/browser/cocoa/download_shelf_controller.h
+++ b/chrome/browser/cocoa/download_shelf_controller.h
@@ -28,7 +28,7 @@ class DownloadShelf;
scoped_ptr<DownloadShelf> bridge_;
NSView* contentArea_;
- int shelfHeight_;
+ float shelfHeight_;
// The download items we have added to our shelf.
scoped_nsobject<NSMutableArray> downloadItemControllers_;
@@ -40,6 +40,8 @@ class DownloadShelf;
- (BOOL)isVisible;
- (IBAction)show:(id)sender;
+
+// Run when the user clicks the close button on the right side of the shelf.
- (IBAction)hide:(id)sender;
- (void)addDownloadItem:(BaseDownloadItemModel*)model;
@@ -53,4 +55,7 @@ class DownloadShelf;
// Notification that we are closing and should release our downloads.
- (void)exiting;
+// Return the height of the download shelf.
+- (float)height;
+
@end