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

Unified Diff: cc/layers/layer_impl.h

Issue 61883006: Compositor thread plumbing for layout rectangle debug info. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added TODO, fixed nits. Created 7 years 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 | « cc/layers/layer_client.h ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « cc/layers/layer_client.h ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698