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

Unified Diff: ash/system/tray/system_tray_bubble.cc

Issue 10389175: Don't close ash notifications on deactivate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/system_tray_bubble.cc
diff --git a/ash/system/tray/system_tray_bubble.cc b/ash/system/tray/system_tray_bubble.cc
index 2f83ab49de539a71120369ef81c322c9ab7b1235..7145615c1cc0a4fe8ef09f0696fd2e7dc954d2cf 100644
--- a/ash/system/tray/system_tray_bubble.cc
+++ b/ash/system/tray/system_tray_bubble.cc
@@ -380,6 +380,8 @@ void SystemTrayBubble::InitView(const InitParams& init_params) {
anchor_type_ = init_params.anchor_type;
bubble_view_ = new SystemTrayBubbleView(
init_params.anchor, this, init_params.can_activate);
+ if (bubble_type_ == BUBBLE_TYPE_NOTIFICATION)
+ bubble_view_->set_close_on_deactivate(false);
CreateItemViews(init_params.login_status);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698