Chromium Code Reviews| 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; |