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

Unified Diff: ui/aura/root_window.h

Issue 13947045: Magnifier: Move the cursor directly to the root window host. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed comments Created 7 years, 8 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: ui/aura/root_window.h
diff --git a/ui/aura/root_window.h b/ui/aura/root_window.h
index 11f59773a8a24826d06399c46c6fa72a7e06e588..3ebf375a0656c67e8a173bab049cabde5c225c4e 100644
--- a/ui/aura/root_window.h
+++ b/ui/aura/root_window.h
@@ -129,6 +129,9 @@ class AURA_EXPORT RootWindow : public ui::CompositorDelegate,
// Moves the cursor to the specified location relative to the root window.
virtual void MoveCursorTo(const gfx::Point& location) OVERRIDE;
+ // Moves the cursor to the |host_location| given in host coordinates.
+ void MoveCursorToHostLoation(const gfx::Point& host_location);
+
// Clips the cursor movement to the root_window.
bool ConfineCursorToWindow();

Powered by Google App Engine
This is Rietveld 408576698