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

Unified Diff: chrome/browser/cocoa/download_shelf_mac.mm

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. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/cocoa/download_shelf_mac.h ('k') | chrome/browser/cocoa/status_bubble_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/download_shelf_mac.mm
===================================================================
--- chrome/browser/cocoa/download_shelf_mac.mm (revision 21184)
+++ chrome/browser/cocoa/download_shelf_mac.mm (working copy)
@@ -4,6 +4,7 @@
#include "chrome/browser/cocoa/download_shelf_mac.h"
+#include "chrome/browser/browser.h"
#import "chrome/browser/cocoa/download_shelf_controller.h"
#include "chrome/browser/cocoa/download_item_mac.h"
#include "chrome/browser/download/download_item_model.h"
@@ -31,8 +32,10 @@
void DownloadShelfMac::Show() {
[shelf_controller_ show:nil];
+ browser_->UpdateDownloadShelfVisibility(true);
}
void DownloadShelfMac::Close() {
[shelf_controller_ hide:nil];
+ browser_->UpdateDownloadShelfVisibility(false);
}
« no previous file with comments | « chrome/browser/cocoa/download_shelf_mac.h ('k') | chrome/browser/cocoa/status_bubble_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698