Index: trunk/src/cc/trees/layer_tree_host.h |
=================================================================== |
--- trunk/src/cc/trees/layer_tree_host.h (revision 237855) |
+++ trunk/src/cc/trees/layer_tree_host.h (working copy) |
@@ -37,6 +37,7 @@ |
#include "cc/trees/occlusion_tracker.h" |
#include "cc/trees/proxy.h" |
#include "third_party/skia/include/core/SkColor.h" |
+#include "ui/events/latency_info.h" |
#include "ui/gfx/rect.h" |
namespace cc { |
@@ -232,6 +233,7 @@ |
void ApplyScrollAndScale(const ScrollAndScaleSet& info); |
void SetImplTransform(const gfx::Transform& transform); |
+ void SetLatencyInfo(const ui::LatencyInfo& latency_info); |
// Virtual for tests. |
virtual void StartRateLimiter(); |
@@ -413,6 +415,8 @@ |
bool in_paint_layer_contents_; |
+ ui::LatencyInfo latency_info_; |
+ |
static const int kTotalFramesToUseForLCDTextMetrics = 50; |
int total_frames_used_for_lcd_text_metrics_; |