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

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

Issue 10105030: TabContents -> WebContentsImpl, part 21. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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 | « chrome/browser/ui/browser_list.h ('k') | chrome/browser/ui/browser_navigator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_list.cc
diff --git a/chrome/browser/ui/browser_list.cc b/chrome/browser/ui/browser_list.cc
index abdb13545e79fcff717a24a66de6b84e969bf3c6..9aabeab45a970edd4ede02f7b04f49944c69ff14 100644
--- a/chrome/browser/ui/browser_list.cc
+++ b/chrome/browser/ui/browser_list.cc
@@ -85,7 +85,7 @@ class BrowserActivityObserver : public content::NotificationObserver {
}
// Counts the number of tabs in each browser window and logs them. This is
- // different than the number of TabContents objects since TabContents objects
+ // different than the number of WebContents objects since WebContents objects
// can be used for popups and in dialog boxes. We're just counting toplevel
// tabs here.
void LogBrowserTabCount() const {
@@ -855,12 +855,12 @@ TabContentsIterator::TabContentsIterator()
}
void TabContentsIterator::Advance() {
- // The current TabContents should be valid unless we are at the beginning.
+ // The current WebContents should be valid unless we are at the beginning.
DCHECK(cur_ || (web_view_index_ == -1 &&
browser_iterator_ == BrowserList::begin()))
<< "Trying to advance past the end";
- // Update cur_ to the next TabContents in the list.
+ // Update cur_ to the next WebContents in the list.
while (browser_iterator_ != BrowserList::end()) {
if (++web_view_index_ >= (*browser_iterator_)->tab_count()) {
// Advance to the next Browser in the list.
@@ -876,13 +876,13 @@ void TabContentsIterator::Advance() {
return;
}
}
- // If no more TabContents from Browsers, check the BackgroundPrintingManager.
+ // If no more WebContents from Browsers, check the BackgroundPrintingManager.
while (bg_printing_iterator_ != GetBackgroundPrintingManager()->end()) {
cur_ = *bg_printing_iterator_;
CHECK(cur_);
++bg_printing_iterator_;
return;
}
- // Reached the end - no more TabContents.
+ // Reached the end - no more WebContents.
cur_ = NULL;
}
« no previous file with comments | « chrome/browser/ui/browser_list.h ('k') | chrome/browser/ui/browser_navigator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698