summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/download_shelf_controller.h
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-27 22:18:43 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-27 22:18:43 +0000
commitfdb244d98291c7f801bb0a36c06de4a71b4895ae (patch)
tree39e8ace1cd1e68b98a9c45ba1f7a9f659e3ef005 /chrome/browser/cocoa/download_shelf_controller.h
parentcec6f9b08dd24625cd40df548810561b5a55e7d6 (diff)
downloadchromium_src-fdb244d98291c7f801bb0a36c06de4a71b4895ae.zip
chromium_src-fdb244d98291c7f801bb0a36c06de4a71b4895ae.tar.gz
chromium_src-fdb244d98291c7f801bb0a36c06de4a71b4895ae.tar.bz2
Mac: Let download shelf slide out to bottom instead of just clamping its height.
Review URL: http://codereview.chromium.org/2303002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48439 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/download_shelf_controller.h')
-rw-r--r--chrome/browser/cocoa/download_shelf_controller.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/download_shelf_controller.h b/chrome/browser/cocoa/download_shelf_controller.h
index 92411e8..5895cfc 100644
--- a/chrome/browser/cocoa/download_shelf_controller.h
+++ b/chrome/browser/cocoa/download_shelf_controller.h
@@ -44,7 +44,13 @@ class DownloadShelf;
BOOL barIsVisible_;
scoped_ptr<DownloadShelf> bridge_;
- float shelfHeight_;
+
+ // Height of the shelf when it's fully visible.
+ CGFloat maxShelfHeight_;
+
+ // Current height of the shelf. Changes while the shelf is animating in or
+ // out.
+ CGFloat currentShelfHeight_;
// The download items we have added to our shelf.
scoped_nsobject<NSMutableArray> downloadItemControllers_;