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

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 2 Created 4 years, 2 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 b0959436a7aa4b8a03f4c66849512a6fd108ffd5..956208ac68b16121c887544c9b77be7d96987660 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,
@@ -36,6 +37,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"},
@@ -50,7 +52,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"},
« no previous file with comments | « third_party/WebKit/Source/core/events/InputEvent.h ('k') | third_party/WebKit/Source/core/page/DragController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698