diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-28 00:25:05 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-28 00:25:05 +0000 |
commit | 58a994249edb6c7b722c0d653c7490d517ba99a9 (patch) | |
tree | da49596f7694ab3d5ab3607b3115faebb781a3b0 /chrome/browser/cocoa/download_item_controller.h | |
parent | 93795fc2c67cfe9f607fe2354c1c17d3fa2f572f (diff) | |
download | chromium_src-58a994249edb6c7b722c0d653c7490d517ba99a9.zip chromium_src-58a994249edb6c7b722c0d653c7490d517ba99a9.tar.gz chromium_src-58a994249edb6c7b722c0d653c7490d517ba99a9.tar.bz2 |
First stab at download item overflow. Also add the image to the left of "Show all downloads" to the shelf.
BUG=14672,14665
TEST=Download several items. They should now no longer overlap the "Open all downloads" link.
Review URL: http://codereview.chromium.org/159384
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21759 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/download_item_controller.h')
-rw-r--r-- | chrome/browser/cocoa/download_item_controller.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/download_item_controller.h b/chrome/browser/cocoa/download_item_controller.h index 8fa3831..7dc5e7e 100644 --- a/chrome/browser/cocoa/download_item_controller.h +++ b/chrome/browser/cocoa/download_item_controller.h @@ -42,6 +42,10 @@ class DownloadShelfContextMenuMac; // Remove ourself from the download UI. - (void)remove; +// Update item's visibility depending on if the item is still completely +// contained in its parent. +- (void)updateVisibility:(id)sender; + // Asynchronous icon loading callback. - (void)setIcon:(NSImage*)icon; |