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

Unified Diff: content/public/browser/web_contents_view.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
« no previous file with comments | « content/browser/web_contents/web_drag_source_mac.mm ('k') | content/test/test_web_contents_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/web_contents_view.h
diff --git a/content/public/browser/web_contents_view.h b/content/public/browser/web_contents_view.h
index 019e40164e95b909039f065d75ee3c2f50633b67..5009a220d2afb09873efc8723b071bfcf4ec0b61 100644
--- a/content/public/browser/web_contents_view.h
+++ b/content/public/browser/web_contents_view.h
@@ -98,12 +98,6 @@ class CONTENT_EXPORT WebContentsView {
// invoked, SetInitialFocus is invoked.
virtual void RestoreFocus() = 0;
- // If we try to close the tab while a drag is in progress, we crash. These
- // methods allow the WebContents to determine if a drag is in progress and
- // postpone the tab closing.
- virtual bool IsDoingDrag() const = 0;
- virtual void CancelDragAndCloseTab() = 0;
-
// Returns the current drop data, if any.
virtual WebDropData* GetDropData() const = 0;
« no previous file with comments | « content/browser/web_contents/web_drag_source_mac.mm ('k') | content/test/test_web_contents_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698