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

Side by Side Diff: ui/events/ipc/latency_info_param_traits_macros.h

Issue 1883763002: Revert of Move LatencyInfo to ui/latency_info (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef UI_EVENTS_IPC_LATENCY_INFO_PARAM_TRAITS_MACROS_H_
6 #define UI_EVENTS_IPC_LATENCY_INFO_PARAM_TRAITS_MACROS_H_
7
8 #include "ipc/ipc_message_macros.h"
9 #include "ui/events/ipc/events_ipc_export.h"
10 #include "ui/events/latency_info.h"
11
12 #undef IPC_MESSAGE_EXPORT
13 #define IPC_MESSAGE_EXPORT EVENTS_IPC_EXPORT
14
15 IPC_ENUM_TRAITS_MAX_VALUE(ui::LatencyComponentType,
16 ui::LATENCY_COMPONENT_TYPE_LAST)
17
18 IPC_STRUCT_TRAITS_BEGIN(ui::LatencyInfo::LatencyComponent)
19 IPC_STRUCT_TRAITS_MEMBER(sequence_number)
20 IPC_STRUCT_TRAITS_MEMBER(event_time)
21 IPC_STRUCT_TRAITS_MEMBER(event_count)
22 IPC_STRUCT_TRAITS_END()
23
24 IPC_STRUCT_TRAITS_BEGIN(ui::LatencyInfo::InputCoordinate)
25 IPC_STRUCT_TRAITS_MEMBER(x)
26 IPC_STRUCT_TRAITS_MEMBER(y)
27 IPC_STRUCT_TRAITS_END()
28
29 #endif // UI_EVENTS_IPC_LATENCY_INFO_PARAM_TRAITS_MACROS_H_
OLDNEW
« no previous file with comments | « ui/events/ipc/latency_info_param_traits.cc ('k') | ui/events/ipc/latency_info_param_traits_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698