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

Unified Diff: ash/system/status_area_widget.cc

Issue 11759021: Block the autohide of the launcher when 'quiet mode' bubble is shown for notifications. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 12 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 | « no previous file | ash/system/web_notification/web_notification_tray.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/status_area_widget.cc
diff --git a/ash/system/status_area_widget.cc b/ash/system/status_area_widget.cc
index f4d8420e6d5cf46ec8ea6ab62a55545b7fb69819..527edf25b6d27748f5ffd14db828544d32e6dec4 100644
--- a/ash/system/status_area_widget.cc
+++ b/ash/system/status_area_widget.cc
@@ -70,7 +70,7 @@ void StatusAreaWidget::Shutdown() {
bool StatusAreaWidget::ShouldShowLauncher() const {
if ((system_tray_ && system_tray_->ShouldShowLauncher()) ||
(web_notification_tray_ &&
- web_notification_tray_->IsMessageCenterBubbleVisible()))
+ web_notification_tray_->ShouldBlockLauncherAutoHide()))
return true;
if (!RootWindowController::ForLauncher(GetNativeView())->shelf()->IsVisible())
« no previous file with comments | « no previous file | ash/system/web_notification/web_notification_tray.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698