blob: 113b3f56c9f3e8744254b187de5f8c6c5b812902 [file] [log] [blame]
// 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 "third_party/blink/renderer/core/editing/commands/drag_and_drop_command.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::GetInputType() const {
return InputEvent::InputType::kNone;
}
} // namespace blink