| 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
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..40bf73845b34a52b07ed1923d4534ec4924acbf3
|
| --- /dev/null
|
| +++ b/ui/events/ipc/latency_info_param_traits_macros.h
|
| @@ -0,0 +1,29 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef UI_EVENTS_IPC_LATENCY_INFO_PARAM_TRAITS_MACROS_H_
|
| +#define UI_EVENTS_IPC_LATENCY_INFO_PARAM_TRAITS_MACROS_H_
|
| +
|
| +#include "ipc/ipc_message_macros.h"
|
| +#include "ui/events/ipc/events_ipc_export.h"
|
| +#include "ui/events/latency_info.h"
|
| +
|
| +#undef IPC_MESSAGE_EXPORT
|
| +#define IPC_MESSAGE_EXPORT EVENTS_IPC_EXPORT
|
| +
|
| +IPC_ENUM_TRAITS_MAX_VALUE(ui::LatencyComponentType,
|
| + ui::LATENCY_COMPONENT_TYPE_LAST)
|
| +
|
| +IPC_STRUCT_TRAITS_BEGIN(ui::LatencyInfo::LatencyComponent)
|
| + IPC_STRUCT_TRAITS_MEMBER(sequence_number)
|
| + IPC_STRUCT_TRAITS_MEMBER(event_time)
|
| + 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()
|
| +
|
| +#endif // UI_EVENTS_IPC_LATENCY_INFO_PARAM_TRAITS_MACROS_H_
|
|
|