// Copyright 2011 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_VIEWS_WIDGET_DROP_HELPER_H_ #define UI_VIEWS_WIDGET_DROP_HELPER_H_ #include <memory> #include "base/functional/callback_forward.h" #include "base/memory/raw_ptr.h" #include "ui/base/dragdrop/mojom/drag_drop_types.mojom-forward.h" #include "ui/compositor/layer_tree_owner.h" #include "ui/views/view.h" #include "ui/views/views_export.h" namespace gfx { class Point; } // namespace gfx namespace ui { class OSExchangeData; } // namespace ui OSExchangeData; namespace views { // DropHelper provides support for managing the view a drop is going to occur // at during dnd as well as sending the view the appropriate dnd methods. // DropHelper is intended to be used by a class that interacts with the system // drag and drop. The system class invokes OnDragOver as the mouse moves, // then either OnDragExit or OnDrop when the drop is done. class VIEWS_EXPORT DropHelper { … }; } // namespace views #endif // UI_VIEWS_WIDGET_DROP_HELPER_H_