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..6fbda80c91fec23dad7f17378b150fd8735d7a72 100644 |
--- a/third_party/WebKit/Source/core/events/InputEvent.h |
+++ b/third_party/WebKit/Source/core/events/InputEvent.h |
@@ -24,6 +24,12 @@ public: |
return adoptRefWillBeNoop(new InputEvent(type, initializer)); |
} |
+ static PassRefPtrWillBeRawPtr<InputEvent> createBeforeInput(const String& inputType, const String& data); |
+ static PassRefPtrWillBeRawPtr<InputEvent> createCancelableBeforeInput(const String& 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 +37,9 @@ public: |
private: |
InputEvent(); |
InputEvent(const AtomicString&, const InputEventInit&); |
+ |
+ String m_inputType; |
+ String m_data; |
}; |
DEFINE_EVENT_TYPE_CASTS(InputEvent); |