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

Unified Diff: ui/aura/window.h

Issue 10543174: Aura: Add Window::MoveCursorTo() taking relative location to the window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added test. Created 8 years, 6 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/window.h
diff --git a/ui/aura/window.h b/ui/aura/window.h
index a516730abf5545fe7ab78ef3813ddb8234636a5a..34a5702b4c6c9a5d7c1bc555a0ec69a5971554c1 100644
--- a/ui/aura/window.h
+++ b/ui/aura/window.h
@@ -213,6 +213,9 @@ class AURA_EXPORT Window : public ui::LayerDelegate,
const Window* target,
gfx::Point* point);
+ // Moves the cursor to the specified location relative to the window.
+ virtual void MoveCursorTo(const gfx::Point& point_in_window);
+
// Returns the cursor for the specified point, in window coordinates.
gfx::NativeCursor GetCursor(const gfx::Point& point) const;
« no previous file with comments | « ui/aura/root_window.cc ('k') | ui/aura/window.cc » ('j') | ui/aura/window_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698