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

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: Patch to land 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 260d37eb08fdfe9463b60f7b5d35a75f4c60f4be..cba65d72553270546e3f39dcadef4de3fa906e6b 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
« no previous file with comments | « content/browser/web_contents/web_contents_view_android.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