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

Unified Diff: third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.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/CompositeEditCommand.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp b/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp
index 2c0b4f3f93ecdf7bbadb9012b93bf57798206b49..5f010908b57f5c5420d2b3fcd5455754086fa7b1 100644
--- a/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp
@@ -206,7 +206,6 @@ bool CompositeEditCommand::apply() {
case InputEvent::InputType::DeleteContentForward:
case InputEvent::InputType::DeleteByCut:
case InputEvent::InputType::DeleteByDrag:
- case InputEvent::InputType::SetWritingDirection:
case InputEvent::InputType::None:
break;
default:
@@ -315,8 +314,7 @@ void CompositeEditCommand::appendCommandToComposite(
void CompositeEditCommand::applyStyle(const EditingStyle* style,
EditingState* editingState) {
applyCommandToComposite(
- ApplyStyleCommand::create(document(), style,
- InputEvent::InputType::ChangeAttributes),
+ ApplyStyleCommand::create(document(), style, InputEvent::InputType::None),
editingState);
}

Powered by Google App Engine
This is Rietveld 408576698