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

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

Issue 2151353002: [InputEvent] Replace |EditAction| with |InputType| (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@inputevent-text-styling
Patch Set: Replaced |EditAction| with |InputType| Created 4 years, 5 months 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 e59aa81e4547969f5ce4529b1c1b80bb9dc33fd9..afedb5e412feee8e04c13175a602508114b6af3d 100644
--- a/third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.h
+++ b/third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.h
@@ -27,7 +27,6 @@
#define IndentOutdentCommand_h
#include "core/editing/commands/ApplyBlockElementCommand.h"
-#include "core/editing/commands/EditAction.h"
namespace blink {
@@ -44,7 +43,7 @@ public:
private:
IndentOutdentCommand(Document&, EIndentType);
- EditAction editingAction() const override { return m_typeOfAction == Indent ? EditActionIndent : EditActionOutdent; }
+ InputEvent::InputType inputType() const override;
void outdentRegion(const VisiblePosition&, const VisiblePosition&, EditingState*);
void outdentParagraph(EditingState*);

Powered by Google App Engine
This is Rietveld 408576698