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

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

Issue 2469483002: [InputEvent] Add prefixes 'history*' and 'format*' to |inputType| (Closed)
Patch Set: CL format Created 4 years, 1 month 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.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.cpp b/third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.cpp
index 603496c04b305e5641d40a380365403e13461703..584ca15ba314a64cbac046c1f8d97410a9f0a1a9 100644
--- a/third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.cpp
@@ -402,8 +402,8 @@ void IndentOutdentCommand::formatRange(const Position& start,
}
InputEvent::InputType IndentOutdentCommand::inputType() const {
- return m_typeOfAction == Indent ? InputEvent::InputType::Indent
- : InputEvent::InputType::Outdent;
+ return m_typeOfAction == Indent ? InputEvent::InputType::FormatIndent
+ : InputEvent::InputType::FormatOutdent;
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698