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

Unified Diff: ash/test/ash_test_base.cc

Issue 92413002: Cursor state should be global for all CursorManagers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Patch for review Created 7 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
« no previous file with comments | « no previous file | ash/test/cursor_manager_test_api.cc » ('j') | ui/aura/test/test_cursor_client.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/ash_test_base.cc
diff --git a/ash/test/ash_test_base.cc b/ash/test/ash_test_base.cc
index cd4174a4ee8690308998420e90b8dbd78dba2871..841a16f3b5c1e5263517501fb9db5dc81d78ddfc 100644
--- a/ash/test/ash_test_base.cc
+++ b/ash/test/ash_test_base.cc
@@ -126,7 +126,7 @@ void AshTestBase::SetUp() {
// Move the mouse cursor to far away so that native events doesn't
// interfere test expectations.
Shell::GetPrimaryRootWindow()->MoveCursorTo(gfx::Point(-1000, -1000));
- ash::Shell::GetInstance()->cursor_manager()->EnableMouseEvents();
+ ash::Shell::GetInstance()->cursor_manager()->ResetState();
#if defined(OS_WIN)
if (!command_line->HasSwitch(ash::switches::kForceAshToDesktop)) {
« no previous file with comments | « no previous file | ash/test/cursor_manager_test_api.cc » ('j') | ui/aura/test/test_cursor_client.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698