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

Unified Diff: chrome/browser/tabs/tab_strip_model_observer.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/tabs/tab_strip_model_delegate.h ('k') | chrome/browser/tabs/tab_strip_model_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tabs/tab_strip_model_observer.h
diff --git a/chrome/browser/tabs/tab_strip_model_observer.h b/chrome/browser/tabs/tab_strip_model_observer.h
index 5b5e8ea0082d93ae787a367a53127548c6481587..ce1b486fca2eb0849af0fa4e57efbca338079c9a 100644
--- a/chrome/browser/tabs/tab_strip_model_observer.h
+++ b/chrome/browser/tabs/tab_strip_model_observer.h
@@ -39,25 +39,26 @@ class TabStripModelObserver {
ALL
};
- // A new TabContents was inserted into the TabStripModel at the specified
- // index. |foreground| is whether or not it was opened in the foreground
- // (selected).
+ // A new TabContentsWrapper was inserted into the TabStripModel at the
+ // specified index. |foreground| is whether or not it was opened in the
+ // foreground (selected).
virtual void TabInsertedAt(TabContentsWrapper* contents,
int index,
bool foreground);
- // The specified TabContents at |index| is being closed (and eventually
+ // The specified TabContentsWrapper at |index| is being closed (and eventually
// destroyed). |tab_strip_model| is the TabStripModel the tab was part of.
virtual void TabClosingAt(TabStripModel* tab_strip_model,
TabContentsWrapper* contents,
int index);
- // The specified TabContents at |index| is being detached, perhaps to be
- // inserted in another TabStripModel. The implementer should take whatever
- // action is necessary to deal with the TabContents no longer being present.
+ // The specified TabContentsWrapper at |index| is being detached, perhaps to
+ // be inserted in another TabStripModel. The implementer should take whatever
+ // action is necessary to deal with the TabContentsWrapper no longer being
+ // present.
virtual void TabDetachedAt(TabContentsWrapper* contents, int index);
- // The active TabContents is about to change from |old_contents|.
+ // The active TabContentsWrapper is about to change from |old_contents|.
// This gives observers a chance to prepare for an impending switch before it
// happens.
virtual void TabDeactivated(TabContentsWrapper* contents);
@@ -84,14 +85,14 @@ class TabStripModelObserver {
virtual void TabSelectionChanged(TabStripModel* tab_strip_model,
const TabStripSelectionModel& old_model);
- // The specified TabContents at |from_index| was moved to |to_index|.
+ // The specified TabContentsWrapper at |from_index| was moved to |to_index|.
virtual void TabMoved(TabContentsWrapper* contents,
int from_index,
int to_index);
- // The specified TabContents at |index| changed in some way. |contents| may
- // be an entirely different object and the old value is no longer available
- // by the time this message is delivered.
+ // The specified TabContentsWrapper at |index| changed in some way. |contents|
+ // may be an entirely different object and the old value is no longer
+ // available by the time this message is delivered.
//
// See TabChangeType for a description of |change_type|.
virtual void TabChangedAt(TabContentsWrapper* contents,
@@ -100,7 +101,7 @@ class TabStripModelObserver {
// The tab contents was replaced at the specified index. This is invoked
// when instant is enabled and the user navigates by way of instant or when
- // prerendering swaps in a prerendered TabContents.
+ // prerendering swaps in a prerendered TabContentsWrapper.
virtual void TabReplacedAt(TabStripModel* tab_strip_model,
TabContentsWrapper* old_contents,
TabContentsWrapper* new_contents,
« no previous file with comments | « chrome/browser/tabs/tab_strip_model_delegate.h ('k') | chrome/browser/tabs/tab_strip_model_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698