#include "ui/views/widget/desktop_aura/desktop_drag_drop_client_ozone_linux.h"
#include "base/functional/bind.h"
#include "base/task/single_thread_task_runner.h"
#include "ui/aura/client/cursor_client.h"
#include "ui/aura/window.h"
#include "ui/aura/window_tree_host.h"
#include "ui/base/cursor/mojom/cursor_type.mojom-shared.h"
#include "ui/base/data_transfer_policy/data_transfer_policy_controller.h"
#include "ui/base/dragdrop/drag_drop_types.h"
#include "ui/base/dragdrop/mojom/drag_drop_types.mojom.h"
#include "ui/base/layout.h"
#include "ui/views/widget/widget.h"
namespace views {
DesktopDragDropClientOzoneLinux::DesktopDragDropClientOzoneLinux(
aura::Window* root_window,
ui::WmDragHandler* drag_handler)
: … { … }
DesktopDragDropClientOzoneLinux::~DesktopDragDropClientOzoneLinux() = default;
ui::WmDragHandler::LocationDelegate*
DesktopDragDropClientOzoneLinux::GetLocationDelegate() { … }
void DesktopDragDropClientOzoneLinux::OnDragLocationChanged(
const gfx::Point& screen_point_px) { … }
void DesktopDragDropClientOzoneLinux::OnDragOperationChanged(
ui::mojom::DragOperation operation) { … }
std::optional<gfx::AcceleratedWidget>
DesktopDragDropClientOzoneLinux::GetDragWidget() { … }
void DesktopDragDropClientOzoneLinux::UpdateDragWidgetLocation() { … }
}