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

Unified Diff: ui/views/bubble/bubble_delegate.cc

Issue 10828266: Minor fixes to BubbleBorder2 and LauncherTooltipManager: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch 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 | « ui/views/bubble/bubble_delegate.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/bubble/bubble_delegate.cc
diff --git a/ui/views/bubble/bubble_delegate.cc b/ui/views/bubble/bubble_delegate.cc
index 7f64fd384b05345d4cdd4092de1ec28d417d5ea0..a1277b0e701dcd0a00559c3f11c138c66c1424cb 100644
--- a/ui/views/bubble/bubble_delegate.cc
+++ b/ui/views/bubble/bubble_delegate.cc
@@ -26,6 +26,7 @@ Widget* CreateBubbleWidget(BubbleDelegateView* bubble) {
Widget::InitParams bubble_params(Widget::InitParams::TYPE_BUBBLE);
bubble_params.delegate = bubble;
bubble_params.transparent = true;
+ bubble_params.accept_events = bubble->accept_events();
if (bubble->parent_window())
bubble_params.parent = bubble->parent_window();
else
@@ -115,6 +116,7 @@ BubbleDelegateView::BubbleDelegateView()
original_opacity_(255),
border_widget_(NULL),
use_focusless_(false),
+ accept_events_(true),
try_mirroring_arrow_(true),
parent_window_(NULL) {
set_background(Background::CreateSolidBackground(color_));
@@ -135,6 +137,7 @@ BubbleDelegateView::BubbleDelegateView(
original_opacity_(255),
border_widget_(NULL),
use_focusless_(false),
+ accept_events_(true),
try_mirroring_arrow_(true),
parent_window_(NULL) {
set_background(Background::CreateSolidBackground(color_));
« no previous file with comments | « ui/views/bubble/bubble_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698