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

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

Issue 12086095: Fixed drag and drop into and out of Browser Plugin. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Splitting up patch Created 7 years, 8 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 e446e3e59e5a96b2e11a740e6ed6a6a20630fb54..90b8c0155cc37bc2272f3212297cda137408da9d 100644
--- a/content/browser/web_contents/web_drag_source_gtk.h
+++ b/content/browser/web_contents/web_drag_source_gtk.h
@@ -12,6 +12,7 @@
#include "base/message_loop.h"
#include "base/string16.h"
#include "content/common/content_export.h"
+#include "content/public/browser/web_contents.h"
#include "googleurl/src/gurl.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebDragOperation.h"
#include "ui/base/gtk/gtk_signal.h"
@@ -25,7 +26,7 @@ struct WebDropData;
namespace content {
class RenderViewHostImpl;
-class WebContents;
+class WebContentsImpl;
// WebDragSourceGtk takes care of managing the drag from a WebContents
// with Gtk.
@@ -58,11 +59,10 @@ class CONTENT_EXPORT WebDragSourceGtk : public MessageLoopForUI::Observer {
CHROMEGTK_CALLBACK_1(WebDragSourceGtk, gboolean, OnDragIconExpose,
GdkEventExpose*);
- RenderViewHostImpl* GetRenderViewHost() const;
gfx::NativeView GetContentNativeView() const;
// The tab we're manging the drag for.
- WebContents* web_contents_;
+ WebContentsImpl* web_contents_;
// The drop data for the current drag (for drags that originate in the render
// view). Non-NULL iff there is a current drag.
« no previous file with comments | « content/browser/web_contents/web_contents_view_guest.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