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

Unified Diff: ash/display/display_controller.h

Issue 10821067: Simplify DisplayController::WarpMouseCursorIfNecessary using Virtual Screen Coordinates (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 8 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 | « no previous file | ash/display/display_controller.cc » ('j') | no next file with comments »
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 189f2db67b9133a757f7f21bd62abf3cea283d6d..7a151fbfe1a0c12f72c40805f5a06e2265ef1512 100644
--- a/ash/display/display_controller.h
+++ b/ash/display/display_controller.h
@@ -69,12 +69,12 @@ class ASH_EXPORT DisplayController : public aura::DisplayObserver {
void SetSecondaryDisplayLayout(SecondaryDisplayLayout layout);
// Warps the mouse cursor to an alternate root window when the
- // |location_in_root|, which is the location of the mouse cursor,
+ // |point_in_root|, which is the location of the mouse cursor,
// hits or exceeds the edge of the |root_window| and the mouse cursor
// is considered to be in an alternate display. Returns true if
// the cursor was moved.
- bool WarpMouseCursorIfNecessary(aura::Window* root_window,
- const gfx::Point& location_in_root);
+ bool WarpMouseCursorIfNecessary(aura::RootWindow* root_window,
+ const gfx::Point& point_in_root);
// aura::DisplayObserver overrides:
virtual void OnDisplayBoundsChanged(
« no previous file with comments | « no previous file | ash/display/display_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698