Index: third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.cpp |
diff --git a/third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.cpp b/third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.cpp |
index 8c6f691acaa73280127d870e1cbcd3db7327a4f5..e589869cd500ead0467e2a18bc7f9a946116948b 100644 |
--- a/third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.cpp |
+++ b/third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.cpp |
@@ -286,4 +286,9 @@ void IndentOutdentCommand::formatRange(const Position& start, const Position& en |
indentIntoBlockquote(start, end, blockquoteForNextIndent, editingState); |
} |
+InputEvent::InputType IndentOutdentCommand::inputType() const |
+{ |
+ return m_typeOfAction == Indent ? InputEvent::InputType::Indent : InputEvent::InputType::Outdent; |
+} |
+ |
} // namespace blink |