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

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: Rebase on EditCommandSource and willApply() CLs 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..3035796c3d4fa490c8877577102184e7b02fb39a 100644
--- a/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.h
+++ b/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.h
@@ -58,6 +58,10 @@ class CORE_EXPORT ReplaceSelectionCommand final : public CompositeEditCommand {
EphemeralRange insertedRange() const;
+ InputEvent::InputType inputType() const final;
+ String textDataForInputEvent() const final;
+ DataTransfer* dataTransferForInputEvent() const final;
+
DECLARE_VIRTUAL_TRACE();
private:
@@ -67,7 +71,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 {

Powered by Google App Engine
This is Rietveld 408576698