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

Side by Side Diff: components/mus/common/event_param_traits_macros.h

Issue 1800633002: IPC::ParamTraits for ui::PointerEvent. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 5
6 #include "components/mus/common/mus_common_export.h" 6 #include "components/mus/common/mus_common_export.h"
7 #include "ipc/ipc_message_utils.h" 7 #include "ipc/ipc_message_utils.h"
8 #include "ipc/param_traits_macros.h" 8 #include "ipc/param_traits_macros.h"
9 #include "ui/events/event.h" 9 #include "ui/events/event.h"
10 #include "ui/events/event_constants.h" 10 #include "ui/events/event_constants.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 61
62 IPC_STRUCT_TRAITS_BEGIN(ui::TouchEvent) 62 IPC_STRUCT_TRAITS_BEGIN(ui::TouchEvent)
63 IPC_STRUCT_TRAITS_PARENT(ui::LocatedEvent) 63 IPC_STRUCT_TRAITS_PARENT(ui::LocatedEvent)
64 IPC_STRUCT_TRAITS_MEMBER(touch_id_) 64 IPC_STRUCT_TRAITS_MEMBER(touch_id_)
65 IPC_STRUCT_TRAITS_MEMBER(unique_event_id_) 65 IPC_STRUCT_TRAITS_MEMBER(unique_event_id_)
66 IPC_STRUCT_TRAITS_MEMBER(rotation_angle_) 66 IPC_STRUCT_TRAITS_MEMBER(rotation_angle_)
67 IPC_STRUCT_TRAITS_MEMBER(may_cause_scrolling_) 67 IPC_STRUCT_TRAITS_MEMBER(may_cause_scrolling_)
68 IPC_STRUCT_TRAITS_MEMBER(pointer_details_) 68 IPC_STRUCT_TRAITS_MEMBER(pointer_details_)
69 IPC_STRUCT_TRAITS_END() 69 IPC_STRUCT_TRAITS_END()
70 70
71 IPC_STRUCT_TRAITS_BEGIN(ui::PointerEvent)
72 IPC_STRUCT_TRAITS_PARENT(ui::LocatedEvent)
73 IPC_STRUCT_TRAITS_MEMBER(pointer_id_)
74 IPC_STRUCT_TRAITS_MEMBER(details_)
75 IPC_STRUCT_TRAITS_END()
76
71 IPC_STRUCT_TRAITS_BEGIN(ui::DomKey) 77 IPC_STRUCT_TRAITS_BEGIN(ui::DomKey)
72 IPC_STRUCT_TRAITS_MEMBER(value_) 78 IPC_STRUCT_TRAITS_MEMBER(value_)
73 IPC_STRUCT_TRAITS_END() 79 IPC_STRUCT_TRAITS_END()
74 80
75 IPC_STRUCT_TRAITS_BEGIN(ui::KeyEvent) 81 IPC_STRUCT_TRAITS_BEGIN(ui::KeyEvent)
76 IPC_STRUCT_TRAITS_MEMBER(is_char_) 82 IPC_STRUCT_TRAITS_MEMBER(is_char_)
77 IPC_STRUCT_TRAITS_MEMBER(key_code_) 83 IPC_STRUCT_TRAITS_MEMBER(key_code_)
78 IPC_STRUCT_TRAITS_MEMBER(code_) 84 IPC_STRUCT_TRAITS_MEMBER(code_)
79 IPC_STRUCT_TRAITS_MEMBER(key_) 85 IPC_STRUCT_TRAITS_MEMBER(key_)
80 IPC_STRUCT_TRAITS_END() 86 IPC_STRUCT_TRAITS_END()
(...skipping 11 matching lines...) Expand all
92 IPC_STRUCT_TRAITS_MEMBER(type_) 98 IPC_STRUCT_TRAITS_MEMBER(type_)
93 IPC_STRUCT_TRAITS_MEMBER(data_) 99 IPC_STRUCT_TRAITS_MEMBER(data_)
94 IPC_STRUCT_TRAITS_MEMBER(touch_points_) 100 IPC_STRUCT_TRAITS_MEMBER(touch_points_)
95 IPC_STRUCT_TRAITS_MEMBER(bounding_box_) 101 IPC_STRUCT_TRAITS_MEMBER(bounding_box_)
96 IPC_STRUCT_TRAITS_END() 102 IPC_STRUCT_TRAITS_END()
97 103
98 IPC_STRUCT_TRAITS_BEGIN(ui::GestureEvent) 104 IPC_STRUCT_TRAITS_BEGIN(ui::GestureEvent)
99 IPC_STRUCT_TRAITS_PARENT(ui::LocatedEvent) 105 IPC_STRUCT_TRAITS_PARENT(ui::LocatedEvent)
100 IPC_STRUCT_TRAITS_MEMBER(details_) 106 IPC_STRUCT_TRAITS_MEMBER(details_)
101 IPC_STRUCT_TRAITS_END() 107 IPC_STRUCT_TRAITS_END()
OLDNEW
« no previous file with comments | « components/mus/common/event_param_traits.cc ('k') | components/mus/common/event_param_traits_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698