| Index: cc/surfaces/compositor_frame_sink_support_client.h
|
| diff --git a/cc/surfaces/compositor_frame_sink_support_client.h b/cc/surfaces/compositor_frame_sink_support_client.h
|
| index e3f6dab23e141af7ecbce53857713369cd04b3dc..905f6db8ec7436196941b9a05275a4caacb747b2 100644
|
| --- a/cc/surfaces/compositor_frame_sink_support_client.h
|
| +++ b/cc/surfaces/compositor_frame_sink_support_client.h
|
| @@ -7,8 +7,14 @@
|
|
|
| #include "cc/resources/returned_resource.h"
|
|
|
| +namespace gfx {
|
| +class Rect;
|
| +}
|
| +
|
| namespace cc {
|
|
|
| +class LocalSurfaceId;
|
| +
|
| struct BeginFrameArgs;
|
|
|
| class CompositorFrameSinkSupportClient {
|
| @@ -29,7 +35,8 @@ class CompositorFrameSinkSupportClient {
|
| virtual void ReclaimResources(const ReturnedResourceArray& resources) = 0;
|
|
|
| // Called when surface is being scheduled for a draw.
|
| - virtual void WillDrawSurface() = 0;
|
| + virtual void WillDrawSurface(const LocalSurfaceId& local_surface_id,
|
| + const gfx::Rect& damage_rect) = 0;
|
|
|
| protected:
|
| virtual ~CompositorFrameSinkSupportClient() {}
|
|
|