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

Unified Diff: ash/wm/ash_native_cursor_manager_unittest.cc

Issue 72503002: Remove some pass-thrus on RootWindow API in favor of exposing the RootWindowHost again. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 1 month 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/wm/ash_native_cursor_manager_interactive_uitest.cc ('k') | ash/wm/boot_splash_screen_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/ash_native_cursor_manager_unittest.cc
diff --git a/ash/wm/ash_native_cursor_manager_unittest.cc b/ash/wm/ash_native_cursor_manager_unittest.cc
index 76da49d47efbfed62225c225604697f129d78e7d..6ca1bf2b3ecbe0df404625b2c9ddd7cf2507084f 100644
--- a/ash/wm/ash_native_cursor_manager_unittest.cc
+++ b/ash/wm/ash_native_cursor_manager_unittest.cc
@@ -195,10 +195,10 @@ TEST_F(AshNativeCursorManagerTest, DisabledQueryMouseLocation) {
#endif
aura::WindowEventDispatcher* dispatcher = root_window->GetDispatcher();
gfx::Point mouse_location;
- EXPECT_TRUE(dispatcher->QueryMouseLocationForTest(&mouse_location));
+ EXPECT_TRUE(dispatcher->host()->QueryMouseLocation(&mouse_location));
EXPECT_EQ("10,10", mouse_location.ToString());
Shell::GetInstance()->cursor_manager()->DisableMouseEvents();
- EXPECT_FALSE(dispatcher->QueryMouseLocationForTest(&mouse_location));
+ EXPECT_FALSE(dispatcher->host()->QueryMouseLocation(&mouse_location));
EXPECT_EQ("0,0", mouse_location.ToString());
}
« no previous file with comments | « ash/wm/ash_native_cursor_manager_interactive_uitest.cc ('k') | ash/wm/boot_splash_screen_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698