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

Unified Diff: chrome/browser/views/tabs/browser_tab_strip_controller.cc

Issue 2821011: Removes phantom tabs. (Closed)
Patch Set: Created 10 years, 6 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/views/tabs/browser_tab_strip_controller.cc
diff --git a/chrome/browser/views/tabs/browser_tab_strip_controller.cc b/chrome/browser/views/tabs/browser_tab_strip_controller.cc
index 6b00128f49dfe0d7ca737c6e26f488dd678d7692..aa79cc3eea565a2ccdfcc05e515671d6cc1b2034 100644
--- a/chrome/browser/views/tabs/browser_tab_strip_controller.cc
+++ b/chrome/browser/views/tabs/browser_tab_strip_controller.cc
@@ -338,12 +338,6 @@ void BrowserTabStripController::TabChangedAt(TabContents* contents,
SetTabDataAt(contents, model_index);
}
-void BrowserTabStripController::TabReplacedAt(TabContents* old_contents,
- TabContents* new_contents,
- int model_index) {
- SetTabDataAt(new_contents, model_index);
-}
-
void BrowserTabStripController::TabPinnedStateChanged(TabContents* contents,
int model_index) {
// Currently none of the renderers render pinned state differently.
@@ -384,7 +378,6 @@ void BrowserTabStripController::SetTabRendererDataFromModel(
data->show_icon = contents->ShouldDisplayFavIcon();
data->mini = model_->IsMiniTab(model_index);
data->blocked = model_->IsTabBlocked(model_index);
- data->phantom = model_->IsPhantomTab(model_index);
data->app = contents->is_app();
}
« no previous file with comments | « chrome/browser/views/tabs/browser_tab_strip_controller.h ('k') | chrome/browser/views/tabs/dragged_tab_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698