Index: cc/layer_tree_impl.h |
diff --git a/cc/layer_tree_impl.h b/cc/layer_tree_impl.h |
index e6d62e00867df9d52e47e390ad12135b165a55f5..4b16f46d0b7069730ff7dce04c03e689763bd4c9 100644 |
--- a/cc/layer_tree_impl.h |
+++ b/cc/layer_tree_impl.h |
@@ -35,6 +35,8 @@ class TileManager; |
class CC_EXPORT LayerTreeImpl { |
public: |
+ typedef std::vector<LayerImpl*> LayerList; |
+ |
static scoped_ptr<LayerTreeImpl> create(LayerTreeHostImpl* layer_tree_host_impl) |
{ |
return make_scoped_ptr(new LayerTreeImpl(layer_tree_host_impl)); |
@@ -91,6 +93,13 @@ class CC_EXPORT LayerTreeImpl { |
void UpdateMaxScrollOffset(); |
+ // Updates draw properties and render surface layer list |
+ void UpdateDrawProperties(); |
+ |
+ void ClearRenderSurfaces(); |
+ |
+ const LayerList& RenderSurfaceLayerList() const; |
+ |
gfx::Size ContentSize() const; |
LayerImpl* LayerById(int id); |
@@ -117,6 +126,10 @@ protected: |
// Persisted state |
int scrolling_layer_id_from_previous_tree_; |
+ // List of visible layers for the most recently prepared frame. Used for |
+ // rendering and input event hit testing. |
+ LayerList render_surface_layer_list_; |
+ |
DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); |
}; |