Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(447)

Unified Diff: chrome/browser/ui/cocoa/download/download_item_controller.mm

Issue 3400027: [Mac] Makes the download shelf auto-close after the user opens all downloads... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/download/download_item_controller.mm
===================================================================
--- chrome/browser/ui/cocoa/download/download_item_controller.mm (revision 69709)
+++ chrome/browser/ui/cocoa/download/download_item_controller.mm (working copy)
@@ -242,6 +242,10 @@
[view setHidden:(NSMaxX([view frame]) > NSWidth(containerFrame))];
}
+- (void)downloadWasOpened {
+ [shelf_ downloadWasOpened:self];
+}
+
- (IBAction)handleButtonClick:(id)sender {
NSEvent* event = [NSApp currentEvent];
if ([event modifierFlags] & NSCommandKeyMask) {
« no previous file with comments | « chrome/browser/ui/cocoa/download/download_item_controller.h ('k') | chrome/browser/ui/cocoa/download/download_item_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698