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

Unified Diff: ui/views/corewm/tooltip_controller.h

Issue 2615993002: Remove unnecessary spin in ToolTipController (Closed)
Patch Set: Fix unit tests Created 3 years, 11 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
Index: ui/views/corewm/tooltip_controller.h
diff --git a/ui/views/corewm/tooltip_controller.h b/ui/views/corewm/tooltip_controller.h
index 5a274e319cd5edea134ef540a759884c323edbe0..a9dd60ac63dddad36dc79898881ce5f6371585dd 100644
--- a/ui/views/corewm/tooltip_controller.h
+++ b/ui/views/corewm/tooltip_controller.h
@@ -58,7 +58,6 @@ class VIEWS_EXPORT TooltipController : public aura::client::TooltipClient,
private:
friend class test::TooltipControllerTestHelper;
- void TooltipTimerFired();
void TooltipShownTimerFired();
// Updates the tooltip if required (if there is any change in the tooltip
@@ -90,8 +89,6 @@ class VIEWS_EXPORT TooltipController : public aura::client::TooltipClient,
std::unique_ptr<Tooltip> tooltip_;
- base::RepeatingTimer tooltip_timer_;
-
// Timer to timeout the life of an on-screen tooltip. We hide the tooltip when
// this timer fires.
base::OneShotTimer tooltip_shown_timer_;

Powered by Google App Engine
This is Rietveld 408576698