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

Unified Diff: third_party/WebKit/Source/core/events/InputEvent.cpp

Issue 2374743002: [InputEvent] Support |deleteByDrag|, |insertFromDrop| and fire in sequential order (Closed)
Patch Set: Yosin's review Created 4 years, 3 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/events/InputEvent.cpp
diff --git a/third_party/WebKit/Source/core/events/InputEvent.cpp b/third_party/WebKit/Source/core/events/InputEvent.cpp
index 4465f20318c0c206e8e5ef586b59ee8c7140f5b5..4ef808622d3dbe162833aca3d19e462407113e61 100644
--- a/third_party/WebKit/Source/core/events/InputEvent.cpp
+++ b/third_party/WebKit/Source/core/events/InputEvent.cpp
@@ -25,6 +25,7 @@ const struct {
{ InputEvent::InputType::InsertUnorderedList, "insertUnorderedList" },
{ InputEvent::InputType::InsertHorizontalRule, "insertHorizontalRule" },
{ InputEvent::InputType::InsertFromPaste, "insertFromPaste" },
+ { InputEvent::InputType::InsertFromDrop, "insertFromDrop" },
{ InputEvent::InputType::DeleteComposedCharacterForward, "deleteComposedCharacterForward" },
{ InputEvent::InputType::DeleteComposedCharacterBackward, "deleteComposedCharacterBackward" },
{ InputEvent::InputType::DeleteWordBackward, "deleteWordBackward" },
@@ -34,6 +35,7 @@ const struct {
{ InputEvent::InputType::DeleteContentBackward, "deleteContentBackward" },
{ InputEvent::InputType::DeleteContentForward, "deleteContentForward" },
{ InputEvent::InputType::DeleteByCut, "deleteByCut" },
+ { InputEvent::InputType::DeleteByDrag, "deleteByDrag" },
{ InputEvent::InputType::Undo, "undo" },
{ InputEvent::InputType::Redo, "redo" },
{ InputEvent::InputType::Bold, "bold" },
@@ -48,7 +50,6 @@ const struct {
{ InputEvent::InputType::Indent, "indent" },
{ InputEvent::InputType::Outdent, "outdent" },
{ InputEvent::InputType::RemoveFormat, "removeFormat" },
- { InputEvent::InputType::Drag, "drag" },
{ InputEvent::InputType::JustifyFull, "justifyFull" },
{ InputEvent::InputType::SetColor, "setColor" },
{ InputEvent::InputType::SetBackgroundColor, "setBackgroundColor" },

Powered by Google App Engine
This is Rietveld 408576698