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

Unified Diff: trunk/src/cc/trees/layer_tree_host.h

Issue 96073002: Revert 237848 "Use LatencyInfoSwapPromise to track LatencyInfo t..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 1 month 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 | « trunk/src/cc/cc_tests.gyp ('k') | trunk/src/cc/trees/layer_tree_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « trunk/src/cc/cc_tests.gyp ('k') | trunk/src/cc/trees/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698