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

Unified Diff: views/widget/tooltip_manager_views.cc

Issue 8574033: Beginnings of Window Modality support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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 | « views/widget/native_widget_aura.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/widget/tooltip_manager_views.cc
===================================================================
--- views/widget/tooltip_manager_views.cc (revision 110305)
+++ views/widget/tooltip_manager_views.cc (working copy)
@@ -96,7 +96,8 @@
break;
case ui::ET_MOUSE_ENTERED:
// Mouse just entered this widget. Start the timer to show the tooltip.
- CHECK(!tooltip_timer_.IsRunning());
+ if (tooltip_timer_.IsRunning())
+ tooltip_timer_.Stop();
tooltip_timer_.Start(FROM_HERE,
base::TimeDelta::FromMilliseconds(kTooltipTimeoutMs),
this, &TooltipManagerViews::TooltipTimerFired);
« no previous file with comments | « views/widget/native_widget_aura.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698