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..2bc22055861c4e1e381d6fe4d39595b717ea3ae5 100644 |
--- a/content/browser/web_contents/web_contents_view_gtk.h |
+++ b/content/browser/web_contents/web_contents_view_gtk.h |
@@ -97,6 +97,10 @@ class CONTENT_EXPORT WebContentsViewGtk |
// should be taken that the correct one is hidden/shown. |
void InsertIntoContentArea(GtkWidget* widget); |
+ // Replaces, or updates, the existing WebDragDestGtk with one for |new_host|. |
+ // This must be called when swapping in, or creating a swapped in, RVH. |
+ void UpdateDragDest(RenderViewHost* new_host); |
+ |
// Handle focus traversal on the render widget native view. Can be overridden |
// by subclasses. |
CHROMEGTK_CALLBACK_1(WebContentsViewGtk, gboolean, OnFocus, GtkDirectionType); |