| Index: ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h
|
| diff --git a/ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h b/ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h
|
| index 9fec7bbe020b2d6ea9029ed17780b88369fabed5..07481288eb3aed6738ef4670f7ca8d28d3293f84 100644
|
| --- a/ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h
|
| +++ b/ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h
|
| @@ -19,6 +19,7 @@
|
| #include "ui/base/cursor/cursor.h"
|
| #include "ui/base/dragdrop/drag_drop_types.h"
|
| #include "ui/gfx/geometry/point.h"
|
| +#include "ui/gfx/geometry/size.h"
|
| #include "ui/gfx/x/x11_atom_cache.h"
|
| #include "ui/views/views_export.h"
|
| #include "ui/views/widget/desktop_aura/x11_move_loop_delegate.h"
|
| @@ -118,6 +119,9 @@ class VIEWS_EXPORT DesktopDragDropClientAuraX11
|
| // server.
|
| virtual void SendXClientEvent(::Window xid, XEvent* xev);
|
|
|
| + protected:
|
| + Widget* drag_widget() { return drag_widget_.get(); }
|
| +
|
| private:
|
| enum SourceState {
|
| // |source_current_window_| will receive a drop once we receive an
|
| @@ -278,6 +282,9 @@ class VIEWS_EXPORT DesktopDragDropClientAuraX11
|
| // Widget that the user drags around. May be NULL.
|
| std::unique_ptr<Widget> drag_widget_;
|
|
|
| + // The size of drag image.
|
| + gfx::Size drag_image_size_;
|
| +
|
| // The offset of |drag_widget_| relative to the mouse position.
|
| gfx::Vector2d drag_widget_offset_;
|
|
|
|
|