Index: cc/layers/layer_impl.h |
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h |
index 1969b74967806b7c210a5d0553f2e1da4d1fa7e6..27760f97ce03e9c3800275190a7a6128e47d6ca2 100644 |
--- a/cc/layers/layer_impl.h |
+++ b/cc/layers/layer_impl.h |
@@ -35,6 +35,10 @@ |
#include "ui/gfx/transform.h" |
namespace base { |
+namespace debug { |
+class ConvertableToTraceFormat; |
+} |
+ |
class DictionaryValue; |
} |
@@ -505,6 +509,9 @@ class CC_EXPORT LayerImpl : LayerAnimationValueObserver { |
virtual void RunMicroBenchmark(MicroBenchmarkImpl* benchmark); |
+ virtual void SetDebugInfo( |
+ scoped_refptr<base::debug::ConvertableToTraceFormat> other); |
+ |
protected: |
LayerImpl(LayerTreeImpl* layer_impl, int id); |
@@ -645,6 +652,8 @@ class CC_EXPORT LayerImpl : LayerAnimationValueObserver { |
// hierarchy before layers can be drawn. |
DrawProperties<LayerImpl> draw_properties_; |
+ scoped_refptr<base::debug::ConvertableToTraceFormat> debug_info_; |
+ |
DISALLOW_COPY_AND_ASSIGN(LayerImpl); |
}; |