Index: third_party/WebKit/public/platform/modules/offscreencanvas/offscreen_canvas_surface.mojom |
diff --git a/third_party/WebKit/public/platform/modules/offscreencanvas/offscreen_canvas_surface.mojom b/third_party/WebKit/public/platform/modules/offscreencanvas/offscreen_canvas_surface.mojom |
index 5faf670d949eda0b7e5f47befef9db02b0972595..4a2a2641e56e87e45b590d75a78653662c419e25 100644 |
--- a/third_party/WebKit/public/platform/modules/offscreencanvas/offscreen_canvas_surface.mojom |
+++ b/third_party/WebKit/public/platform/modules/offscreencanvas/offscreen_canvas_surface.mojom |
@@ -5,6 +5,7 @@ |
module blink.mojom; |
import "cc/ipc/compositor_frame.mojom"; |
+import "cc/ipc/returned_resource.mojom"; |
import "cc/ipc/surface_id.mojom"; |
import "cc/ipc/surface_sequence.mojom"; |
@@ -23,7 +24,12 @@ interface OffscreenCanvasSurface { |
// not both for the same OffscreenCanvas instance. |
interface OffscreenCanvasFrameReceiver { |
+ SetClient(OffscreenCanvasFrameReceiverClient client); |
SubmitCompositorFrame(cc.mojom.SurfaceId surface_id, cc.mojom.CompositorFrame compositor_frame); |
}; |
+interface OffscreenCanvasFrameReceiverClient { |
+ ReturnResources(array<cc.mojom.ReturnedResource> resources); |
dcheng
2016/09/14 20:02:19
Would it make sense for this to be a generic CC mo
danakj
2016/09/14 20:07:56
Not sure if this is helpful but this here *is* a C
xidachen
2016/09/15 15:56:28
+Fady: WDYT?
|
+}; |
+ |