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

Unified Diff: third_party/WebKit/Source/core/editing/commands/FormatBlockCommand.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/FormatBlockCommand.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/FormatBlockCommand.cpp b/third_party/WebKit/Source/core/editing/commands/FormatBlockCommand.cpp
index 9b96ee71020353a796b1a550525db7c2d4836f5b..a2333419227817206f3b9fc9e31415b112342c70 100644
--- a/third_party/WebKit/Source/core/editing/commands/FormatBlockCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/FormatBlockCommand.cpp
@@ -157,10 +157,6 @@ Element* FormatBlockCommand::elementForFormatBlockCommand(Range* range) {
return commonAncestor->isElementNode() ? toElement(commonAncestor) : 0;
}
-InputEvent::InputType FormatBlockCommand::inputType() const {
- return InputEvent::InputType::FormatBlock;
-}
-
bool isElementForFormatBlock(const QualifiedName& tagName) {
DEFINE_STATIC_LOCAL(
HashSet<QualifiedName>, blockTags,

Powered by Google App Engine
This is Rietveld 408576698