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

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: 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
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);
};

Powered by Google App Engine
This is Rietveld 408576698