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

Unified Diff: ui/base/latency_info.h

Issue 19670007: Send input event's LatencyInfo back from renderer to browser when acked (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: change PopTouchEventWithAck(ack) to PopTouchEventToClient(ack, latency_info) Created 7 years, 4 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: ui/base/latency_info.h
diff --git a/ui/base/latency_info.h b/ui/base/latency_info.h
index 9c6846562201dc64deebff5cdd72d87733e3c766..3482a500a8d0d85a89a5e92d92e7faf14f0be34e 100644
--- a/ui/base/latency_info.h
+++ b/ui/base/latency_info.h
@@ -59,6 +59,9 @@ struct UI_EXPORT LatencyInfo {
// Merges the contents of another LatencyInfo into this one.
void MergeWith(const LatencyInfo& other);
+ // Add LatencyComponents that are in |other| but not in |this|.
+ void AddNewLatencyFrom(const LatencyInfo& other);
+
// Modifies the current sequence number for a component, and adds a new
// sequence number with the current timestamp.
void AddLatencyNumber(LatencyComponentType component,

Powered by Google App Engine
This is Rietveld 408576698