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

Unified Diff: ash/display/display_controller.h

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
« no previous file with comments | « no previous file | ash/display/display_controller.cc » ('j') | ash/display/display_controller.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/display_controller.h
diff --git a/ash/display/display_controller.h b/ash/display/display_controller.h
index 73822e859b3e15881478404a6b7cc5120ac0e5a7..c42645d4fad91a1a7481fdec8cd714aab99fdb17 100644
--- a/ash/display/display_controller.h
+++ b/ash/display/display_controller.h
@@ -211,10 +211,11 @@ class ASH_EXPORT DisplayController : public gfx::DisplayObserver,
scoped_ptr<CursorWindowController> cursor_window_controller_;
scoped_ptr<MirrorWindowController> mirror_window_controller_;
- // Stores the curent cursor location (in native coordinates) used to
- // restore the cursor location when display configuration
- // changed.
+ // Stores the current cursor location (in native coordinates and screen
+ // coordinates respectively) used to restore the cursor location when the
+ // display configuration changes.
gfx::Point cursor_location_in_native_coords_for_restore_;
+ gfx::Point cursor_location_in_screen_coords_for_restore_;
base::WeakPtrFactory<DisplayController> weak_ptr_factory_;
« no previous file with comments | « no previous file | ash/display/display_controller.cc » ('j') | ash/display/display_controller.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698