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

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

Issue 997283002: Coalesce async touch move events until the ack back from render (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
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 "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 234
235 IPC_MESSAGE_ROUTED0(InputMsg_SyntheticGestureCompleted) 235 IPC_MESSAGE_ROUTED0(InputMsg_SyntheticGestureCompleted)
236 236
237 // ----------------------------------------------------------------------------- 237 // -----------------------------------------------------------------------------
238 // Messages sent from the renderer to the browser. 238 // Messages sent from the renderer to the browser.
239 239
240 // Acknowledges receipt of a InputMsg_HandleInputEvent message. 240 // Acknowledges receipt of a InputMsg_HandleInputEvent message.
241 IPC_MESSAGE_ROUTED1(InputHostMsg_HandleInputEvent_ACK, 241 IPC_MESSAGE_ROUTED1(InputHostMsg_HandleInputEvent_ACK,
242 InputHostMsg_HandleInputEvent_ACK_Params) 242 InputHostMsg_HandleInputEvent_ACK_Params)
243 243
244 IPC_MESSAGE_ROUTED0(InputHostMsg_HandleUncancelableTouchMoveEvent_ACK)
245
244 IPC_MESSAGE_ROUTED1(InputHostMsg_QueueSyntheticGesture, 246 IPC_MESSAGE_ROUTED1(InputHostMsg_QueueSyntheticGesture,
245 content::SyntheticGesturePacket) 247 content::SyntheticGesturePacket)
246 248
247 // Notifies the allowed touch actions for a new touch point. 249 // Notifies the allowed touch actions for a new touch point.
248 IPC_MESSAGE_ROUTED1(InputHostMsg_SetTouchAction, 250 IPC_MESSAGE_ROUTED1(InputHostMsg_SetTouchAction,
249 content::TouchAction /* touch_action */) 251 content::TouchAction /* touch_action */)
250 252
251 // Sent by the compositor when input scroll events are dropped due to bounds 253 // Sent by the compositor when input scroll events are dropped due to bounds
252 // restrictions on the root scroll offset. 254 // restrictions on the root scroll offset.
253 IPC_MESSAGE_ROUTED1(InputHostMsg_DidOverscroll, 255 IPC_MESSAGE_ROUTED1(InputHostMsg_DidOverscroll,
(...skipping 14 matching lines...) Expand all
268 // This IPC message sends the character bounds after every composition change 270 // This IPC message sends the character bounds after every composition change
269 // to always have correct bound info. 271 // to always have correct bound info.
270 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged, 272 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged,
271 gfx::Range /* composition range */, 273 gfx::Range /* composition range */,
272 std::vector<gfx::Rect> /* character bounds */) 274 std::vector<gfx::Rect> /* character bounds */)
273 275
274 // Adding a new message? Stick to the sort order above: first platform 276 // Adding a new message? Stick to the sort order above: first platform
275 // independent InputMsg, then ifdefs for platform specific InputMsg, then 277 // independent InputMsg, then ifdefs for platform specific InputMsg, then
276 // platform independent InputHostMsg, then ifdefs for platform specific 278 // platform independent InputHostMsg, then ifdefs for platform specific
277 // InputHostMsg. 279 // InputHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698