Index: cc/layer_tree_impl.h |
diff --git a/cc/layer_tree_impl.h b/cc/layer_tree_impl.h |
index 62e01354f5530c084edfa56935937613c834b9bc..4e8ded7fe00ee602f011d5aee52a9e4834329f16 100644 |
--- a/cc/layer_tree_impl.h |
+++ b/cc/layer_tree_impl.h |
@@ -40,13 +40,17 @@ class CC_EXPORT LayerTreeImpl { |
} |
virtual ~LayerTreeImpl(); |
- // Methods called by the layer tree that pass-through to LHTI. |
+ // Methods called by the layer tree that pass-through or access LTHI. |
// --------------------------------------------------------------------------- |
const LayerTreeSettings& settings() const; |
OutputSurface* output_surface() const; |
ResourceProvider* resource_provider() const; |
TileManager* tile_manager() const; |
FrameRateCounter* frame_rate_counter() const; |
+ bool IsActiveTree() const; |
+ bool IsPendingTree() const; |
+ LayerImpl* ActiveTreeLayerById(int id); |
nduca
2012/12/14 02:18:43
Get or FindActiveTreeLayerByBlah
enne (OOO)
2012/12/14 17:30:53
Ok, sure. FindActiveTreeLayerByBlah, it is.
|
+ LayerImpl* PendingTreeLayerById(int id); |
// Tree specific methods exposed to layer-impl tree. |
// --------------------------------------------------------------------------- |