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

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

Issue 2317253005: SourceEventType added to LatencyInfo (Closed)
Patch Set: unittest added for source type assignment for pointerEvents. Created 4 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
Index: ui/events/ipc/latency_info_param_traits_macros.h
diff --git a/ui/events/ipc/latency_info_param_traits_macros.h b/ui/events/ipc/latency_info_param_traits_macros.h
index 1cb5902b6441e8ef10b4be1292b6d166f9df88e5..29ed8bc4a8a089ce24a805bc51c60885b688eeb0 100644
--- a/ui/events/ipc/latency_info_param_traits_macros.h
+++ b/ui/events/ipc/latency_info_param_traits_macros.h
@@ -21,4 +21,7 @@ IPC_STRUCT_TRAITS_BEGIN(ui::LatencyInfo::LatencyComponent)
IPC_STRUCT_TRAITS_MEMBER(event_count)
IPC_STRUCT_TRAITS_END()
+IPC_ENUM_TRAITS_MAX_VALUE(ui::SourceEventType,
+ ui::SourceEventType::SOURCE_EVENT_TYPE_LAST)
+
#endif // UI_EVENTS_IPC_LATENCY_INFO_PARAM_TRAITS_MACROS_H_

Powered by Google App Engine
This is Rietveld 408576698