Index: ash/launcher/launcher_tooltip_manager.cc |
diff --git a/ash/launcher/launcher_tooltip_manager.cc b/ash/launcher/launcher_tooltip_manager.cc |
index 2d92e0f5e3bb9c88901b068f92c2caf32c462e95..901330a07fb11f86438a5999e3caafbcc44a96cf 100644 |
--- a/ash/launcher/launcher_tooltip_manager.cc |
+++ b/ash/launcher/launcher_tooltip_manager.cc |
@@ -256,6 +256,12 @@ void LauncherTooltipManager::OnMouseEvent(ui::MouseEvent* event) { |
DCHECK(view_); |
DCHECK(launcher_view_); |
+ // Pressing the mouse button anywhere should close the tooltip. |
+ if (event->type() == ui::ET_MOUSE_PRESSED) { |
+ CloseSoon(); |
+ return; |
+ } |
+ |
aura::Window* target = static_cast<aura::Window*>(event->target()); |
if (widget_->GetNativeWindow()->GetRootWindow() != target->GetRootWindow()) { |
CloseSoon(); |