| Index: third_party/WebKit/Source/core/editing/commands/DragAndDropCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/DragAndDropCommand.cpp b/third_party/WebKit/Source/core/editing/commands/DragAndDropCommand.cpp
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..171857aaa99e9a47898a1613283cc6d2adb708b0
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/core/editing/commands/DragAndDropCommand.cpp
|
| @@ -0,0 +1,34 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "core/editing/commands/DragAndDropCommand.h"
|
| +
|
| +namespace blink {
|
| +
|
| +DragAndDropCommand::DragAndDropCommand(Document& document)
|
| + : CompositeEditCommand(document)
|
| +{
|
| +}
|
| +
|
| +bool DragAndDropCommand::isCommandGroupWrapper() const
|
| +{
|
| + return true;
|
| +}
|
| +
|
| +bool DragAndDropCommand::isDragAndDropCommand() const
|
| +{
|
| + return true;
|
| +}
|
| +
|
| +void DragAndDropCommand::doApply(EditingState*)
|
| +{
|
| + // Do nothing. Should only register undo entry after combined with other commands.
|
| +}
|
| +
|
| +InputEvent::InputType DragAndDropCommand::inputType() const
|
| +{
|
| + return InputEvent::InputType::None;
|
| +}
|
| +
|
| +} // namespace blink
|
|
|