Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(312)

Unified Diff: services/ui/public/interfaces/window_tree.mojom

Issue 2878113002: mus: Embedder can request and observe BeginFrame for embedded client. (Closed)
Patch Set: . Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 47c812cc250796164ad1aaa2d114650cb42fa949..0abac597f54f75b4d200ce6e74f5bdb18deee040 100644
--- a/services/ui/public/interfaces/window_tree.mojom
+++ b/services/ui/public/interfaces/window_tree.mojom
@@ -5,6 +5,7 @@
module ui.mojom;
import "cc/ipc/frame_sink_id.mojom";
+import "cc/ipc/frame_sink_manager.mojom";
import "cc/ipc/local_surface_id.mojom";
import "cc/ipc/surface_id.mojom";
import "cc/ipc/surface_info.mojom";
@@ -111,6 +112,10 @@ interface WindowTree {
SetWindowBounds(uint32 change_id, uint32 window_id, gfx.mojom.Rect bounds,
cc.mojom.LocalSurfaceId? local_surface_id);
+ // Requests to be notified of begin-frame messages for the client window
+ // embedded in |window_id|.
+ RequestBeginFrames(uint32 window_id, cc.mojom.FrameSinkObserver observer);
sky 2017/05/14 16:26:58 The browser and renderer already have a more direc
+
// Sets the client area of the specified window. The client area is specified
// by way of insets. Everything outside of the insets, and not in
// |additional_client_areas| is considered non-client area.

Powered by Google App Engine
This is Rietveld 408576698