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

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

Issue 2634183002: Support multi-button press for synthetic mouse events (Closed)
Patch Set: Test modifiers and button Created 3 years, 11 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"
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 IPC_STRUCT_TRAITS_BEGIN(content::SyntheticTapGestureParams) 108 IPC_STRUCT_TRAITS_BEGIN(content::SyntheticTapGestureParams)
109 IPC_STRUCT_TRAITS_PARENT(content::SyntheticGestureParams) 109 IPC_STRUCT_TRAITS_PARENT(content::SyntheticGestureParams)
110 IPC_STRUCT_TRAITS_MEMBER(position) 110 IPC_STRUCT_TRAITS_MEMBER(position)
111 IPC_STRUCT_TRAITS_MEMBER(duration_ms) 111 IPC_STRUCT_TRAITS_MEMBER(duration_ms)
112 IPC_STRUCT_TRAITS_END() 112 IPC_STRUCT_TRAITS_END()
113 113
114 IPC_STRUCT_TRAITS_BEGIN(content::SyntheticPointerActionParams) 114 IPC_STRUCT_TRAITS_BEGIN(content::SyntheticPointerActionParams)
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_MEMBER(button_)
118 IPC_STRUCT_TRAITS_END() 119 IPC_STRUCT_TRAITS_END()
119 120
120 IPC_STRUCT_TRAITS_BEGIN(content::SyntheticPointerActionListParams) 121 IPC_STRUCT_TRAITS_BEGIN(content::SyntheticPointerActionListParams)
121 IPC_STRUCT_TRAITS_PARENT(content::SyntheticGestureParams) 122 IPC_STRUCT_TRAITS_PARENT(content::SyntheticGestureParams)
122 IPC_STRUCT_TRAITS_MEMBER(params) 123 IPC_STRUCT_TRAITS_MEMBER(params)
123 IPC_STRUCT_TRAITS_END() 124 IPC_STRUCT_TRAITS_END()
124 125
125 IPC_STRUCT_TRAITS_BEGIN(content::InputEventAck) 126 IPC_STRUCT_TRAITS_BEGIN(content::InputEventAck)
126 IPC_STRUCT_TRAITS_MEMBER(source) 127 IPC_STRUCT_TRAITS_MEMBER(source)
127 IPC_STRUCT_TRAITS_MEMBER(type) 128 IPC_STRUCT_TRAITS_MEMBER(type)
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 // This IPC message sends the character bounds after every composition change 317 // This IPC message sends the character bounds after every composition change
317 // to always have correct bound info. 318 // to always have correct bound info.
318 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged, 319 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged,
319 gfx::Range /* composition range */, 320 gfx::Range /* composition range */,
320 std::vector<gfx::Rect> /* character bounds */) 321 std::vector<gfx::Rect> /* character bounds */)
321 322
322 // Adding a new message? Stick to the sort order above: first platform 323 // Adding a new message? Stick to the sort order above: first platform
323 // independent InputMsg, then ifdefs for platform specific InputMsg, then 324 // independent InputMsg, then ifdefs for platform specific InputMsg, then
324 // platform independent InputHostMsg, then ifdefs for platform specific 325 // platform independent InputHostMsg, then ifdefs for platform specific
325 // InputHostMsg. 326 // InputHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698