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

Unified Diff: ash/tooltips/tooltip_controller_unittest.cc

Issue 11412315: Make the cursor have separate mode for disabled mouse events and invisible. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments Created 8 years 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: ash/tooltips/tooltip_controller_unittest.cc
diff --git a/ash/tooltips/tooltip_controller_unittest.cc b/ash/tooltips/tooltip_controller_unittest.cc
index a4b2be3aebfaa282f68790149b5cd67ba17818c7..34244ff211303f4e2fa8cb6803c05379a803e7f0 100644
--- a/ash/tooltips/tooltip_controller_unittest.cc
+++ b/ash/tooltips/tooltip_controller_unittest.cc
@@ -266,13 +266,13 @@ TEST_F(TooltipControllerTest, HideTooltipWhenCursorHidden) {
FireTooltipTimer();
EXPECT_TRUE(IsTooltipVisible());
- // Hide the cursor and check again.
- ash::Shell::GetInstance()->cursor_manager()->ShowCursor(false);
+ // Disable the cursor and check again.
+ ash::Shell::GetInstance()->cursor_manager()->EnableCursor(false);
FireTooltipTimer();
EXPECT_FALSE(IsTooltipVisible());
- // Show the cursor and re-check.
- ash::Shell::GetInstance()->cursor_manager()->ShowCursor(true);
+ // Enable the cursor and re-check.
+ ash::Shell::GetInstance()->cursor_manager()->EnableCursor(true);
FireTooltipTimer();
EXPECT_TRUE(IsTooltipVisible());
}

Powered by Google App Engine
This is Rietveld 408576698