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

Unified Diff: cc/base/latency_info_swap_promise.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
« no previous file with comments | « no previous file | cc/base/latency_info_swap_promise_monitor.h » ('j') | cc/trees/layer_tree_host.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/base/latency_info_swap_promise.h
diff --git a/cc/base/latency_info_swap_promise.h b/cc/base/latency_info_swap_promise.h
index 1a2b1d6b206a35132c1fc47e6b5198ad1fcdd829..43a9d0c3a9d0d831b06fd3d5bc982f04e6f1324a 100644
--- a/cc/base/latency_info_swap_promise.h
+++ b/cc/base/latency_info_swap_promise.h
@@ -19,6 +19,8 @@ class CC_EXPORT LatencyInfoSwapPromise : public SwapPromise {
virtual void DidSwap(CompositorFrameMetadata* metadata) OVERRIDE;
virtual void DidNotSwap(DidNotSwapReason reason) OVERRIDE;
+ const ui::LatencyInfo& latency_info() const { return latency_; }
+
private:
ui::LatencyInfo latency_;
};
« no previous file with comments | « no previous file | cc/base/latency_info_swap_promise_monitor.h » ('j') | cc/trees/layer_tree_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698