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

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: patch 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..44af860810fedccae921ba2ff2677cf4fb5b2049 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.
+ void* current_rvh_for_drag_;
+
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