summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/download_item_controller.h
diff options
context:
space:
mode:
authorpaul@chromium.org <paul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-22 19:20:45 +0000
committerpaul@chromium.org <paul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-22 19:20:45 +0000
commit25ebbf4a2894b6b60350cf22740a0ba7ad9ee7c3 (patch)
tree49ff36ea57d4603ac6b77156150c942af162c6df /chrome/browser/cocoa/download_item_controller.h
parent95fe32f45f41ffd496466bc938968cabae2bad59 (diff)
downloadchromium_src-25ebbf4a2894b6b60350cf22740a0ba7ad9ee7c3.zip
chromium_src-25ebbf4a2894b6b60350cf22740a0ba7ad9ee7c3.tar.gz
chromium_src-25ebbf4a2894b6b60350cf22740a0ba7ad9ee7c3.tar.bz2
Load Mac download shelf icons asynchronously.
BUG=16226 (http://crbug.com/16226) TEST=none. Review URL: http://codereview.chromium.org/155831 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21305 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/download_item_controller.h')
-rw-r--r--chrome/browser/cocoa/download_item_controller.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/download_item_controller.h b/chrome/browser/cocoa/download_item_controller.h
index 30bc28e..8fa3831 100644
--- a/chrome/browser/cocoa/download_item_controller.h
+++ b/chrome/browser/cocoa/download_item_controller.h
@@ -42,6 +42,9 @@ class DownloadShelfContextMenuMac;
// Remove ourself from the download UI.
- (void)remove;
+// Asynchronous icon loading callback.
+- (void)setIcon:(NSImage*)icon;
+
// Download item button clicked
- (IBAction)handleButtonClick:(id)sender;