Chromium Code Reviews| Index: ui/aura/mus/window_tree_client.cc |
| diff --git a/ui/aura/mus/window_tree_client.cc b/ui/aura/mus/window_tree_client.cc |
| index 2c22cb46b6e0bbb51164e6501d08c7bc71d076ce..6aa5f9f91e7c852f8b0c438dc5fce82a78eb9ac4 100644 |
| --- a/ui/aura/mus/window_tree_client.cc |
| +++ b/ui/aura/mus/window_tree_client.cc |
| @@ -1710,6 +1710,22 @@ void WindowTreeClient::OnWindowTreeHostStackAtTop( |
| tree_->StackAtTop(change_id, window->server_id()); |
| } |
| +void WindowTreeClient::OnWindowTreeHostPerformWindowMove( |
| + WindowTreeHostMus* window_tree_host, |
| + ui::mojom::MoveLoopSource source, |
| + const gfx::Point& cursor_location, |
| + const base::Callback<void(bool)>& callback) { |
| + PerformWindowMove(window_tree_host->window(), |
|
sky
2017/01/27 19:00:31
Is there any reason to keep the PerformWindowMove/
Elliot Glaysher
2017/01/27 20:22:16
There are not. Moved implementations.
|
| + source, |
| + cursor_location, |
| + callback); |
| +} |
| + |
| +void WindowTreeClient::OnWindowTreeHostCancelWindowMove( |
| + WindowTreeHostMus* window_tree_host) { |
| + CancelWindowMove(window_tree_host->window()); |
| +} |
| + |
| std::unique_ptr<WindowPortMus> WindowTreeClient::CreateWindowPortForTopLevel( |
| const std::map<std::string, std::vector<uint8_t>>* properties) { |
| std::unique_ptr<WindowPortMus> window_port = |