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

Unified Diff: third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.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/ApplyStyleCommand.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp b/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp
index c1d90ed281fb025c5d61862dcf478e2a71c678dc..c881ff3af6613d00c293eb0867d4aaecdca30910 100644
--- a/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp
@@ -145,7 +145,7 @@ ApplyStyleCommand::ApplyStyleCommand(Document& document,
const Position& end)
: CompositeEditCommand(document),
m_style(style->copy()),
- m_inputType(InputEvent::InputType::ChangeAttributes),
+ m_inputType(InputEvent::InputType::None),
m_propertyLevel(PropertyDefault),
m_start(start),
m_end(end),
@@ -157,7 +157,7 @@ ApplyStyleCommand::ApplyStyleCommand(Document& document,
ApplyStyleCommand::ApplyStyleCommand(Element* element, bool removeOnly)
: CompositeEditCommand(element->document()),
m_style(EditingStyle::create()),
- m_inputType(InputEvent::InputType::ChangeAttributes),
+ m_inputType(InputEvent::InputType::None),
m_propertyLevel(PropertyDefault),
m_start(mostForwardCaretPosition(endingSelection().start())),
m_end(mostBackwardCaretPosition(endingSelection().end())),

Powered by Google App Engine
This is Rietveld 408576698