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

Unified Diff: content/browser/web_contents/web_drag_dest_win.h

Issue 18281002: Move WebDropData to content::DropData and split off conversion function. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Mac build error. Created 7 years, 6 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
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 89c0027a0f14246fcaa4bb5c2e0a06dcd8ef12dc..5ddb7edc2c8a9016f9158b10a39a707f2dc14a2f 100644
--- a/content/browser/web_contents/web_drag_dest_win.h
+++ b/content/browser/web_contents/web_drag_dest_win.h
@@ -7,9 +7,9 @@
#include "base/memory/scoped_ptr.h"
#include "content/common/content_export.h"
+#include "content/public/common/drop_data.h"
#include "third_party/WebKit/public/web/WebDragOperation.h"
#include "ui/base/dragdrop/drop_target_win.h"
-#include "webkit/common/webdropdata.h"
namespace content {
class InterstitialDropTarget;
@@ -27,7 +27,7 @@ class CONTENT_EXPORT WebDragDest : public ui::DropTargetWin {
WebDragDest(HWND source_hwnd, WebContents* contents);
virtual ~WebDragDest();
- WebDropData* current_drop_data() const { return drop_data_.get(); }
+ DropData* current_drop_data() const { return drop_data_.get(); }
void set_drag_cursor(WebKit::WebDragOperation op) {
drag_cursor_ = op;
@@ -76,7 +76,7 @@ class CONTENT_EXPORT WebDragDest : public ui::DropTargetWin {
WebDragDestDelegate* delegate_;
// The data for the current drag, or NULL if |context_| is NULL.
- scoped_ptr<WebDropData> drop_data_;
+ scoped_ptr<DropData> drop_data_;
// True if the drag has been canceled.
bool canceled_;
« no previous file with comments | « content/browser/web_contents/web_drag_dest_mac_unittest.mm ('k') | content/browser/web_contents/web_drag_dest_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698