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

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

Issue 2574793002: [Editing] Store |CommandSource| in |CompositeEditCommand| (Closed)
Patch Set: 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..dcf7207e7718ad38ae21c7e7e0f46e7c87407e11 100644
--- a/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.h
+++ b/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.h
@@ -50,10 +50,12 @@ class CORE_EXPORT ReplaceSelectionCommand final : public CompositeEditCommand {
static ReplaceSelectionCommand* create(
Document& document,
+ CommandSource source,
DocumentFragment* fragment,
CommandOptions options,
InputEvent::InputType inputType = InputEvent::InputType::None) {
- return new ReplaceSelectionCommand(document, fragment, options, inputType);
+ return new ReplaceSelectionCommand(document, source, fragment, options,
+ inputType);
}
EphemeralRange insertedRange() const;
@@ -62,6 +64,7 @@ class CORE_EXPORT ReplaceSelectionCommand final : public CompositeEditCommand {
private:
ReplaceSelectionCommand(Document&,
+ CommandSource,
DocumentFragment*,
CommandOptions,
InputEvent::InputType);

Powered by Google App Engine
This is Rietveld 408576698