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

Unified Diff: content/browser/web_contents/web_drag_dest_mac.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_mac.h
diff --git a/content/browser/web_contents/web_drag_dest_mac.h b/content/browser/web_contents/web_drag_dest_mac.h
index 3d4cbe5d9aedb51bce850a47898e4b9998cd166f..63a9efa417d1a794b9295ef71e0f6b7935c85af8 100644
--- a/content/browser/web_contents/web_drag_dest_mac.h
+++ b/content/browser/web_contents/web_drag_dest_mac.h
@@ -7,8 +7,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/strings/string16.h"
#include "content/common/content_export.h"
-#include "webkit/common/webdropdata.h"
-
+#include "content/public/common/drop_data.h"
namespace content {
class RenderViewHost;
@@ -40,7 +39,7 @@ CONTENT_EXPORT
RenderViewHostIdentifier currentRVH_;
// The data for the current drag, or NULL if none is in progress.
- scoped_ptr<WebDropData> dropData_;
+ scoped_ptr<content::DropData> dropData_;
// True if the drag has been canceled.
bool canceled_;
@@ -51,7 +50,7 @@ CONTENT_EXPORT
// (if necessary).
- (id)initWithWebContentsImpl:(content::WebContentsImpl*)contents;
-- (WebDropData*)currentDropData;
+- (content::DropData*)currentDropData;
- (void)setDragDelegate:(content::WebDragDestDelegate*)delegate;
@@ -76,7 +75,7 @@ CONTENT_EXPORT
@interface WebDragDest(Testing)
// Given |data|, which should not be nil, fill it in using the contents of the
// given pasteboard.
-- (void)populateWebDropData:(WebDropData*)data
+- (void)populateDropData:(content::DropData*)data
fromPasteboard:(NSPasteboard*)pboard;
// Given a point in window coordinates and a view in that window, return a
// flipped point in the coordinate system of |view|.
« no previous file with comments | « content/browser/web_contents/web_drag_dest_gtk.cc ('k') | content/browser/web_contents/web_drag_dest_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698