summaryrefslogtreecommitdiffstats
path: root/ui/aura/root_window.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/aura/root_window.h')
-rw-r--r--ui/aura/root_window.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/aura/root_window.h b/ui/aura/root_window.h
index 4a9ac6a..f0722b5 100644
--- a/ui/aura/root_window.h
+++ b/ui/aura/root_window.h
@@ -129,7 +129,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();
@@ -267,6 +267,9 @@ class AURA_EXPORT RootWindow : public ui::CompositorDelegate,
virtual void SetNativeCapture() OVERRIDE;
virtual void ReleaseNativeCapture() OVERRIDE;
+ // Exposes RootWindowHost::QueryMouseLocation() for test purposes.
+ gfx::Point QueryMouseLocationForTest() const;
+
private:
friend class Window;
friend class CompositorLock;