Index: third_party/WebKit/Source/platform/PlatformEvent.h |
diff --git a/third_party/WebKit/Source/platform/PlatformEvent.h b/third_party/WebKit/Source/platform/PlatformEvent.h |
index 62b6cd29025e7d954a301869e6253e41b14578ae..909f298eb4d536909d0bb35d643966b359a4999f 100644 |
--- a/third_party/WebKit/Source/platform/PlatformEvent.h |
+++ b/third_party/WebKit/Source/platform/PlatformEvent.h |
@@ -121,6 +121,19 @@ public: |
RailsModeVertical = 2, |
}; |
+ // These values are direct mappings of the values in WebInputEvent |
+ // so the values can be cast between the enumerations. static_asserts |
+ // checking this are in web/WebInputEventConversion.cpp. |
+ enum DispatchType { |
+ Blocking, |
+ EventNonBlocking, |
+ // All listeners are passive. |
+ ListenersNonBlockingPassive, |
+ // This value represents a state which would have normally blocking |
+ // but was forced to be non-blocking. |
+ ListenersForcedNonBlockingPassive, |
+ }; |
+ |
EventType type() const { return static_cast<EventType>(m_type); } |
bool shiftKey() const { return m_modifiers & ShiftKey; } |