Index: cc/layers/layer_impl.h |
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h |
index 6d06b6d2e70d5e7d8e658941168b5b9a19933fba..e9825106a385187b438f4f0a7f3c068668a47ef4 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; |
} |
@@ -494,6 +498,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); |
@@ -632,6 +639,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); |
}; |