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

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

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/editing/commands/MoveSelectionCommand.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/MoveSelectionCommand.cpp b/third_party/WebKit/Source/core/editing/commands/MoveSelectionCommand.cpp
index 0cae339cf81745a6fc2738aa12c84fb43d510871..8e254734b601d22b3880609bc43423ca81d76e5a 100644
--- a/third_party/WebKit/Source/core/editing/commands/MoveSelectionCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/MoveSelectionCommand.cpp
@@ -83,7 +83,7 @@ void MoveSelectionCommand::doApply(EditingState* editingState)
InputEvent::InputType MoveSelectionCommand::inputType() const
{
- return InputEvent::InputType::Drag;
+ return InputEvent::InputType::MoveByDragDrop;
}
DEFINE_TRACE(MoveSelectionCommand)

Powered by Google App Engine
This is Rietveld 408576698