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

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

Issue 10966023: Fix the crash that could occur when the window is closed while web contents drag is in progress. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix typo per feedback Created 8 years, 3 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 93a17dbd23e5bad9b40021cb96994253015117e8..5472cd2483c307d998a2d290c5c01bfa044dbc25 100644
--- a/content/browser/web_contents/web_contents_view_aura.h
+++ b/content/browser/web_contents/web_contents_view_aura.h
@@ -63,8 +63,6 @@ class CONTENT_EXPORT WebContentsViewAura
virtual void SetInitialFocus() OVERRIDE;
virtual void StoreFocus() OVERRIDE;
virtual void RestoreFocus() OVERRIDE;
- virtual bool IsDoingDrag() const OVERRIDE;
- virtual void CancelDragAndCloseTab() OVERRIDE;
virtual WebDropData* GetDropData() const OVERRIDE;
virtual bool IsEventTracking() const OVERRIDE;
virtual void CloseTabAfterEventTracking() OVERRIDE;
@@ -134,10 +132,6 @@ class CONTENT_EXPORT WebContentsViewAura
WebKit::WebDragOperationsMask current_drag_op_;
- // Set to true if we want to close the tab after the system drag operation
- // has finished.
- bool close_tab_after_drag_ends_;
-
content::WebDragDestDelegate* drag_dest_delegate_;
// We keep track of the render view host we're dragging over. If it changes

Powered by Google App Engine
This is Rietveld 408576698