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

Unified Diff: content/common/input_messages.h

Issue 1631963002: Plumb firing passive event listeners. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master_wheel_passive_listeners_2a
Patch Set: Fix last touch sequence start to be last touch start Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: content/common/input_messages.h
diff --git a/content/common/input_messages.h b/content/common/input_messages.h
index 7f05b9f9d7600da7bd300905bdc0c0388fcd7d4a..117f243bc4712cc82322b07231ab6b0fb8434445 100644
--- a/content/common/input_messages.h
+++ b/content/common/input_messages.h
@@ -15,6 +15,7 @@
#include "content/common/input/input_event.h"
#include "content/common/input/input_event_ack.h"
#include "content/common/input/input_event_ack_state.h"
+#include "content/common/input/input_event_dispatch_type.h"
#include "content/common/input/input_param_traits.h"
#include "content/common/input/synthetic_gesture_packet.h"
#include "content/common/input/synthetic_gesture_params.h"
@@ -48,6 +49,9 @@ IPC_ENUM_TRAITS_MAX_VALUE(
IPC_ENUM_TRAITS_MAX_VALUE(
content::SyntheticGestureParams::GestureType,
content::SyntheticGestureParams::SYNTHETIC_GESTURE_TYPE_MAX)
+IPC_ENUM_TRAITS_MAX_VALUE(
+ content::InputEventDispatchType,
+ content::InputEventDispatchType::DISPATCH_TYPE_NON_BLOCKING)
IPC_ENUM_TRAITS_VALIDATE(content::TouchAction, (
value >= 0 &&
value <= content::TOUCH_ACTION_MAX &&
@@ -114,9 +118,10 @@ IPC_STRUCT_TRAITS_BEGIN(content::InputEventAck)
IPC_STRUCT_TRAITS_END()
// Sends an input event to the render widget.
-IPC_MESSAGE_ROUTED2(InputMsg_HandleInputEvent,
+IPC_MESSAGE_ROUTED3(InputMsg_HandleInputEvent,
IPC::WebInputEventPointer /* event */,
- ui::LatencyInfo /* latency_info */)
+ ui::LatencyInfo /* latency_info */,
+ content::InputEventDispatchType)
// Sends the cursor visibility state to the render widget.
IPC_MESSAGE_ROUTED1(InputMsg_CursorVisibilityChange,

Powered by Google App Engine
This is Rietveld 408576698