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

Unified Diff: ui/base/dragdrop/os_exchange_data_provider_aura.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/os_exchange_data.h ('k') | ui/base/dragdrop/os_exchange_data_provider_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/dragdrop/os_exchange_data_provider_aura.h
===================================================================
--- ui/base/dragdrop/os_exchange_data_provider_aura.h (revision 175409)
+++ ui/base/dragdrop/os_exchange_data_provider_aura.h (working copy)
@@ -57,17 +57,11 @@
virtual void SetHtml(const string16& html, const GURL& base_url) OVERRIDE;
virtual bool GetHtml(string16* html, GURL* base_url) const OVERRIDE;
virtual bool HasHtml() const OVERRIDE;
+ virtual void SetDragImage(const gfx::ImageSkia& image,
+ const gfx::Vector2d& cursor_offset) OVERRIDE;
+ virtual const gfx::ImageSkia& GetDragImage() const OVERRIDE;
+ virtual const gfx::Vector2d& GetDragImageOffset() const OVERRIDE;
- void set_drag_image(const gfx::ImageSkia& drag_image) {
- drag_image_ = drag_image;
- }
-
- const gfx::ImageSkia& drag_image() const { return drag_image_; }
- void set_drag_image_offset(const gfx::Vector2d& drag_image_offset) {
- drag_image_offset_ = drag_image_offset;
- }
- const gfx::Vector2d& drag_image_offset() const { return drag_image_offset_; }
-
private:
typedef std::map<OSExchangeData::CustomFormat, Pickle> PickleData;
« no previous file with comments | « ui/base/dragdrop/os_exchange_data.h ('k') | ui/base/dragdrop/os_exchange_data_provider_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698