Chromium Code Reviews

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

Issue 155706: Fix the URL status bubble overlapping the Mac download shelf (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: chrome/browser/cocoa/download_shelf_controller.h
===================================================================
--- chrome/browser/cocoa/download_shelf_controller.h (revision 21184)
+++ chrome/browser/cocoa/download_shelf_controller.h (working copy)
@@ -28,7 +28,7 @@
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 @@
- (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 @@
// Notification that we are closing and should release our downloads.
- (void)exiting;
+// Return the height of the download shelf.
+- (float)height;
+
@end
« no previous file with comments | « chrome/browser/cocoa/browser_window_controller.mm ('k') | chrome/browser/cocoa/download_shelf_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine