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

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

Issue 2288913002: [InputEvent] Support |deleteByDrag| and |insertFromDrop| (Closed)
Patch Set: Created 4 years, 4 months 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 8dfe33c483607d7cf01dacea07d2d2dfea5de9a0..a8a9a982eb8657cb67d89001e9d123b9df3bf16b 100644
--- a/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp
@@ -191,6 +191,7 @@ bool CompositeEditCommand::apply()
case InputEvent::InputType::InsertLineBreak:
case InputEvent::InputType::InsertParagraph:
case InputEvent::InputType::InsertFromPaste:
+ case InputEvent::InputType::InsertFromDrop:
case InputEvent::InputType::DeleteComposedCharacterForward:
case InputEvent::InputType::DeleteComposedCharacterBackward:
case InputEvent::InputType::DeleteWordBackward:
@@ -200,8 +201,9 @@ bool CompositeEditCommand::apply()
case InputEvent::InputType::DeleteContentBackward:
case InputEvent::InputType::DeleteContentForward:
case InputEvent::InputType::DeleteByCut:
- case InputEvent::InputType::Drag:
+ case InputEvent::InputType::DeleteByDrag:
case InputEvent::InputType::SetWritingDirection:
+ case InputEvent::InputType::MoveByDragDrop:
case InputEvent::InputType::None:
break;
default:

Powered by Google App Engine
This is Rietveld 408576698