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

Unified Diff: third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.h

Issue 2558643003: [InputEvent] Move 'beforeinput' logic into |CompositeEditCommand::willApplyEditing()| (3/3) (Closed)
Patch Set: xiaocheng's review 3: Rebase and remove updateStyleAndLayoutIgnorePendingStylesheets() Created 4 years 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/commands/ReplaceSelectionCommand.h
diff --git a/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.h b/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.h
index 38fde66e32b7bcd58c4e80e2fcf4795095dd2576..749ef2f3ceba962915149c57f60cf27b478cabc7 100644
--- a/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.h
+++ b/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.h
@@ -67,7 +67,6 @@ class CORE_EXPORT ReplaceSelectionCommand final : public CompositeEditCommand {
InputEvent::InputType);
void doApply(EditingState*) override;
- InputEvent::InputType inputType() const override;
bool isReplaceSelectionCommand() const override;
class InsertedNodes {
@@ -138,6 +137,10 @@ class CORE_EXPORT ReplaceSelectionCommand final : public CompositeEditCommand {
bool performTrivialReplace(const ReplacementFragment&, EditingState*);
+ InputEvent::InputType inputType() const final;
+ String textDataForInputEvent() const final;
+ DataTransfer* dataTransferForInputEvent() const final;
+
Position m_startOfInsertedContent;
Position m_endOfInsertedContent;
Member<EditingStyle> m_insertionStyle;

Powered by Google App Engine
This is Rietveld 408576698