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

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

Issue 10388105: aura: Fix a couple of bug (really the same bug at two different places) for drag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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_aura.h
diff --git a/content/browser/web_contents/web_contents_view_aura.h b/content/browser/web_contents/web_contents_view_aura.h
index 94c29164c87878ddbabfc8503e016384117b5cfa..a1df00bde2b07cdd916883f9665f0e9f11ee9e9c 100644
--- a/content/browser/web_contents/web_contents_view_aura.h
+++ b/content/browser/web_contents/web_contents_view_aura.h
@@ -138,6 +138,12 @@ class CONTENT_EXPORT WebContentsViewAura
content::WebDragDestDelegate* drag_dest_delegate_;
+ // We keep track of the render view host we're dragging over. If it changes
+ // during a drag, we need to re-send the DragEnter message. WARNING:
+ // this pointer should never be dereferenced. We only use it for comparing
+ // pointers.
+ content::RenderViewHost* current_rvh_for_drag_;
sky 2012/05/14 13:57:15 Can you make this a void*?
varunjain 2012/05/14 17:31:07 Done.
+
DISALLOW_COPY_AND_ASSIGN(WebContentsViewAura);
};
« no previous file with comments | « ash/drag_drop/drag_drop_controller_unittest.cc ('k') | content/browser/web_contents/web_contents_view_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698