| Index: third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.h
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.h b/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.h
|
| index cbff47f223602740bd177fa335e392564e15499f..e96d8a2bae37f8c20ebbba8669688b5aab041509 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.h
|
| +++ b/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.h
|
| @@ -44,12 +44,12 @@ class Text;
|
|
|
| class EditCommandComposition final : public UndoStep {
|
| public:
|
| - static EditCommandComposition* create(Document*, const VisibleSelection&, const VisibleSelection&, EditAction);
|
| + static EditCommandComposition* create(Document*, const VisibleSelection&, const VisibleSelection&, InputEvent::InputType);
|
|
|
| bool belongsTo(const LocalFrame&) const override;
|
| void unapply() override;
|
| void reapply() override;
|
| - EditAction editingAction() const override { return m_editAction; }
|
| + InputEvent::InputType inputType() const override;
|
| void append(SimpleEditCommand*);
|
|
|
| const VisibleSelection& startingSelection() const { return m_startingSelection; }
|
| @@ -62,7 +62,7 @@ public:
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| private:
|
| - EditCommandComposition(Document*, const VisibleSelection& startingSelection, const VisibleSelection& endingSelection, EditAction);
|
| + EditCommandComposition(Document*, const VisibleSelection& startingSelection, const VisibleSelection& endingSelection, InputEvent::InputType);
|
|
|
| Member<Document> m_document;
|
| VisibleSelection m_startingSelection;
|
| @@ -70,7 +70,7 @@ private:
|
| HeapVector<Member<SimpleEditCommand>> m_commands;
|
| Member<Element> m_startingRootEditableElement;
|
| Member<Element> m_endingRootEditableElement;
|
| - EditAction m_editAction;
|
| + InputEvent::InputType m_inputType;
|
| };
|
|
|
| class CORE_EXPORT CompositeEditCommand : public EditCommand {
|
|
|