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

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

Issue 12252016: Prevented connecting drag drop events to a SwappedOut RenderViewHost in WebContentsViewGtk (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Use RenderViewSwappedIn to ensure we have a drag dest Created 7 years, 10 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_contents_view_gtk.h
diff --git a/content/browser/web_contents/web_contents_view_gtk.h b/content/browser/web_contents/web_contents_view_gtk.h
index da1f45c80636612461dc6b0005a4843a4f626f22..cb26591a2348b5e7e4a1cb88ed745051db03566e 100644
--- a/content/browser/web_contents/web_contents_view_gtk.h
+++ b/content/browser/web_contents/web_contents_view_gtk.h
@@ -68,7 +68,8 @@ class CONTENT_EXPORT WebContentsViewGtk
RenderWidgetHost* render_widget_host) OVERRIDE;
virtual void SetPageTitle(const string16& title) OVERRIDE;
virtual void RenderViewCreated(RenderViewHost* host) OVERRIDE;
- virtual void RenderViewSwappedIn(RenderViewHost* host) OVERRIDE;
+ virtual void RenderViewSwappedIn(RenderViewHost* new_host,
+ RenderViewHost* old_host) OVERRIDE;
// Backend implementation of RenderViewHostDelegateView.
virtual void ShowContextMenu(

Powered by Google App Engine
This is Rietveld 408576698