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

Unified Diff: cc/debug/frame_viewer_instrumentation.h

Issue 924973003: CC: Force push properties for all layers when tracing is started (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments addressed Created 5 years, 9 months 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/debug/frame_viewer_instrumentation.cc » ('j') | cc/debug/frame_viewer_instrumentation.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/debug/frame_viewer_instrumentation.h
diff --git a/cc/debug/frame_viewer_instrumentation.h b/cc/debug/frame_viewer_instrumentation.h
index 762d058ca5445bf4091d7f3024914e6ab57a0931..37800b8a128b00c0fdb8100b6a00bbd224359bb9 100644
--- a/cc/debug/frame_viewer_instrumentation.h
+++ b/cc/debug/frame_viewer_instrumentation.h
@@ -9,6 +9,9 @@
#include "cc/resources/tile.h"
namespace cc {
+struct FrameData;
+class LayerTreeHostImpl;
+
namespace frame_viewer_instrumentation {
class ScopedAnalyzeTask {
@@ -35,6 +38,10 @@ class ScopedRasterTask {
DISALLOW_COPY_AND_ASSIGN(ScopedRasterTask);
};
+bool IsTracingLayerTreeSnapshots();
+void TraceLayerTreeSnapshot(LayerTreeHostImpl* layer_tree_host_impl,
+ FrameData* frame);
+
} // namespace frame_viewer_instrumentation
} // namespace cc
« no previous file with comments | « no previous file | cc/debug/frame_viewer_instrumentation.cc » ('j') | cc/debug/frame_viewer_instrumentation.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698