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

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: Fixed issues preventing the setting of the drag_dest_ on RenderViewSwappedIn Created 7 years, 9 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..d9d7f40d152ef6fa4346cb5eca504cb0b01a2b24 100644
--- a/content/browser/web_contents/web_contents_view_gtk.h
+++ b/content/browser/web_contents/web_contents_view_gtk.h
@@ -97,6 +97,8 @@ class CONTENT_EXPORT WebContentsViewGtk
// should be taken that the correct one is hidden/shown.
void InsertIntoContentArea(GtkWidget* widget);
+ void UpdateDragDest(RenderViewHost* new_host);
Charlie Reis 2013/03/14 22:08:38 Please add a comment saying when this needs to be
mthiesse 2013/03/15 15:26:49 Done.
+
// Handle focus traversal on the render widget native view. Can be overridden
// by subclasses.
CHROMEGTK_CALLBACK_1(WebContentsViewGtk, gboolean, OnFocus, GtkDirectionType);

Powered by Google App Engine
This is Rietveld 408576698