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

Unified Diff: ui/views/corewm/tooltip_controller_test_helper.cc

Issue 2615993002: Remove unnecessary spin in ToolTipController (Closed)
Patch Set: Address comments. 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
« no previous file with comments | « ui/views/corewm/tooltip_controller_test_helper.h ('k') | ui/views/corewm/tooltip_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/corewm/tooltip_controller_test_helper.cc
diff --git a/ui/views/corewm/tooltip_controller_test_helper.cc b/ui/views/corewm/tooltip_controller_test_helper.cc
index f96b08dc50a425ee416a2ea60704ed1b170096d1..54cd257ead44880b916fff5a5de0b6798d0ca340 100644
--- a/ui/views/corewm/tooltip_controller_test_helper.cc
+++ b/ui/views/corewm/tooltip_controller_test_helper.cc
@@ -27,12 +27,8 @@ aura::Window* TooltipControllerTestHelper::GetTooltipWindow() {
return controller_->tooltip_window_;
}
-void TooltipControllerTestHelper::FireTooltipTimer() {
- controller_->TooltipTimerFired();
-}
-
-bool TooltipControllerTestHelper::IsTooltipTimerRunning() {
- return controller_->tooltip_timer_.IsRunning();
+void TooltipControllerTestHelper::UpdateIfRequired() {
+ controller_->UpdateIfRequired();
}
void TooltipControllerTestHelper::FireTooltipShownTimer() {
« no previous file with comments | « ui/views/corewm/tooltip_controller_test_helper.h ('k') | ui/views/corewm/tooltip_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698