Chromium Code Reviews| Index: cc/layers/layer.h |
| diff --git a/cc/layers/layer.h b/cc/layers/layer.h |
| index b552a35736cc05c64d8c8dd720597d7b9d1043b5..12a018eb7bd36eff20a63b62344ba9e4249c2fbb 100644 |
| --- a/cc/layers/layer.h |
| +++ b/cc/layers/layer.h |
| @@ -33,6 +33,12 @@ |
| #include "ui/gfx/rect_f.h" |
| #include "ui/gfx/transform.h" |
| +namespace base { |
| +namespace debug { |
| +class ConvertableToTraceFormat; |
| +} |
| +} |
| + |
| namespace gfx { |
| class BoxF; |
| } |
| @@ -433,6 +439,8 @@ class CC_EXPORT Layer : public base::RefCounted<Layer>, |
| virtual void RunMicroBenchmark(MicroBenchmark* benchmark); |
| + virtual void SetDebugInfo(base::debug::ConvertableToTraceFormat*); |
|
enne (OOO)
2013/11/25 20:16:45
style nit: parameters should be named
chrishtr_gmail.com
2013/11/25 22:48:25
Done.
|
| + |
| protected: |
| friend class LayerImpl; |
| friend class TreeSynchronizer; |
| @@ -589,6 +597,8 @@ class CC_EXPORT Layer : public base::RefCounted<Layer>, |
| DrawProperties<Layer> draw_properties_; |
| + scoped_refptr<base::debug::ConvertableToTraceFormat> debug_info_; |
| + |
| PaintProperties paint_properties_; |
| DISALLOW_COPY_AND_ASSIGN(Layer); |