Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(235)

Unified Diff: third_party/WebKit/Source/core/editing/Editor.h

Issue 2374743002: [InputEvent] Support |deleteByDrag|, |insertFromDrop| and fire in sequential order (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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*);

Powered by Google App Engine
This is Rietveld 408576698