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

Unified Diff: cc/test/layer_tree_test.h

Issue 397443002: [not for review] Add Draw entries to window Performance Timeline Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git pull of third_party/WebKit Created 6 years, 5 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
Index: cc/test/layer_tree_test.h
diff --git a/cc/test/layer_tree_test.h b/cc/test/layer_tree_test.h
index 8f38dda4999dd8648aac24224560414e7a49b2e8..0dc3d54b00c48dbf4357119fbabc133cd6abf367 100644
--- a/cc/test/layer_tree_test.h
+++ b/cc/test/layer_tree_test.h
@@ -5,6 +5,9 @@
#ifndef CC_TEST_LAYER_TREE_TEST_H_
#define CC_TEST_LAYER_TREE_TEST_H_
+#include <utility>
+#include <vector>
+
#include "base/memory/ref_counted.h"
#include "base/threading/thread.h"
#include "cc/animation/animation_delegate.h"
@@ -60,6 +63,8 @@ class TestHooks : public AnimationDelegate {
base::TimeTicks monotonic_time) {}
virtual void ApplyScrollAndScale(const gfx::Vector2d& scroll_delta,
float scale) {}
+ virtual void RecordDrawTiming(int64_t rect_id,
+ const std::vector<std::pair<int, base::TimeTicks> >& draws) {}
virtual void Animate(base::TimeTicks monotonic_time) {}
virtual void WillBeginMainFrame() {}
virtual void DidBeginMainFrame() {}

Powered by Google App Engine
This is Rietveld 408576698