Chromium Code Reviews| Index: ui/base/dragdrop/os_exchange_data.h |
| diff --git a/ui/base/dragdrop/os_exchange_data.h b/ui/base/dragdrop/os_exchange_data.h |
| index 5c237587c16216f35ba33894f1e69bb463c3d43f..19049147e444052afe5376384b9c999612f163b6 100644 |
| --- a/ui/base/dragdrop/os_exchange_data.h |
| +++ b/ui/base/dragdrop/os_exchange_data.h |
| @@ -15,11 +15,13 @@ |
| #include <objidl.h> |
| #endif |
| +#include "base/event_types.h" |
| #include "base/files/file_path.h" |
| #include "base/macros.h" |
| #include "ui/base/clipboard/clipboard.h" |
| #include "ui/base/dragdrop/download_file_interface.h" |
| #include "ui/base/ui_base_export.h" |
| +#include "ui/events/event.h" |
| class GURL; |
| @@ -136,6 +138,13 @@ class UI_BASE_EXPORT OSExchangeData { |
| virtual const gfx::ImageSkia& GetDragImage() const = 0; |
| virtual const gfx::Vector2d& GetDragImageOffset() const = 0; |
| #endif |
| + |
| +#if defined(OS_MACOSX) |
| + virtual void SetDragImage(const gfx::ImageSkia& image) = 0; |
|
tapted
2016/05/11 12:36:15
it's probably nicer to expose the existing Aura me
spqchan
2016/05/23 21:26:21
I added defined(OS_MACOSX), I ran into some troubl
|
| + virtual const gfx::ImageSkia& GetDragImage() const = 0; |
| + virtual void SetNativeEvent(const base::NativeEvent& event) = 0; |
| + virtual const base::NativeEvent& GetNativeEvent() const = 0; |
| +#endif |
| }; |
| // Creates the platform specific Provider. |