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

Unified Diff: ui/aura/root_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: review fix 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/root_window.h
diff --git a/ui/aura/root_window.h b/ui/aura/root_window.h
index bf1918c6e1461dbab3cacf42a4c99586d1c4519d..ca7f6e3118755b1a4eeda54539c5745634be3131 100644
--- a/ui/aura/root_window.h
+++ b/ui/aura/root_window.h
@@ -126,7 +126,7 @@ class AURA_EXPORT RootWindow : public ui::CompositorDelegate,
void ShowCursor(bool show);
// Moves the cursor to the specified location relative to the root window.
- void MoveCursorTo(const gfx::Point& location);
+ virtual void MoveCursorTo(const gfx::Point& location) OVERRIDE;
// Clips the cursor movement to the root_window.
bool ConfineCursorToWindow();
@@ -264,6 +264,9 @@ class AURA_EXPORT RootWindow : public ui::CompositorDelegate,
virtual void SetNativeCapture() OVERRIDE;
virtual void ReleaseNativeCapture() OVERRIDE;
+ // Exposes RootWindowHost::QueryMouseLocation() for test purpose.
Ben Goodger (Google) 2012/06/18 20:30:52 purposes
+ gfx::Point QueryMouseLocationForTest() const;
+
private:
friend class Window;
friend class CompositorLock;

Powered by Google App Engine
This is Rietveld 408576698