| Index: services/ui/ws/window_tree.cc
|
| diff --git a/services/ui/ws/window_tree.cc b/services/ui/ws/window_tree.cc
|
| index 421b1972ee5788f2ba37a7eb021086b3dbcb1a52..39b3f90cc98f6411519b4a9772fa484858c2e0a5 100644
|
| --- a/services/ui/ws/window_tree.cc
|
| +++ b/services/ui/ws/window_tree.cc
|
| @@ -2146,6 +2146,15 @@ void WindowTree::CancelWindowMove(Id window_id) {
|
| window_server_->GetCurrentMoveLoopChangeId());
|
| }
|
|
|
| +void WindowTree::GetFrameSinkId(Id window_id) {
|
| + ServerWindow* window = GetWindowByClientId(ClientWindowId(window_id));
|
| + if (!window) {
|
| + DVLOG(1) << "GetFrameSinkId failed (invalid window id)";
|
| + return;
|
| + }
|
| + client()->OnFrameSinkIdAllocated(window_id, window->frame_sink_id());
|
| +}
|
| +
|
| void WindowTree::AddAccelerators(
|
| std::vector<mojom::WmAcceleratorPtr> accelerators,
|
| const AddAcceleratorsCallback& callback) {
|
|
|