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

Side by Side Diff: third_party/WebKit/Source/core/editing/commands/DragAndDropCommand.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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "core/editing/commands/DragAndDropCommand.h"
6
7 namespace blink {
8
9 DragAndDropCommand::DragAndDropCommand(Document& document)
10 : CompositeEditCommand(document) {}
11
12 bool DragAndDropCommand::isCommandGroupWrapper() const {
13 return true;
14 }
15
16 bool DragAndDropCommand::isDragAndDropCommand() const {
17 return true;
18 }
19
20 void DragAndDropCommand::doApply(EditingState*) {
21 // Do nothing. Should only register undo entry after combined with other comma nds.
22 }
23
24 InputEvent::InputType DragAndDropCommand::inputType() const {
25 return InputEvent::InputType::None;
26 }
27
28 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698