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

Unified Diff: third_party/WebKit/public/platform/modules/offscreencanvas/offscreen_canvas_surface.mojom

Issue 2294963002: Submit Compositor Frame from OffscreenCanvas on main (Closed)
Patch Set: Using Ref test fixes layout test problem Created 4 years, 3 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: 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 d3f3aa8a17378716edff9265ca798e66b378f475..e9826a68be816df82de79f3b15e85c2e0e5ff5e6 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
@@ -18,9 +18,14 @@ interface OffscreenCanvasSurface {
Require(cc.mojom.SurfaceId surface_id, cc.mojom.SurfaceSequence sequence);
Satisfy(cc.mojom.SurfaceSequence sequence);
+};
+
+// This interface is called from either worker or main thread in renderer, but
+// not both for the same OffscreenCanvas instance.
+// TODO(563858): Make commit() work for worker.
danakj 2016/09/02 19:12:43 Assuming this is a bug number, the syntax is TODO
xlai (Olivia) 2016/09/02 20:10:07 Done and elsewhere.
+interface OffscreenCanvasFrameReceiver {
+
+ SubmitCompositorFrame(cc.mojom.SurfaceId surface_id, cc.mojom.CompositorFrame compositor_frame);
- // TODO(563852): Move this function to be in an interface shared by both
- // worker thread and main thread.
- // SubmitCompositorFrame(cc.mojom.CompositorFrame compositor_frame);
};

Powered by Google App Engine
This is Rietveld 408576698