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

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

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.cc ('k') | chrome/browser/ui/browser_list.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_list.h
diff --git a/chrome/browser/ui/browser_list.h b/chrome/browser/ui/browser_list.h
index 1a568bae80c19912b2cd64b9884dd211994a185f..1e3609da0536091c5b18477b7db64a1226400c4c 100644
--- a/chrome/browser/ui/browser_list.h
+++ b/chrome/browser/ui/browser_list.h
@@ -229,7 +229,7 @@ class TabContentsWrapper;
//
// Example:
// for (TabContentsIterator iterator; !iterator.done(); ++iterator) {
-// TabContents* cur = *iterator;
+// TabContentsWrapper* cur = *iterator;
// -or-
// iterator->operationOnTabContents();
// ...
@@ -243,15 +243,15 @@ class TabContentsIterator {
return cur_ == NULL;
}
- // Returns the Browser instance associated with the current TabContents.
- // Valid as long as !done()
+ // Returns the Browser instance associated with the current
+ // TabContentsWrapper. Valid as long as !done()
Browser* browser() const {
if (browser_iterator_ != BrowserList::end())
return *browser_iterator_;
return NULL;
}
- // Returns the current TabContents, valid as long as !Done()
+ // Returns the current TabContentsWrapper, valid as long as !Done()
TabContentsWrapper* operator->() const {
return cur_;
}
@@ -285,9 +285,9 @@ class TabContentsIterator {
// iterator over the TabContentsWrappers doing background printing.
std::set<TabContentsWrapper*>::const_iterator bg_printing_iterator_;
- // Current TabContents, or NULL if we're at the end of the list. This can
- // be extracted given the browser iterator and index, but it's nice to cache
- // this since the caller may access the current host many times.
+ // Current TabContentsWrapper, or NULL if we're at the end of the list. This
+ // can be extracted given the browser iterator and index, but it's nice to
+ // cache this since the caller may access the current host many times.
TabContentsWrapper* cur_;
};
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/browser_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698