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

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

Issue 2695603002: Replace OffscreenCanvasSurfaceClient with DisplayCompositorClient (Closed)
Patch Set: Delete unused import surface_info Created 3 years, 10 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
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 afd4249aa1d9652c30f881fd7e7d60283a8d9be1..3c32a12e060ce0c57cbe13ae08b98980a006a61b 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,10 +5,10 @@
module blink.mojom;
import "cc/ipc/compositor_frame.mojom";
+import "cc/ipc/display_compositor.mojom";
import "cc/ipc/frame_sink_id.mojom";
import "cc/ipc/mojo_compositor_frame_sink.mojom";
import "cc/ipc/surface_id.mojom";
-import "cc/ipc/surface_info.mojom";
import "cc/ipc/surface_sequence.mojom";
interface OffscreenCanvasSurface {
@@ -16,15 +16,10 @@ interface OffscreenCanvasSurface {
Satisfy(cc.mojom.SurfaceSequence sequence);
};
-interface OffscreenCanvasSurfaceClient {
- // TODO(fsamuel, xlai): Replace this with DisplayCompositorClient
- OnSurfaceCreated(cc.mojom.SurfaceInfo surface_info);
-};
-
interface OffscreenCanvasSurfaceFactory {
CreateOffscreenCanvasSurface(cc.mojom.FrameSinkId parent_frame_sink_id,
cc.mojom.FrameSinkId frame_sink_id,
- OffscreenCanvasSurfaceClient client,
+ cc.mojom.DisplayCompositorClient client,
OffscreenCanvasSurface& service);
};
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698