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

Unified Diff: cc/trees/layer_tree_host_common.h

Issue 365463003: Implement scroll handler latency tracking (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review comments. 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/trees/layer_tree_host_common.h
diff --git a/cc/trees/layer_tree_host_common.h b/cc/trees/layer_tree_host_common.h
index 0e139471739b57657baf2008aaa2914a225eeaeb..3ad0a9a68fcf8f8bf118023882572cae09c5c08f 100644
--- a/cc/trees/layer_tree_host_common.h
+++ b/cc/trees/layer_tree_host_common.h
@@ -17,6 +17,10 @@
#include "ui/gfx/transform.h"
#include "ui/gfx/vector2d.h"
+namespace ui {
+struct LatencyInfo;
+}
+
namespace cc {
class LayerImpl;
@@ -139,6 +143,7 @@ struct CC_EXPORT ScrollAndScaleSet {
std::vector<LayerTreeHostCommon::ScrollUpdateInfo> scrolls;
float page_scale_delta;
+ std::vector<ui::LatencyInfo> latency_infos;
danakj 2014/07/08 16:49:07 this should be a ScopedPtrVector<SwapPromise>
Sami 2014/07/09 13:28:55 Done.
};
template <typename LayerType>

Powered by Google App Engine
This is Rietveld 408576698