Index: third_party/WebKit/Source/core/events/InputEvent.h |
diff --git a/third_party/WebKit/Source/core/events/InputEvent.h b/third_party/WebKit/Source/core/events/InputEvent.h |
index f6c46ae58d23d1c655b4c72059353d8d97b9a273..37b95c83c5eb1bbdb03fd5997ba6e15f02ad016d 100644 |
--- a/third_party/WebKit/Source/core/events/InputEvent.h |
+++ b/third_party/WebKit/Source/core/events/InputEvent.h |
@@ -24,6 +24,11 @@ public: |
return adoptRefWillBeNoop(new InputEvent(type, initializer)); |
} |
+ static PassRefPtrWillBeRawPtr<InputEvent> createBeforeInput(const AtomicString& inputType, const String& data); |
+ |
+ const String& inputType() const { return m_inputType; } |
+ const String& data() const { return m_data; } |
+ |
bool isInputEvent() const override; |
DECLARE_VIRTUAL_TRACE(); |
@@ -31,6 +36,9 @@ public: |
private: |
InputEvent(); |
InputEvent(const AtomicString&, const InputEventInit&); |
+ |
+ String m_inputType; |
+ String m_data; |
}; |
DEFINE_EVENT_TYPE_CASTS(InputEvent); |