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

Unified Diff: ash/launcher/launcher_tooltip_manager.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 | « no previous file | ui/views/bubble/bubble_border_2.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/launcher/launcher_tooltip_manager.cc
diff --git a/ash/launcher/launcher_tooltip_manager.cc b/ash/launcher/launcher_tooltip_manager.cc
index 31b17046f2ac53370c1a99b6e52b475f741f6226..cb82ee89228fece3b7b1de60efea7b9534a8abbc 100644
--- a/ash/launcher/launcher_tooltip_manager.cc
+++ b/ash/launcher/launcher_tooltip_manager.cc
@@ -96,6 +96,7 @@ LauncherTooltipManager::LauncherTooltipBubble::LauncherTooltipBubble(
set_close_on_esc(false);
set_close_on_deactivate(false);
set_use_focusless(true);
+ set_accept_events(false);
set_margins(gfx::Insets(kTooltipTopBottomMargin, kTooltipLeftRightMargin,
kTooltipTopBottomMargin, kTooltipLeftRightMargin));
SetLayoutManager(new views::FillLayout());
@@ -120,6 +121,9 @@ LauncherTooltipManager::LauncherTooltipBubble::LauncherTooltipBubble(
set_anchor_insets(gfx::Insets(kArrowOffset, kArrowOffset, kArrowOffset,
kArrowOffset));
GetBubbleFrameView()->SetBubbleBorder(bubble_border_);
+
+ // BubbleBorder2 paints its own background.
+ GetBubbleFrameView()->set_background(NULL);
}
void LauncherTooltipManager::LauncherTooltipBubble::SetText(
« no previous file with comments | « no previous file | ui/views/bubble/bubble_border_2.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698