Index: third_party/WebKit/Source/core/editing/Editor.h |
diff --git a/third_party/WebKit/Source/core/editing/Editor.h b/third_party/WebKit/Source/core/editing/Editor.h |
index 9cae6e9bd54aea620e3c1c893c92f6c77d417c27..47240a2d12ee901e3c80a5ea28d14ce1e0ac0b9f 100644 |
--- a/third_party/WebKit/Source/core/editing/Editor.h |
+++ b/third_party/WebKit/Source/core/editing/Editor.h |
@@ -109,7 +109,7 @@ public: |
void clearLastEditCommand(); |
bool deleteWithDirection(DeleteDirection, TextGranularity, bool killRing, bool isTypingAction); |
- void deleteSelectionWithSmartDelete(bool smartDelete, InputEvent::InputType); |
+ void deleteSelectionWithSmartDelete(bool smartDelete, InputEvent::InputType, const Position& referenceMovePosition = Position()); |
void applyStyle(StylePropertySet*, InputEvent::InputType); |
void applyParagraphStyle(StylePropertySet*, InputEvent::InputType); |
@@ -205,6 +205,7 @@ public: |
void pasteAsPlainText(const String&, bool smartReplace); |
Element* findEventTargetFrom(const VisibleSelection&) const; |
+ Element* findEventTargetFromSelection() const; |
bool findString(const String&, FindOptions); |
@@ -289,8 +290,6 @@ private: |
void changeSelectionAfterCommand(const VisibleSelection& newSelection, FrameSelection::SetSelectionOptions); |
void notifyComponentsOnChangedSelection(); |
- Element* findEventTargetFromSelection() const; |
- |
SpellChecker& spellChecker() const; |
bool handleEditingKeyboardEvent(KeyboardEvent*); |