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

Unified Diff: ash/wm/immersive_fullscreen_controller.cc

Issue 902123002: Fix initial hiding and centering cursor on Ozone (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
Index: ash/wm/immersive_fullscreen_controller.cc
diff --git a/ash/wm/immersive_fullscreen_controller.cc b/ash/wm/immersive_fullscreen_controller.cc
index 75781d5577ab2c74bc0c5ec36f0ce55488db5f52..0d0c54d361321e147edad20e48aef04416acda46 100644
--- a/ash/wm/immersive_fullscreen_controller.cc
+++ b/ash/wm/immersive_fullscreen_controller.cc
@@ -355,7 +355,7 @@ void ImmersiveFullscreenController::SetupForTest() {
bottommost_in_screen = bounds_in_screen[i].bottom();
}
gfx::Point cursor_pos(0, bottommost_in_screen + 100);
- aura::Env::GetInstance()->set_last_mouse_location(cursor_pos);
+ aura::Env::GetInstance()->SetLastMouseLocation(cursor_pos);
UpdateLocatedEventRevealedLock(NULL);
}

Powered by Google App Engine
This is Rietveld 408576698