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

Unified Diff: third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.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/IndentOutdentCommand.h
diff --git a/third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.h b/third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.h
index 12973b113c6dba875b669b7f1acd7852bd32f3a1..a080a6297355c473a20ce88761257f7fd480537a 100644
--- a/third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.h
+++ b/third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.h
@@ -33,14 +33,16 @@ namespace blink {
class CORE_EXPORT IndentOutdentCommand final : public ApplyBlockElementCommand {
public:
enum EIndentType { Indent, Outdent };
- static IndentOutdentCommand* create(Document& document, EIndentType type) {
- return new IndentOutdentCommand(document, type);
+ static IndentOutdentCommand* create(Document& document,
+ CommandSource source,
+ EIndentType type) {
+ return new IndentOutdentCommand(document, source, type);
}
bool preservesTypingStyle() const override { return true; }
private:
- IndentOutdentCommand(Document&, EIndentType);
+ IndentOutdentCommand(Document&, CommandSource, EIndentType);
InputEvent::InputType inputType() const override;

Powered by Google App Engine
This is Rietveld 408576698