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

Unified Diff: content/browser/web_contents/web_drag_source_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_source_gtk.h
diff --git a/content/browser/web_contents/web_drag_source_gtk.h b/content/browser/web_contents/web_drag_source_gtk.h
index dd3d5b4cdb5485f7613f5bc0fd4f103acc40b0f1..f7954cd9cee20f8e5fb79bedae38de6d93e621d0 100644
--- a/content/browser/web_contents/web_drag_source_gtk.h
+++ b/content/browser/web_contents/web_drag_source_gtk.h
@@ -21,12 +21,12 @@
#include "ui/gfx/vector2d.h"
class SkBitmap;
-struct WebDropData;
namespace content {
class RenderViewHostImpl;
class WebContentsImpl;
+struct DropData;
// WebDragSourceGtk takes care of managing the drag from a WebContents
// with Gtk.
@@ -38,7 +38,7 @@ class CONTENT_EXPORT WebDragSourceGtk :
// Starts a drag for the WebContents this WebDragSourceGtk was created for.
// Returns false if the drag could not be started.
- bool StartDragging(const WebDropData& drop_data,
+ bool StartDragging(const DropData& drop_data,
WebKit::WebDragOperationsMask allowed_ops,
GdkEventButton* last_mouse_down,
const SkBitmap& image,
@@ -67,7 +67,7 @@ class CONTENT_EXPORT WebDragSourceGtk :
// The drop data for the current drag (for drags that originate in the render
// view). Non-NULL iff there is a current drag.
- scoped_ptr<WebDropData> drop_data_;
+ scoped_ptr<DropData> drop_data_;
// The image used for depicting the drag, and the offset between the cursor
// and the top left pixel.
« no previous file with comments | « content/browser/web_contents/web_drag_dest_win.cc ('k') | content/browser/web_contents/web_drag_source_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698