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

Unified Diff: cc/ipc/mojo_compositor_frame_sink.mojom

Issue 2701663003: CompositorFrameSinkSupportClient::WillDraw needs to take in arguments (Closed)
Patch Set: c 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 | « android_webview/browser/surfaces_instance.cc ('k') | cc/surfaces/compositor_frame_sink_support.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/ipc/mojo_compositor_frame_sink.mojom
diff --git a/cc/ipc/mojo_compositor_frame_sink.mojom b/cc/ipc/mojo_compositor_frame_sink.mojom
index bf2e196f79956523a6f3e578a2decc796cd35959..049740e3d8003b44bba3bc5ac872fb3a4e63d6d5 100644
--- a/cc/ipc/mojo_compositor_frame_sink.mojom
+++ b/cc/ipc/mojo_compositor_frame_sink.mojom
@@ -11,6 +11,7 @@ import "cc/ipc/local_surface_id.mojom";
import "cc/ipc/surface_reference.mojom";
import "cc/ipc/returned_resource.mojom";
import "cc/ipc/surface_sequence.mojom";
+import "ui/gfx/geometry/mojo/geometry.mojom";
// A MojoCompositorFrameSink is an interface for receiving CompositorFrame
// structs. A CompositorFrame contains the complete output meant for display.
@@ -67,7 +68,7 @@ interface MojoCompositorFrameSinkClient {
ReclaimResources(ReturnedResourceArray resources);
// Called when surface is being scheduled for a draw.
- WillDrawSurface();
+ WillDrawSurface(LocalSurfaceId local_surface_id, gfx.mojom.Rect damage_rect);
};
// MojoCompositorFrameSinkPrivate is used by the display compositor host to set
« no previous file with comments | « android_webview/browser/surfaces_instance.cc ('k') | cc/surfaces/compositor_frame_sink_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698