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

Unified Diff: chrome/browser/tabs/tab_strip_model_delegate.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.h ('k') | chrome/browser/tabs/tab_strip_model_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tabs/tab_strip_model_delegate.h
diff --git a/chrome/browser/tabs/tab_strip_model_delegate.h b/chrome/browser/tabs/tab_strip_model_delegate.h
index 64154405f8ee259aaeaf4dc16598e66c2da7b9dc..de43b3465b9d23b1690607f87444caf75a66fa44 100644
--- a/chrome/browser/tabs/tab_strip_model_delegate.h
+++ b/chrome/browser/tabs/tab_strip_model_delegate.h
@@ -29,7 +29,7 @@ class Rect;
//
// A delegate interface that the TabStripModel uses to perform work that it
// can't do itself, such as obtain a container HWND for creating new
-// TabContents, creating new TabStripModels for detached tabs, etc.
+// TabContentsWrappers, creating new TabStripModels for detached tabs, etc.
//
// This interface is typically implemented by the controller that instantiates
// the TabStripModel (in our case the Browser object).
@@ -60,9 +60,9 @@ class TabStripModelDelegate {
// Determines what drag actions are possible for the specified strip.
virtual int GetDragActions() const = 0;
- // Creates an appropriate TabContents for the given URL. This is handled by
- // the delegate since the TabContents may require special circumstances to
- // exist for it to be constructed (e.g. a parent HWND).
+ // Creates an appropriate TabContentsWrapper for the given URL. This is
+ // handled by the delegate since the TabContentsWrapper may require special
+ // circumstances to exist for it to be constructed (e.g. a parent HWND).
// If |defer_load| is true, the navigation controller doesn't load the url.
// If |instance| is not null, its process is used to render the tab.
virtual TabContentsWrapper* CreateTabContentsForURL(
@@ -85,14 +85,14 @@ class TabStripModelDelegate {
virtual void CloseFrameAfterDragSession() = 0;
// Creates an entry in the historical tab database for the specified
- // TabContents.
+ // TabContentsWrapper.
virtual void CreateHistoricalTab(TabContentsWrapper* contents) = 0;
- // Runs any unload listeners associated with the specified TabContents before
- // it is closed. If there are unload listeners that need to be run, this
- // function returns true and the TabStripModel will wait before closing the
- // TabContents. If it returns false, there are no unload listeners and the
- // TabStripModel can close the TabContents immediately.
+ // Runs any unload listeners associated with the specified TabContentsWrapper
+ // before it is closed. If there are unload listeners that need to be run,
+ // this function returns true and the TabStripModel will wait before closing
+ // the TabContentsWrapper. If it returns false, there are no unload listeners
+ // and the TabStripModel can close the TabContentsWrapper immediately.
virtual bool RunUnloadListenerBeforeClosing(TabContentsWrapper* contents) = 0;
// Returns true if a tab can be restored.
« no previous file with comments | « chrome/browser/tabs/tab_strip_model.h ('k') | chrome/browser/tabs/tab_strip_model_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698