diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-19 21:56:31 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-19 21:56:31 +0000 |
commit | 070578438aad02cd5857bab0bcb3b3661048a982 (patch) | |
tree | f30427a00a0948fb2a7bfd8841df791aa246c3ed /chrome/common/temp_scaffolding_stubs.h | |
parent | 997b15372cc86f283efc0e9315bdf78224ef49d1 (diff) | |
download | chromium_src-070578438aad02cd5857bab0bcb3b3661048a982.zip chromium_src-070578438aad02cd5857bab0bcb3b3661048a982.tar.gz chromium_src-070578438aad02cd5857bab0bcb3b3661048a982.tar.bz2 |
Port TabContentsFactory to posix.
Enable back_forward_menu_model_unittest on linux.
Review URL: http://codereview.chromium.org/21522
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10041 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/temp_scaffolding_stubs.h')
-rw-r--r-- | chrome/common/temp_scaffolding_stubs.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/common/temp_scaffolding_stubs.h b/chrome/common/temp_scaffolding_stubs.h index ac2ac55..79854333 100644 --- a/chrome/common/temp_scaffolding_stubs.h +++ b/chrome/common/temp_scaffolding_stubs.h @@ -77,6 +77,7 @@ class SiteInstance; class SpellChecker; class TabContents; class TabContentsDelegate; +class TabContentsFactory; class TabNavigation; struct ThumbnailScore; class Task; @@ -408,10 +409,7 @@ class TabContents : public PageNavigator, public NotificationObserver { return false; } virtual void RestoreFocus() { NOTIMPLEMENTED(); } - static TabContentsType TypeForURL(GURL* url) { - NOTIMPLEMENTED(); - return TAB_CONTENTS_WEB; - } + static TabContentsType TypeForURL(GURL* url); static TabContents* CreateWithType(TabContentsType type, Profile* profile, SiteInstance* instance); @@ -459,6 +457,8 @@ class TabContents : public PageNavigator, public NotificationObserver { } virtual void CreateView() {} virtual gfx::NativeView GetNativeView() const { return NULL; } + static TabContentsFactory* RegisterFactory(TabContentsType type, + TabContentsFactory* factory); protected: typedef std::vector<ConstrainedWindow*> ConstrainedWindowList; ConstrainedWindowList child_windows_; |