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

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

Issue 2288913002: [InputEvent] Support |deleteByDrag| and |insertFromDrop| (Closed)
Patch Set: yosin's review 3, check |ownerDocument()| 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.h
diff --git a/third_party/WebKit/Source/core/events/InputEvent.h b/third_party/WebKit/Source/core/events/InputEvent.h
index b35a273318603a6e0d3e8aba0978eb11fe05cceb..5432803ff388d28cdf066ad9233f8f05c8c185f9 100644
--- a/third_party/WebKit/Source/core/events/InputEvent.h
+++ b/third_party/WebKit/Source/core/events/InputEvent.h
@@ -32,6 +32,7 @@ public:
InsertUnorderedList,
InsertHorizontalRule,
InsertFromPaste,
+ InsertFromDrop,
// Deletion.
DeleteComposedCharacterForward,
DeleteComposedCharacterBackward,
@@ -42,6 +43,7 @@ public:
DeleteContentBackward,
DeleteContentForward,
DeleteByCut,
+ DeleteByDrag,
// Command.
Undo,
Redo,
@@ -60,8 +62,6 @@ public:
Outdent,
RemoveFormat,
// Not on spec.
- // TODO(chongz): Drag is not on SPEC but it's not decided how we should handle it.
- Drag,
JustifyFull,
SetColor,
SetBackgroundColor,
@@ -72,6 +72,8 @@ public:
CreateLink,
Unlink,
FormatBlock,
+ // Internal use.
+ MoveByDragDrop, // Combines |InsertFromDrop| and |DeleteByDrag|.
// Add new input types immediately above this line.
NumberOfInputTypes,

Powered by Google App Engine
This is Rietveld 408576698