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

Unified Diff: chrome/browser/ui/browser_tab_strip_model_delegate.cc

Issue 376513002: Remove useless TabDragController::detach_behavior_ and TabDragController::detach_into_browser_ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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: chrome/browser/ui/browser_tab_strip_model_delegate.cc
diff --git a/chrome/browser/ui/browser_tab_strip_model_delegate.cc b/chrome/browser/ui/browser_tab_strip_model_delegate.cc
index 730a2ad03ac3f3c8ac0847c9bfcba774f0e1baf8..ff7b0b7738c398b3a1db6d5dd7bb1955592ee234 100644
--- a/chrome/browser/ui/browser_tab_strip_model_delegate.cc
+++ b/chrome/browser/ui/browser_tab_strip_model_delegate.cc
@@ -102,18 +102,6 @@ void BrowserTabStripModelDelegate::DuplicateContentsAt(int index) {
DuplicateTabAt(browser_, index);
}
-void BrowserTabStripModelDelegate::CloseFrameAfterDragSession() {
-#if !defined(OS_MACOSX)
- // This is scheduled to run after we return to the message loop because
- // otherwise the frame will think the drag session is still active and ignore
- // the request.
- base::MessageLoop::current()->PostTask(
- FROM_HERE,
- base::Bind(&BrowserTabStripModelDelegate::CloseFrame,
- weak_factory_.GetWeakPtr()));
-#endif
-}
-
void BrowserTabStripModelDelegate::CreateHistoricalTab(
content::WebContents* contents) {
// We don't create historical tabs for incognito windows or windows without
« no previous file with comments | « chrome/browser/ui/browser_tab_strip_model_delegate.h ('k') | chrome/browser/ui/tabs/tab_strip_model_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698