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

Unified Diff: ash/tooltips/tooltip_controller_unittest.cc

Issue 11956019: Merge 173933 (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1364/src/
Patch Set: Created 7 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 | « ash/test/cursor_manager_test_api.cc ('k') | ash/wm/cursor_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/tooltips/tooltip_controller_unittest.cc
===================================================================
--- ash/tooltips/tooltip_controller_unittest.cc (revision 177177)
+++ ash/tooltips/tooltip_controller_unittest.cc (working copy)
@@ -267,12 +267,12 @@
EXPECT_TRUE(IsTooltipVisible());
// Hide the cursor and check again.
- ash::Shell::GetInstance()->cursor_manager()->ShowCursor(false);
+ ash::Shell::GetInstance()->cursor_manager()->DisableMouseEvents();
FireTooltipTimer();
EXPECT_FALSE(IsTooltipVisible());
// Show the cursor and re-check.
- ash::Shell::GetInstance()->cursor_manager()->ShowCursor(true);
+ ash::Shell::GetInstance()->cursor_manager()->EnableMouseEvents();
FireTooltipTimer();
EXPECT_TRUE(IsTooltipVisible());
}
« no previous file with comments | « ash/test/cursor_manager_test_api.cc ('k') | ash/wm/cursor_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698