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

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: 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 | « AUTHORS ('k') | cc/layers/layer.cc » ('j') | no next file with comments »
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 9af3dea7c7de4f3165334cc6da8e3bfbe36ce105..7e9ba126df70ba45079aeb292c80fd9d4be6924a 100644
--- a/cc/layers/layer.h
+++ b/cc/layers/layer.h
@@ -38,6 +38,12 @@ namespace gfx {
class BoxF;
}
+namespace base {
+namespace debug {
+class ConvertableToTraceFormat;
+}
+}
+
namespace cc {
class Animation;
@@ -356,6 +362,7 @@ class CC_EXPORT Layer : public base::RefCounted<Layer>,
virtual void OnOutputSurfaceCreated() {}
virtual std::string DebugName();
+ virtual scoped_refptr<base::debug::ConvertableToTraceFormat> TakeDebugInfo();
void SetLayerClient(LayerClient* client) { client_ = client; }
« no previous file with comments | « AUTHORS ('k') | cc/layers/layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698