Remove TabContents from TabStripModel method names not taking TabContents.
BUG=107201
TEST=no visible change
Review URL: https://chromiumcodereview.appspot.com/11299231
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170038 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index c050befe..d34825b 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -1944,7 +1944,7 @@
web_contents->GetURL().host() == extension->id()) ||
(extensions::TabHelper::FromWebContents(
web_contents)->extension_app() == extension)) {
- tab_strip_model_->CloseTabContentsAt(i, TabStripModel::CLOSE_NONE);
+ tab_strip_model_->CloseWebContentsAt(i, TabStripModel::CLOSE_NONE);
}
}
}
@@ -2054,7 +2054,7 @@
// Update the loading state synchronously. This is so the throbber will
// immediately start/stop, which gives a more snappy feel. We want to do
// this for any tab so they start & stop quickly.
- tab_strip_model_->UpdateTabContentsStateAt(
+ tab_strip_model_->UpdateWebContentsStateAt(
tab_strip_model_->GetIndexOfWebContents(source),
TabStripModelObserver::LOADING_ONLY);
// The status bubble needs to be updated during INVALIDATE_TYPE_LOAD too,
@@ -2067,7 +2067,7 @@
// we need to process the update synchronously. This state only matters for
// the TabStripModel, so we notify the TabStripModel now and notify others
// asynchronously.
- tab_strip_model_->UpdateTabContentsStateAt(
+ tab_strip_model_->UpdateWebContentsStateAt(
tab_strip_model_->GetIndexOfWebContents(source),
TabStripModelObserver::TITLE_NOT_LOADING);
}
@@ -2138,7 +2138,7 @@
// Updates that don't depend upon the selected state go here.
if (flags &
(content::INVALIDATE_TYPE_TAB | content::INVALIDATE_TYPE_TITLE)) {
- tab_strip_model_->UpdateTabContentsStateAt(
+ tab_strip_model_->UpdateWebContentsStateAt(
tab_strip_model_->GetIndexOfWebContents(contents),
TabStripModelObserver::ALL);
}