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

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

Issue 10546106: TabContentsWrapper -> TabContents, part 53. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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.cc ('k') | chrome/browser/ui/browser_navigator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_navigator.h
diff --git a/chrome/browser/ui/browser_navigator.h b/chrome/browser/ui/browser_navigator.h
index 305aa73856e0925a814c86ee6e12cde46e46a21d..7e5f2afe2fea204c3697e8813d33deb8f0ac706d 100644
--- a/chrome/browser/ui/browser_navigator.h
+++ b/chrome/browser/ui/browser_navigator.h
@@ -18,7 +18,6 @@
class Browser;
class Profile;
class TabContents;
-typedef TabContents TabContentsWrapper;
namespace browser {
@@ -36,7 +35,7 @@ namespace browser {
// params.disposition = NEW_BACKGROUND_TAB;
// browser::Navigate(&params);
//
-// Opens a popup TabContentsWrapper:
+// Opens a popup TabContents:
// browser::NavigateParams params(browser, popup_contents);
// params.source_contents = source_contents;
// browser::Navigate(&params);
@@ -47,35 +46,35 @@ struct NavigateParams {
NavigateParams(Browser* browser,
const GURL& a_url,
content::PageTransition a_transition);
- NavigateParams(Browser* browser, TabContentsWrapper* a_target_contents);
+ NavigateParams(Browser* browser, TabContents* a_target_contents);
~NavigateParams();
// The URL/referrer to be loaded. Ignored if |target_contents| is non-NULL.
GURL url;
content::Referrer referrer;
- // [in] A TabContentsWrapper to be navigated or inserted into the target
+ // [in] A TabContents to be navigated or inserted into the target
// Browser's tabstrip. If NULL, |url| or the homepage will be used
// instead. When non-NULL, Navigate() assumes it has already been
// navigated to its intended destination and will not load any URL in it
// (i.e. |url| is ignored).
// Default is NULL.
- // [out] The TabContentsWrapper in which the navigation occurred or that was
+ // [out] The TabContents in which the navigation occurred or that was
// inserted. Guaranteed non-NULL except for note below:
// Note: If this field is set to NULL by the caller and Navigate() creates
- // a new TabContentsWrapper, this field will remain NULL and the
- // TabContentsWrapper deleted if the TabContentsWrapper it created is
+ // a new TabContents, this field will remain NULL and the
+ // TabContents deleted if the TabContents it created is
// not added to a TabStripModel before Navigate() returns.
- TabContentsWrapper* target_contents;
+ TabContents* target_contents;
- // [in] The TabContentsWrapper that initiated the Navigate() request if such
+ // [in] The TabContents that initiated the Navigate() request if such
// context is necessary. Default is NULL, i.e. no context.
- // [out] If NULL, this value will be set to the selected TabContentsWrapper in
+ // [out] If NULL, this value will be set to the selected TabContents in
// the originating browser prior to the operation performed by
// Navigate(). However, if the originating page is from a different
// profile (e.g. an OFF_THE_RECORD page originating from a non-OTR
// window), then |source_contents| is reset to NULL.
- TabContentsWrapper* source_contents;
+ TabContents* source_contents;
// The disposition requested by the navigation source. Default is
// CURRENT_TAB. What follows is a set of coercions that happen to this value
« no previous file with comments | « chrome/browser/ui/browser_list.cc ('k') | chrome/browser/ui/browser_navigator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698