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..ce694a8946979526ea772679d3e600c7eef5f277 100644 |
| --- a/ui/aura/root_window.h |
| +++ b/ui/aura/root_window.h |
| @@ -100,6 +100,10 @@ class AURA_EXPORT RootWindow : public ui::CompositorDelegate, |
| focus_manager_ = focus_manager; |
| } |
| +#ifdef UNIT_TEST |
| + RootWindowHost* host() { return host_.get(); } |
|
Ben Goodger (Google)
2012/06/18 16:50:21
can we expose QueryMouseLocation() on RootWindow r
yoshiki
2012/06/18 18:49:39
Done.
|
| +#endif |
| + |
| // Initializes the root window. |
| void Init(); |
| @@ -126,7 +130,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(); |