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

Unified Diff: content/browser/web_contents/web_drag_dest_gtk.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_gtk.h
diff --git a/content/browser/web_contents/web_drag_dest_gtk.h b/content/browser/web_contents/web_drag_dest_gtk.h
index 8b954b94b91fb567b6e0706e61381a1c0e2bb937..b912afa9d3ce8b0107482cef5fdc3cd1b724e044 100644
--- a/content/browser/web_contents/web_drag_dest_gtk.h
+++ b/content/browser/web_contents/web_drag_dest_gtk.h
@@ -11,9 +11,9 @@
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_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/gtk/gtk_signal.h"
-#include "webkit/common/webdropdata.h"
namespace content {
@@ -28,7 +28,7 @@ class CONTENT_EXPORT WebDragDestGtk {
WebDragDestGtk(WebContents* web_contents, GtkWidget* widget);
~WebDragDestGtk();
- WebDropData* current_drop_data() const { return drop_data_.get(); }
+ DropData* current_drop_data() const { return drop_data_.get(); }
// This is called when the renderer responds to a drag motion event. We must
// update the system drag cursor.
@@ -79,7 +79,7 @@ class CONTENT_EXPORT WebDragDestGtk {
GdkDragContext* context_;
// The data for the current drag, or NULL if |context_| is NULL.
- scoped_ptr<WebDropData> drop_data_;
+ scoped_ptr<DropData> drop_data_;
// The number of outstanding drag data requests we have sent to the drag
// source.
« no previous file with comments | « content/browser/web_contents/web_contents_view_win.cc ('k') | content/browser/web_contents/web_drag_dest_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698