| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "ui/aura/mus/window_tree_host_mus.h" | 5 #include "ui/aura/mus/window_tree_host_mus.h" |
| 6 | 6 |
| 7 #include "base/memory/ptr_util.h" | 7 #include "base/memory/ptr_util.h" |
| 8 #include "ui/aura/env.h" | 8 #include "ui/aura/env.h" |
| 9 #include "ui/aura/mus/input_method_mus.h" | 9 #include "ui/aura/mus/input_method_mus.h" |
| 10 #include "ui/aura/mus/window_port_mus.h" | 10 #include "ui/aura/mus/window_port_mus.h" |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 | 209 |
| 210 void WindowTreeHostMus::OnCloseRequest() { | 210 void WindowTreeHostMus::OnCloseRequest() { |
| 211 OnHostCloseRequested(); | 211 OnHostCloseRequested(); |
| 212 } | 212 } |
| 213 | 213 |
| 214 gfx::ICCProfile WindowTreeHostMus::GetICCProfileForCurrentDisplay() { | 214 gfx::ICCProfile WindowTreeHostMus::GetICCProfileForCurrentDisplay() { |
| 215 // TODO: This should read the profile from mus. crbug.com/647510 | 215 // TODO: This should read the profile from mus. crbug.com/647510 |
| 216 return gfx::ICCProfile(); | 216 return gfx::ICCProfile(); |
| 217 } | 217 } |
| 218 | 218 |
| 219 void WindowTreeHostMus::MoveCursorToScreenLocationInPixels( |
| 220 const gfx::Point& location_in_pixels) { |
| 221 // TODO: this needs to message the server http://crbug.com/693340. Setting |
| 222 // the location is really only appropriate in tests, outside of tests this |
| 223 // value is ignored. |
| 224 NOTIMPLEMENTED(); |
| 225 Env::GetInstance()->set_last_mouse_location(location_in_pixels); |
| 226 } |
| 227 |
| 219 } // namespace aura | 228 } // namespace aura |
| OLD | NEW |