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

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

Issue 10824153: Change Ash web notification behavior (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix clang Created 8 years, 4 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 | « ash/system/tray/tray_bubble_view.h ('k') | 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/tray/tray_bubble_view.cc
diff --git a/ash/system/tray/tray_bubble_view.cc b/ash/system/tray/tray_bubble_view.cc
index 6b38f74cede17223c5c6d8182aa09fef2565c074..632b0702392f5b287159d1cbd7ebe990a8856396 100644
--- a/ash/system/tray/tray_bubble_view.cc
+++ b/ash/system/tray/tray_bubble_view.cc
@@ -247,6 +247,7 @@ TrayBubbleView::InitParams::InitParams(AnchorType anchor_type,
bubble_width(kTrayPopupWidth),
max_height(0),
can_activate(false),
+ close_on_deactivate(true),
arrow_offset(kArrowDefaultOffset),
arrow_color(kHeaderBackgroundColorDark) {
}
@@ -286,6 +287,7 @@ TrayBubbleView::TrayBubbleView(
anchor->GetWidget()->GetNativeWindow()->GetRootWindow(),
internal::kShellWindowId_SettingBubbleContainer));
set_notify_enter_exit_on_child(true);
+ set_close_on_deactivate(init_params.close_on_deactivate);
SetPaintToLayer(true);
SetFillsBoundsOpaquely(true);
}
« no previous file with comments | « ash/system/tray/tray_bubble_view.h ('k') | ash/system/web_notification/web_notification_tray.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698