Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(177)

Unified Diff: ui/base/dragdrop/os_exchange_data.h

Issue 11787005: Get drag and drop working on Win Ash. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync and take out dcheck for win Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/base/dragdrop/drag_utils_win.cc ('k') | ui/base/dragdrop/os_exchange_data_provider_aura.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/dragdrop/os_exchange_data.h
===================================================================
--- ui/base/dragdrop/os_exchange_data.h (revision 175409)
+++ ui/base/dragdrop/os_exchange_data.h (working copy)
@@ -29,6 +29,11 @@
class GURL;
class Pickle;
+namespace gfx {
+class ImageSkia;
+class Vector2d;
+}
+
namespace ui {
///////////////////////////////////////////////////////////////////////////////
@@ -137,6 +142,13 @@
virtual bool GetHtml(string16* html, GURL* base_url) const = 0;
virtual bool HasHtml() const = 0;
#endif
+
+#if defined(USE_AURA)
+ virtual void SetDragImage(const gfx::ImageSkia& image,
+ const gfx::Vector2d& cursor_offset) = 0;
+ virtual const gfx::ImageSkia& GetDragImage() const = 0;
+ virtual const gfx::Vector2d& GetDragImageOffset() const = 0;
+#endif
};
// Creates the platform specific Provider.
« no previous file with comments | « ui/base/dragdrop/drag_utils_win.cc ('k') | ui/base/dragdrop/os_exchange_data_provider_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698