Index: cc/trees/layer_tree_host_impl.h |
diff --git a/cc/trees/layer_tree_host_impl.h b/cc/trees/layer_tree_host_impl.h |
index 45fefe578b6f482c8adfa4288d0d5389c915c77a..7921df8b8d12d0addc57f536a6722fdd05697676 100644 |
--- a/cc/trees/layer_tree_host_impl.h |
+++ b/cc/trees/layer_tree_host_impl.h |
@@ -48,6 +48,7 @@ class LayerTreeImpl; |
class MemoryHistory; |
class PageScaleAnimation; |
class PaintTimeCounter; |
+class PictureLayerImpl; |
class RasterWorkerPool; |
class RenderPassDrawQuad; |
class RenderingStatsInstrumentation; |
@@ -231,6 +232,7 @@ class CC_EXPORT LayerTreeHostImpl |
virtual void SetFullRootLayerDamage() OVERRIDE; |
// TileManagerClient implementation. |
+ virtual const std::vector<PictureLayerImpl*>& GetPictureLayers() OVERRIDE; |
virtual void NotifyReadyToActivate() OVERRIDE; |
virtual void NotifyTileStateChanged(const Tile* tile) OVERRIDE; |
@@ -457,6 +459,9 @@ class CC_EXPORT LayerTreeHostImpl |
void InsertSwapPromiseMonitor(SwapPromiseMonitor* monitor); |
void RemoveSwapPromiseMonitor(SwapPromiseMonitor* monitor); |
+ void RegisterPictureLayerImpl(PictureLayerImpl* layer); |
+ void UnregisterPictureLayerImpl(PictureLayerImpl* layer); |
+ |
protected: |
LayerTreeHostImpl( |
const LayerTreeSettings& settings, |
@@ -682,6 +687,8 @@ class CC_EXPORT LayerTreeHostImpl |
size_t transfer_buffer_memory_limit_; |
+ std::vector<PictureLayerImpl*> picture_layers_; |
+ |
DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
}; |