Chromium Code Reviews| Index: ui/aura/mus/window_tree_host_mus.cc |
| diff --git a/ui/aura/mus/window_tree_host_mus.cc b/ui/aura/mus/window_tree_host_mus.cc |
| index 85cdf6a4dbffecb270771c8ea66f2d378295362c..e3d32ae33c7b66c8bb979457c971a9952cf764af 100644 |
| --- a/ui/aura/mus/window_tree_host_mus.cc |
| +++ b/ui/aura/mus/window_tree_host_mus.cc |
| @@ -200,10 +200,11 @@ gfx::ICCProfile WindowTreeHostMus::GetICCProfileForCurrentDisplay() { |
| void WindowTreeHostMus::MoveCursorToScreenLocationInPixels( |
| const gfx::Point& location_in_pixels) { |
| - // TODO: this needs to message the server http://crbug.com/693340. Setting |
| - // the location is really only appropriate in tests, outside of tests this |
| - // value is ignored. |
| - NOTIMPLEMENTED(); |
| + gfx::Point dip_location = location_in_pixels; |
| + ConvertScreenInPixelsToDIP(&dip_location); |
|
riajiang
2017/06/01 21:27:30
EventDispatcher::SetMousePointerDisplayLocation ex
Elliot Glaysher
2017/06/01 22:05:23
Done, though I remain confused about when and wher
riajiang
2017/06/01 22:20:18
Event root_location has changed to be in pixels in
|
| + delegate_->OnWindowTreeHostMoveCursorToDisplayLocation(dip_location, |
| + display_id_); |
| + |
| Env::GetInstance()->set_last_mouse_location(location_in_pixels); |
| } |