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 18f4cb39852d49c17cc7084307b138f33d838936..49f2b52850179c843e1d96accf8160a9f59eef40 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" |
@@ -346,6 +347,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 |