diff options
Diffstat (limited to 'chromium/ui/views/controls/textfield/textfield_controller.cc')
-rw-r--r-- | chromium/ui/views/controls/textfield/textfield_controller.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/chromium/ui/views/controls/textfield/textfield_controller.cc b/chromium/ui/views/controls/textfield/textfield_controller.cc index bf5f964c3e0..da6260083cb 100644 --- a/chromium/ui/views/controls/textfield/textfield_controller.cc +++ b/chromium/ui/views/controls/textfield/textfield_controller.cc @@ -4,7 +4,7 @@ #include "ui/views/controls/textfield/textfield_controller.h" -#include "ui/base/dragdrop/drag_drop_types.h" +#include "ui/base/dragdrop/mojom/drag_drop_types.mojom.h" #include "ui/events/event.h" namespace views { @@ -25,8 +25,9 @@ bool TextfieldController::HandleGestureEvent( return false; } -int TextfieldController::OnDrop(const ui::OSExchangeData& data) { - return ui::DragDropTypes::DRAG_NONE; +ui::mojom::DragOperation TextfieldController::OnDrop( + const ui::OSExchangeData& data) { + return ui::mojom::DragOperation::kNone; } } // namespace views |