Index: services/ui/public/interfaces/window_tree.mojom |
diff --git a/services/ui/public/interfaces/window_tree.mojom b/services/ui/public/interfaces/window_tree.mojom |
index 728039eda7ad4e37391c35d0945c32559e5f2f7b..aba9399c8d4fa0416bc10af6027d6f0d9f04b958 100644 |
--- a/services/ui/public/interfaces/window_tree.mojom |
+++ b/services/ui/public/interfaces/window_tree.mojom |
@@ -315,6 +315,10 @@ interface WindowTree { |
// Called by the client to cancel any in progress drag drop operation. This |
// will result in a change completed for the underlying change. |
CancelDragDrop(uint32 window_id); |
+ |
+ // Get the FrameSinkId for the given window_id. The OnFrameSinkIdAllocated() |
+ // will be called with the FrameSinkId. |
+ GetFrameSinkId(uint32 window_id); |
Fady Samuel
2017/05/18 16:48:51
Who calls this? The embedder? And then the embedde
Peng
2017/05/18 19:37:59
Removed, since the SurfaceInfo will be send to cli
|
}; |
// Changes to windows are not sent to the connection that originated the |
@@ -351,9 +355,9 @@ interface WindowTreeClient { |
// change. |
OnCaptureChanged(uint32 new_capture, uint32 old_capture); |
- // This is called on the owner of a window when it embeds a client in it, |
- // which includes the window manager creating a new window at the request of |
- // another client. |
+ // This is called in response to GetFrameSinkId(), or on the owner of a window |
+ // when it embeds a client in it, which includes the window manager creating |
+ // a new window at the request of another client. |
OnFrameSinkIdAllocated(uint32 window, cc.mojom.FrameSinkId frame_sink_id); |
// Called in response to NewTopLevelWindow() successfully completing. |