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

Unified Diff: content/browser/web_contents/web_contents_view_win.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_win.h
diff --git a/content/browser/web_contents/web_contents_view_win.h b/content/browser/web_contents/web_contents_view_win.h
index 57348920f84a94e0872df7c78658056f7e74ab43..7e9b022c84fd074d08b364b396f6e5e4740f2a5b 100644
--- a/content/browser/web_contents/web_contents_view_win.h
+++ b/content/browser/web_contents/web_contents_view_win.h
@@ -75,7 +75,8 @@ class CONTENT_EXPORT WebContentsViewWin
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;
// Implementation of RenderViewHostDelegateView.
virtual void ShowContextMenu(

Powered by Google App Engine
This is Rietveld 408576698