Chromium Code Reviews| 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 0b334ec53ffe6695c93391388a89bec3ff590747..512b40ed84dd39c20edecd35ab3d37c1a9cd6c25 100644 |
| --- a/third_party/WebKit/Source/core/editing/EditingUtilities.h |
| +++ b/third_party/WebKit/Source/core/editing/EditingUtilities.h |
| @@ -58,6 +58,7 @@ enum class DeleteDirection { |
| Backward, |
| }; |
| +class CompositeEditCommand; |
| class Document; |
| class Element; |
| class HTMLElement; |
| @@ -411,28 +412,15 @@ String stringWithRebalancedWhitespace(const String&, |
| const String& nonBreakingSpaceString(); |
| // ------------------------------------------------------------------------- |
| -// Events |
| +// InputEvent |
| // ------------------------------------------------------------------------- |
| -// Functions dispatch InputEvent |
| -DispatchEventResult dispatchBeforeInputInsertText(EventTarget*, |
| - const String& data); |
| -DispatchEventResult dispatchBeforeInputFromComposition( |
| - EventTarget*, |
| - InputEvent::InputType, |
| - const String& data, |
| - InputEvent::EventCancelable); |
| -DispatchEventResult dispatchBeforeInputEditorCommand(EventTarget*, |
| - InputEvent::InputType, |
| - const RangeVector*); |
| -DispatchEventResult dispatchBeforeInputDataTransfer(EventTarget*, |
| - InputEvent::InputType, |
| - DataTransfer*, |
| - const RangeVector*); |
| - |
| InputEvent::InputType deletionInputTypeFromTextGranularity(DeleteDirection, |
| TextGranularity); |
| - |
| +InputEvent::EventIsComposing isComposingFromCommand( |
| + const CompositeEditCommand*); |
| +InputEvent::EventCancelable isCancelableFromCommand( |
| + const CompositeEditCommand*); |
|
chongz
2016/12/20 04:48:58
Currently used by "Editor.cpp" and "CompositeEditC
|
| } // namespace blink |
| #endif |