Index: content/browser/web_contents/web_drag_dest_win.h |
diff --git a/content/browser/web_contents/web_drag_dest_win.h b/content/browser/web_contents/web_drag_dest_win.h |
index ffa53c797398ed599ebd22854b463beb818aa2a3..728390b0f7c05e50855efeb5cd14b0f559e5b089 100644 |
--- a/content/browser/web_contents/web_drag_dest_win.h |
+++ b/content/browser/web_contents/web_drag_dest_win.h |
@@ -10,6 +10,7 @@ |
#include "content/common/content_export.h" |
#include "third_party/WebKit/Source/WebKit/chromium/public/WebDragOperation.h" |
#include "ui/base/dragdrop/drop_target.h" |
+#include "webkit/glue/webdropdata.h" |
class InterstitialDropTarget; |
@@ -29,6 +30,8 @@ class CONTENT_EXPORT WebDragDest : public ui::DropTarget { |
WebDragDest(HWND source_hwnd, content::WebContents* contents); |
virtual ~WebDragDest(); |
+ WebDropData* current_drop_data() const { return drop_data_.get(); } |
+ |
void set_drag_cursor(WebKit::WebDragOperation op) { |
drag_cursor_ = op; |
} |
@@ -75,6 +78,9 @@ class CONTENT_EXPORT WebDragDest : public ui::DropTarget { |
// A delegate that can receive drag information about drag events. |
content::WebDragDestDelegate* delegate_; |
+ // The data for the current drag, or NULL if |context_| is NULL. |
+ scoped_ptr<WebDropData> drop_data_; |
+ |
DISALLOW_COPY_AND_ASSIGN(WebDragDest); |
}; |