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

Unified Diff: ui/events/ipc/latency_info_param_traits.h

Issue 569653002: Add input coordinate information to InputLatency (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use uint32 instead of size_t to unbreak IPC. Created 6 years, 3 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 | « content/browser/renderer_host/render_widget_host_unittest.cc ('k') | ui/events/latency_info.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/ipc/latency_info_param_traits.h
diff --git a/ui/events/ipc/latency_info_param_traits.h b/ui/events/ipc/latency_info_param_traits.h
index 0206d7d52e6194b1b498f9c99ddec3fd6b1c12d0..289ecb4c01395bbdb33ca20f401d97ecf1073b54 100644
--- a/ui/events/ipc/latency_info_param_traits.h
+++ b/ui/events/ipc/latency_info_param_traits.h
@@ -21,10 +21,18 @@ IPC_STRUCT_TRAITS_BEGIN(ui::LatencyInfo::LatencyComponent)
IPC_STRUCT_TRAITS_MEMBER(event_count)
IPC_STRUCT_TRAITS_END()
+IPC_STRUCT_TRAITS_BEGIN(ui::LatencyInfo::InputCoordinate)
+IPC_STRUCT_TRAITS_MEMBER(x)
+IPC_STRUCT_TRAITS_MEMBER(y)
+IPC_STRUCT_TRAITS_END()
+
IPC_STRUCT_TRAITS_BEGIN(ui::LatencyInfo)
IPC_STRUCT_TRAITS_MEMBER(latency_components)
IPC_STRUCT_TRAITS_MEMBER(trace_id)
IPC_STRUCT_TRAITS_MEMBER(terminated)
+ IPC_STRUCT_TRAITS_MEMBER(input_coordinates_size)
+ IPC_STRUCT_TRAITS_MEMBER(input_coordinates[0])
+ IPC_STRUCT_TRAITS_MEMBER(input_coordinates[1])
IPC_STRUCT_TRAITS_END()
#endif // UI_EVENTS_IPC_LATENCY_INFO_PARAM_TRAITS_H_
« no previous file with comments | « content/browser/renderer_host/render_widget_host_unittest.cc ('k') | ui/events/latency_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698