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

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

Issue 2610723002: Unify SurfaceInfo (Closed)
Patch Set: Cleanup offscreen canvas Created 3 years, 12 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/public/blink_typemaps.gni ('k') | ui/aura/mus/DEPS » ('j') | 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 ecc7f3d5a33a89def9db3e02700267de4de9d918..2eaca70e4ffb07a994d0f0fb219916bb4d07b929 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
@@ -8,6 +8,7 @@ import "cc/ipc/compositor_frame.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 {
@@ -17,10 +18,7 @@ interface OffscreenCanvasSurface {
interface OffscreenCanvasSurfaceClient {
// TODO(fsamuel, xlai): Replace this with DisplayCompositorClient
- OnSurfaceCreated(cc.mojom.SurfaceId surface_id,
- int32 width,
- int32 height,
- float device_scale_factor);
+ OnSurfaceCreated(cc.mojom.SurfaceInfo surface_info);
};
interface OffscreenCanvasSurfaceFactory {
« no previous file with comments | « third_party/WebKit/public/blink_typemaps.gni ('k') | ui/aura/mus/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698