| Index: ui/views/drag_utils.h
|
| diff --git a/ui/views/drag_utils.h b/ui/views/drag_utils.h
|
| index 158f5cdecab0070130b6631a52995416dea87b8a..db95cddeefe8746a048e30864dd0046bbb8e69b2 100644
|
| --- a/ui/views/drag_utils.h
|
| +++ b/ui/views/drag_utils.h
|
| @@ -29,6 +29,10 @@ VIEWS_EXPORT void RunShellDrag(gfx::NativeView view,
|
| int operation,
|
| ui::DragDropTypes::DragEventSource source);
|
|
|
| +// Returns the device scale for the display associated with this |widget|'s
|
| +// native view.
|
| +VIEWS_EXPORT float ScaleFactorForDragFromWidget(Widget* widget);
|
| +
|
| // Returns a canvas that can be used to draw the drag image. Caller owns the
|
| // returned object. |widget| is Widget hosting the view being dragged.
|
| VIEWS_EXPORT gfx::Canvas* GetCanvasForDragImage(Widget* widget,
|
|
|