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

Unified Diff: ash/display/mouse_cursor_event_filter.h

Issue 10948020: Convert native mouse locations to the locations in screen coordinate in RootWindowHostLinux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 3 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/mouse_cursor_event_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/mouse_cursor_event_filter.h
diff --git a/ash/display/mouse_cursor_event_filter.h b/ash/display/mouse_cursor_event_filter.h
index 1165fa72540724ec984c1804e33e40ff43ff5ddb..25c0bd38e845d07bc955ff7bd2356f2e81d95954 100644
--- a/ash/display/mouse_cursor_event_filter.h
+++ b/ash/display/mouse_cursor_event_filter.h
@@ -72,12 +72,12 @@ class ASH_EXPORT MouseCursorEventFilter : public aura::EventFilter {
FRIEND_TEST_ALL_PREFIXES(WorkspaceWindowResizerTest, WarpMousePointer);
// Warps the mouse cursor to an alternate root window when the
- // |point_in_root|, which is the location of the mouse cursor,
- // hits or exceeds the edge of the |root_window| and the mouse cursor
+ // |point_in_screen|, which is the location of the mouse cursor,
+ // hits or exceeds the edge of the |target_root| and the mouse cursor
// is considered to be in an alternate display. Returns true if
// the cursor was moved.
- bool WarpMouseCursorIfNecessary(aura::RootWindow* root_window,
- const gfx::Point& point_in_root);
+ bool WarpMouseCursorIfNecessary(aura::RootWindow* target_root,
+ const gfx::Point& point_in_screen);
void UpdateHorizontalIndicatorWindowBounds();
void UpdateVerticalIndicatorWindowBounds();
« no previous file with comments | « no previous file | ash/display/mouse_cursor_event_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698