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

Unified Diff: ash/tooltips/tooltip_controller.cc

Issue 10876091: Show tooltips on ash tray network items. (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 | « ash/system/network/tray_network.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/tooltips/tooltip_controller.cc
diff --git a/ash/tooltips/tooltip_controller.cc b/ash/tooltips/tooltip_controller.cc
index ed2528f5b100a08a50f82babcd9926a951aefba9..e3ec0ea7eaa64f9a3e2bf075a2495601a2763bba 100644
--- a/ash/tooltips/tooltip_controller.cc
+++ b/ash/tooltips/tooltip_controller.cc
@@ -264,9 +264,7 @@ bool TooltipController::PreHandleMouseEvent(aura::Window* target,
if (tooltip_timer_.IsRunning())
tooltip_timer_.Reset();
- // We update the tooltip if it is visible, or if we force-hid it due to a
- // mouse press.
- if (GetTooltip()->IsVisible() || tooltip_window_at_mouse_press_)
+ if (GetTooltip()->IsVisible())
UpdateIfRequired();
break;
case ui::ET_MOUSE_PRESSED:
« no previous file with comments | « ash/system/network/tray_network.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698