| Index: ui/aura/window.cc
|
| diff --git a/ui/aura/window.cc b/ui/aura/window.cc
|
| index 1c2554723ede63c285812daa116b96f431580285..758a76741a5489fe5ca707e1fc513c0092636137 100644
|
| --- a/ui/aura/window.cc
|
| +++ b/ui/aura/window.cc
|
| @@ -407,6 +407,14 @@ void Window::ConvertPointToWindow(const Window* source,
|
| ui::Layer::ConvertPointToLayer(source->layer(), target->layer(), point);
|
| }
|
|
|
| +void Window::MoveCursorTo(const gfx::Point& point_in_window) {
|
| + RootWindow* root_window = GetRootWindow();
|
| + DCHECK(root_window);
|
| + gfx::Point point_in_root(point_in_window);
|
| + ConvertPointToWindow(this, root_window, &point_in_root);
|
| + root_window->MoveCursorTo(point_in_root);
|
| +}
|
| +
|
| gfx::NativeCursor Window::GetCursor(const gfx::Point& point) const {
|
| return delegate_ ? delegate_->GetCursor(point) : gfx::kNullCursor;
|
| }
|
|
|