| Index: cc/surfaces/compositor_frame_sink_support.h
|
| diff --git a/cc/surfaces/compositor_frame_sink_support.h b/cc/surfaces/compositor_frame_sink_support.h
|
| index 977acdf9788bf6aab0ede0ab2283f3a44343e7d6..87231b21dd81d3a7cb89e8f6b700358b043455f5 100644
|
| --- a/cc/surfaces/compositor_frame_sink_support.h
|
| +++ b/cc/surfaces/compositor_frame_sink_support.h
|
| @@ -13,10 +13,13 @@
|
| #include "base/memory/weak_ptr.h"
|
| #include "cc/output/compositor_frame.h"
|
| #include "cc/scheduler/begin_frame_source.h"
|
| +#include "cc/surfaces/frame_sink_manager_client.h"
|
| #include "cc/surfaces/referenced_surface_tracker.h"
|
| +#include "cc/surfaces/surface_aggregator_client.h"
|
| #include "cc/surfaces/surface_factory.h"
|
| #include "cc/surfaces/surface_factory_client.h"
|
| #include "cc/surfaces/surface_id.h"
|
| +#include "cc/surfaces/surface_resource_holder_client.h"
|
| #include "cc/surfaces/surfaces_export.h"
|
|
|
| namespace cc {
|
| @@ -26,7 +29,10 @@ class SurfaceManager;
|
|
|
| class CC_SURFACES_EXPORT CompositorFrameSinkSupport
|
| : public SurfaceFactoryClient,
|
| - public BeginFrameObserver {
|
| + public BeginFrameObserver,
|
| + public SurfaceAggregatorClient,
|
| + public SurfaceResourceHolderClient,
|
| + public FrameSinkManagerClient {
|
| public:
|
| static std::unique_ptr<CompositorFrameSinkSupport> Create(
|
| CompositorFrameSinkSupportClient* client,
|
| @@ -52,8 +58,14 @@ class CC_SURFACES_EXPORT CompositorFrameSinkSupport
|
| void ReferencedSurfacesChanged(
|
| const LocalSurfaceId& local_surface_id,
|
| const std::vector<SurfaceId>* active_referenced_surfaces) override;
|
| +
|
| + // SurfaceResourceHolderClient implementation.
|
| void ReturnResources(const ReturnedResourceArray& resources) override;
|
| +
|
| + // FrameSinkManagerClient implementation.
|
| void SetBeginFrameSource(BeginFrameSource* begin_frame_source) override;
|
| +
|
| + // SurfaceAggregatorClient implementation.
|
| void WillDrawSurface(const LocalSurfaceId& local_surface_id,
|
| const gfx::Rect& damage_rect) override;
|
|
|
|
|