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

Side by Side Diff: content/common/input_messages.h

Issue 2336803003: Make SyntheticPointerAction to flush the pointer action sequence (Closed)
Patch Set: controller Created 3 years, 12 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 // IPC messages for input events and other messages that require processing in 5 // IPC messages for input events and other messages that require processing in
6 // order relative to input events. 6 // order relative to input events.
7 // Multiply-included message file, hence no include guard. 7 // Multiply-included message file, hence no include guard.
8 8
9 #include "base/strings/string16.h" 9 #include "base/strings/string16.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
11 #include "content/common/content_export.h" 11 #include "content/common/content_export.h"
12 #include "content/common/content_param_traits.h" 12 #include "content/common/content_param_traits.h"
13 #include "content/common/edit_command.h" 13 #include "content/common/edit_command.h"
14 #include "content/common/input/input_event.h" 14 #include "content/common/input/input_event.h"
15 #include "content/common/input/input_event_ack.h" 15 #include "content/common/input/input_event_ack.h"
16 #include "content/common/input/input_event_ack_source.h" 16 #include "content/common/input/input_event_ack_source.h"
17 #include "content/common/input/input_event_ack_state.h" 17 #include "content/common/input/input_event_ack_state.h"
18 #include "content/common/input/input_event_dispatch_type.h" 18 #include "content/common/input/input_event_dispatch_type.h"
19 #include "content/common/input/input_param_traits.h" 19 #include "content/common/input/input_param_traits.h"
20 #include "content/common/input/synthetic_gesture_packet.h" 20 #include "content/common/input/synthetic_gesture_packet.h"
21 #include "content/common/input/synthetic_gesture_params.h" 21 #include "content/common/input/synthetic_gesture_params.h"
22 #include "content/common/input/synthetic_pinch_gesture_params.h" 22 #include "content/common/input/synthetic_pinch_gesture_params.h"
23 #include "content/common/input/synthetic_pointer_action_list_params.h"
23 #include "content/common/input/synthetic_pointer_action_params.h" 24 #include "content/common/input/synthetic_pointer_action_params.h"
24 #include "content/common/input/synthetic_smooth_drag_gesture_params.h" 25 #include "content/common/input/synthetic_smooth_drag_gesture_params.h"
25 #include "content/common/input/synthetic_smooth_scroll_gesture_params.h" 26 #include "content/common/input/synthetic_smooth_scroll_gesture_params.h"
26 #include "content/common/input/synthetic_tap_gesture_params.h" 27 #include "content/common/input/synthetic_tap_gesture_params.h"
27 #include "content/common/input/touch_action.h" 28 #include "content/common/input/touch_action.h"
28 #include "ipc/ipc_message_macros.h" 29 #include "ipc/ipc_message_macros.h"
29 #include "third_party/WebKit/public/platform/WebInputEvent.h" 30 #include "third_party/WebKit/public/platform/WebInputEvent.h"
30 #include "ui/events/blink/did_overscroll_params.h" 31 #include "ui/events/blink/did_overscroll_params.h"
31 #include "ui/events/ipc/latency_info_param_traits.h" 32 #include "ui/events/ipc/latency_info_param_traits.h"
32 #include "ui/gfx/geometry/point.h" 33 #include "ui/gfx/geometry/point.h"
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 IPC_STRUCT_TRAITS_MEMBER(relative_pointer_speed_in_pixels_s) 105 IPC_STRUCT_TRAITS_MEMBER(relative_pointer_speed_in_pixels_s)
105 IPC_STRUCT_TRAITS_END() 106 IPC_STRUCT_TRAITS_END()
106 107
107 IPC_STRUCT_TRAITS_BEGIN(content::SyntheticTapGestureParams) 108 IPC_STRUCT_TRAITS_BEGIN(content::SyntheticTapGestureParams)
108 IPC_STRUCT_TRAITS_PARENT(content::SyntheticGestureParams) 109 IPC_STRUCT_TRAITS_PARENT(content::SyntheticGestureParams)
109 IPC_STRUCT_TRAITS_MEMBER(position) 110 IPC_STRUCT_TRAITS_MEMBER(position)
110 IPC_STRUCT_TRAITS_MEMBER(duration_ms) 111 IPC_STRUCT_TRAITS_MEMBER(duration_ms)
111 IPC_STRUCT_TRAITS_END() 112 IPC_STRUCT_TRAITS_END()
112 113
113 IPC_STRUCT_TRAITS_BEGIN(content::SyntheticPointerActionParams) 114 IPC_STRUCT_TRAITS_BEGIN(content::SyntheticPointerActionParams)
114 IPC_STRUCT_TRAITS_PARENT(content::SyntheticGestureParams)
115 IPC_STRUCT_TRAITS_MEMBER(pointer_action_type_) 115 IPC_STRUCT_TRAITS_MEMBER(pointer_action_type_)
116 IPC_STRUCT_TRAITS_MEMBER(index_) 116 IPC_STRUCT_TRAITS_MEMBER(index_)
117 IPC_STRUCT_TRAITS_MEMBER(position_) 117 IPC_STRUCT_TRAITS_MEMBER(position_)
118 IPC_STRUCT_TRAITS_END() 118 IPC_STRUCT_TRAITS_END()
119 119
120 IPC_STRUCT_TRAITS_BEGIN(content::SyntheticPointerActionListParams)
121 IPC_STRUCT_TRAITS_PARENT(content::SyntheticGestureParams)
122 IPC_STRUCT_TRAITS_MEMBER(params)
123 IPC_STRUCT_TRAITS_END()
124
120 IPC_STRUCT_TRAITS_BEGIN(content::InputEventAck) 125 IPC_STRUCT_TRAITS_BEGIN(content::InputEventAck)
121 IPC_STRUCT_TRAITS_MEMBER(source) 126 IPC_STRUCT_TRAITS_MEMBER(source)
122 IPC_STRUCT_TRAITS_MEMBER(type) 127 IPC_STRUCT_TRAITS_MEMBER(type)
123 IPC_STRUCT_TRAITS_MEMBER(state) 128 IPC_STRUCT_TRAITS_MEMBER(state)
124 IPC_STRUCT_TRAITS_MEMBER(latency) 129 IPC_STRUCT_TRAITS_MEMBER(latency)
125 IPC_STRUCT_TRAITS_MEMBER(overscroll) 130 IPC_STRUCT_TRAITS_MEMBER(overscroll)
126 IPC_STRUCT_TRAITS_MEMBER(unique_touch_event_id) 131 IPC_STRUCT_TRAITS_MEMBER(unique_touch_event_id)
127 IPC_STRUCT_TRAITS_END() 132 IPC_STRUCT_TRAITS_END()
128 133
129 // Sends an input event to the render widget. 134 // Sends an input event to the render widget.
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 // This IPC message sends the character bounds after every composition change 314 // This IPC message sends the character bounds after every composition change
310 // to always have correct bound info. 315 // to always have correct bound info.
311 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged, 316 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged,
312 gfx::Range /* composition range */, 317 gfx::Range /* composition range */,
313 std::vector<gfx::Rect> /* character bounds */) 318 std::vector<gfx::Rect> /* character bounds */)
314 319
315 // Adding a new message? Stick to the sort order above: first platform 320 // Adding a new message? Stick to the sort order above: first platform
316 // independent InputMsg, then ifdefs for platform specific InputMsg, then 321 // independent InputMsg, then ifdefs for platform specific InputMsg, then
317 // platform independent InputHostMsg, then ifdefs for platform specific 322 // platform independent InputHostMsg, then ifdefs for platform specific
318 // InputHostMsg. 323 // InputHostMsg.
OLDNEW
« no previous file with comments | « content/common/input/synthetic_pointer_action_params.cc ('k') | tools/ipc_fuzzer/fuzzer/fuzzer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698