Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Unified Diff: cc/layers/layer.h

Issue 61883006: Compositor thread plumbing for layout rectangle debug info. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed reviewer comments. Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/layers/layer.cc » ('j') | cc/layers/layer.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | cc/layers/layer.cc » ('j') | cc/layers/layer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698