Index: third_party/WebKit/Source/core/editing/EditingUtilities.h |
diff --git a/third_party/WebKit/Source/core/editing/EditingUtilities.h b/third_party/WebKit/Source/core/editing/EditingUtilities.h |
index 98dcdd914f4cc4b81dce5259d132741d5f171aa6..fc734a7a81a60814f80e65f46e2891ea3fc3dce9 100644 |
--- a/third_party/WebKit/Source/core/editing/EditingUtilities.h |
+++ b/third_party/WebKit/Source/core/editing/EditingUtilities.h |
@@ -33,6 +33,7 @@ |
#include "core/editing/PositionWithAffinity.h" |
#include "core/editing/VisiblePosition.h" |
#include "core/editing/VisibleSelection.h" |
+#include "core/events/InputEvent.h" |
#include "platform/text/TextDirection.h" |
#include "wtf/Forward.h" |
#include "wtf/text/CharacterNames.h" |
@@ -344,6 +345,15 @@ inline bool isAmbiguousBoundaryCharacter(UChar character) |
String stringWithRebalancedWhitespace(const String&, bool startIsStartOfParagraph, bool endIsEndOfParagraph); |
const String& nonBreakingSpaceString(); |
+// ------------------------------------------------------------------------- |
+// Events |
+// ------------------------------------------------------------------------- |
+ |
+// Functions dispatch InputEvent |
+DispatchEventResult dispatchBeforeInputInsertText(EventTarget*, const String& data); |
+DispatchEventResult dispatchBeforeInputFromComposition(EventTarget*, InputEvent::InputType, const String& data); |
+DispatchEventResult dispatchBeforeInputEditorCommand(EventTarget*, InputEvent::InputType, const String& data = ""); |
+ |
} // namespace blink |
#endif |