Index: ui/aura/root_window.h |
diff --git a/ui/aura/root_window.h b/ui/aura/root_window.h |
index 3ebf375a0656c67e8a173bab049cabde5c225c4e..e4a41716cf900c4180b41850bb3d276eaae6bb60 100644 |
--- a/ui/aura/root_window.h |
+++ b/ui/aura/root_window.h |
@@ -130,7 +130,7 @@ class AURA_EXPORT RootWindow : public ui::CompositorDelegate, |
virtual void MoveCursorTo(const gfx::Point& location) OVERRIDE; |
// Moves the cursor to the |host_location| given in host coordinates. |
- void MoveCursorToHostLoation(const gfx::Point& host_location); |
+ void MoveCursorToHostLocation(const gfx::Point& host_location); |
// Clips the cursor movement to the root_window. |
bool ConfineCursorToWindow(); |
@@ -318,6 +318,11 @@ class AURA_EXPORT RootWindow : public ui::CompositorDelegate, |
void TransformEventForDeviceScaleFactor(bool keep_inside_root, |
ui::LocatedEvent* event); |
+ // Moves the cursor to the specified location. This method is internally used |
+ // by MoveCursorTo() and MoveCursorToHostLocation(). |
+ void MoveCursorToInternal(const gfx::Point& root_location, |
+ const gfx::Point& host_location); |
+ |
// Called whenever the mouse moves, tracks the current |mouse_moved_handler_|, |
// sending exited and entered events as its value changes. |
void HandleMouseMoved(const ui::MouseEvent& event, Window* target); |