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

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

Issue 2479563005: Create manager to track OffscreenCanvasSurfaceImpl instances (Closed)
Patch Set: Created 4 years, 1 month 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 f4e4448d561060e6fd9d53c0f2bae50a8f2d5c4e..d45c7d25ec812f79f2b3436b61a31a494df417ce 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
@@ -14,14 +14,15 @@ interface OffscreenCanvasSurface {
// change on surface_id generator that makes client side be able to generate
// unique surface_id.id_namespace alone.
[Sync]
- GetSurfaceId() => (cc.mojom.SurfaceId surface_id);
+ GetSurfaceId(uint32 canvas_id) => (cc.mojom.SurfaceId surface_id);
dcheng 2016/11/08 18:30:23 Help me understand =) What is canvas id? why do w
xlai (Olivia) 2016/11/10 15:45:11 Canvas ID is a unique identifier for an HTMLCanvas
dcheng 2016/11/11 08:36:40 In a Mojo world though, I would expect the endpoin
Require(cc.mojom.SurfaceId surface_id, cc.mojom.SurfaceSequence sequence);
Satisfy(cc.mojom.SurfaceSequence sequence);
};
interface OffscreenCanvasCompositorFrameSinkProvider {
- CreateCompositorFrameSink(cc.mojom.SurfaceId surface_id,
+ CreateCompositorFrameSink(uint32 canvas_id,
+ cc.mojom.SurfaceId surface_id,
cc.mojom.MojoCompositorFrameSinkClient client,
cc.mojom.MojoCompositorFrameSink& sink);
};

Powered by Google App Engine
This is Rietveld 408576698