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

Unified Diff: ash/wm/immersive_fullscreen_controller_unittest.cc

Issue 405483005: Make old cursor warp mode ozone only (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: gn fix Created 6 years, 5 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/display/mouse_cursor_event_filter_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/immersive_fullscreen_controller_unittest.cc
diff --git a/ash/wm/immersive_fullscreen_controller_unittest.cc b/ash/wm/immersive_fullscreen_controller_unittest.cc
index 96391a1c4653967fae5175237be63a60d275ed9d..8868689222224941ac2473dbe07279291d4a7cdc 100644
--- a/ash/wm/immersive_fullscreen_controller_unittest.cc
+++ b/ash/wm/immersive_fullscreen_controller_unittest.cc
@@ -544,10 +544,9 @@ TEST_F(ImmersiveFullscreenControllerTest, MouseEventsVerticalDisplayLayout) {
EXPECT_TRUE(top_edge_hover_timer_running());
// TODO(oshima): Provide a test API to handle mouse warp more easily.
- if (!MouseCursorEventFilter::IsMouseWarpInNativeCoordsEnabled()) {
- EXPECT_NE(y_top_edge,
- aura::Env::GetInstance()->last_mouse_location().y());
- }
+#if defined(USE_OZONE)
+ EXPECT_NE(y_top_edge, aura::Env::GetInstance()->last_mouse_location().y());
+#endif
// The timer should continue running if the user overshoots the top edge
// a bit.
« no previous file with comments | « ash/display/mouse_cursor_event_filter_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698