diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-15 23:19:42 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-15 23:19:42 +0000 |
commit | b680ad2269af98da01b992e15130e18bfcb7783c (patch) | |
tree | d20c4bf1b3eec9ba7cc761b5a93985eccbe22ed8 /chrome/browser/tab_contents/navigation_entry.h | |
parent | 7fd4cc37ca4361f04bb45da1ec06210e84c7c303 (diff) | |
download | chromium_src-b680ad2269af98da01b992e15130e18bfcb7783c.zip chromium_src-b680ad2269af98da01b992e15130e18bfcb7783c.tar.gz chromium_src-b680ad2269af98da01b992e15130e18bfcb7783c.tar.bz2 |
Remove TabContnetsType from everywhere.
I also removed the notion of the "active" tab contents since there is only one
per tab now, and all the messages to replace them.
Review URL: http://codereview.chromium.org/67173
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13808 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents/navigation_entry.h')
-rw-r--r-- | chrome/browser/tab_contents/navigation_entry.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/chrome/browser/tab_contents/navigation_entry.h b/chrome/browser/tab_contents/navigation_entry.h index 9a39d14..677e633 100644 --- a/chrome/browser/tab_contents/navigation_entry.h +++ b/chrome/browser/tab_contents/navigation_entry.h @@ -10,7 +10,6 @@ #include "base/string_util.h" #include "chrome/browser/tab_contents/security_style.h" #include "chrome/browser/tab_contents/site_instance.h" -#include "chrome/browser/tab_contents/tab_contents_type.h" #include "chrome/common/page_transition_types.h" #include "googleurl/src/gurl.h" #include "grit/theme_resources.h" @@ -175,9 +174,7 @@ class NavigationEntry { // --------------------------------------------------------------------------- NavigationEntry(); - explicit NavigationEntry(TabContentsType type); - NavigationEntry(TabContentsType type, - SiteInstance* instance, + NavigationEntry(SiteInstance* instance, int page_id, const GURL& url, const GURL& referrer, @@ -199,12 +196,6 @@ class NavigationEntry { return unique_id_; } - // Return the TabContents type required to display this entry. Immutable - // because a tab can never change its type. - TabContentsType tab_type() const { - return tab_type_; - } - // The SiteInstance tells us how to share sub-processes when the tab type is // TAB_CONTENTS_WEB. This will be NULL otherwise. This is a reference counted // pointer to a shared site instance. @@ -399,7 +390,6 @@ class NavigationEntry { // See the accessors above for descriptions. int unique_id_; - TabContentsType tab_type_; scoped_refptr<SiteInstance> site_instance_; PageType page_type_; GURL url_; |