| 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 8cc1db05aa675fa6f0d90699eb40c0d918828a74..25f8eb517745d0f6f19ce02b4dbc6276f4110b07 100644
|
| --- a/ui/aura/mus/window_tree_client.cc
|
| +++ b/ui/aura/mus/window_tree_client.cc
|
| @@ -1485,6 +1485,36 @@ void WindowTreeClient::WmClientJankinessChanged(ClientSpecificId client_id,
|
| }
|
| }
|
|
|
| +void WindowTreeClient::WmBuildDragImage(const gfx::Point& cursor_location,
|
| + const SkBitmap& drag_image,
|
| + const gfx::Vector2d& drag_image_offset,
|
| + ui::mojom::DragEventSource source) {
|
| + if (!window_manager_delegate_)
|
| + return;
|
| +
|
| + window_manager_delegate_->OnWmBuildDragImage(cursor_location, drag_image,
|
| + drag_image_offset, source);
|
| +}
|
| +
|
| +void WindowTreeClient::WmMoveDragImage(
|
| + const gfx::Point& cursor_location,
|
| + const WmMoveDragImageCallback& callback) {
|
| + if (!window_manager_delegate_) {
|
| + callback.Run();
|
| + return;
|
| + }
|
| +
|
| + window_manager_delegate_->OnWmMoveDragImage(cursor_location);
|
| + callback.Run();
|
| +}
|
| +
|
| +void WindowTreeClient::WmDestroyDragImage() {
|
| + if (!window_manager_delegate_)
|
| + return;
|
| +
|
| + window_manager_delegate_->OnWmDestroyDragImage();
|
| +}
|
| +
|
| void WindowTreeClient::WmPerformMoveLoop(uint32_t change_id,
|
| Id window_id,
|
| ui::mojom::MoveLoopSource source,
|
|
|