Index: cc/surfaces/display.h |
diff --git a/cc/surfaces/display.h b/cc/surfaces/display.h |
index 314cb405ecc09be589ede5976d850fe8e4013f71..a8742587277a23f6c941af626f7ba2d915c0527e 100644 |
--- a/cc/surfaces/display.h |
+++ b/cc/surfaces/display.h |
@@ -40,7 +40,6 @@ class RendererSettings; |
class ResourceProvider; |
class SharedBitmapManager; |
class SoftwareRenderer; |
-class SurfaceAggregator; |
class TextureMailboxDeleter; |
// A Display produces a surface that can be used to draw to a physical display |
@@ -78,6 +77,8 @@ class CC_SURFACES_EXPORT Display : public DisplaySchedulerClient, |
// DisplaySchedulerClient implementation. |
bool DrawAndSwap() override; |
+ const SurfaceAggregator::SurfaceIndexMap& GetPreviousContainedSurfaces() |
+ override; |
// OutputSurfaceClient implementation. |
void SetNeedsRedrawRect(const gfx::Rect& damage_rect) override; |
@@ -88,6 +89,11 @@ class CC_SURFACES_EXPORT Display : public DisplaySchedulerClient, |
// SurfaceObserver implementation. |
void OnSurfaceDamaged(const SurfaceId& surface, bool* changed) override; |
void OnSurfaceCreated(const SurfaceInfo& surface_info) override; |
+ void OnSurfaceDestroyed(const SurfaceId& surface_id) override; |
+ void OnSurfaceReceivedBeginFrame(const SurfaceId& surface_id, |
+ const BeginFrameArgs& args) override; |
+ void OnSurfaceFinishedBeginFrame(const SurfaceId& surface_id, |
+ const BeginFrameAck& ack) override; |
bool has_scheduler() const { return !!scheduler_; } |
DirectRenderer* renderer_for_testing() const { return renderer_.get(); } |