diff options
Diffstat (limited to 'chrome/common/temp_scaffolding_stubs.cpp')
-rw-r--r-- | chrome/common/temp_scaffolding_stubs.cpp | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/chrome/common/temp_scaffolding_stubs.cpp b/chrome/common/temp_scaffolding_stubs.cpp index 1228938..3d5037c 100644 --- a/chrome/common/temp_scaffolding_stubs.cpp +++ b/chrome/common/temp_scaffolding_stubs.cpp @@ -189,6 +189,10 @@ void OnShutdownStarting(ShutdownType type) { } void OpenFirstRunDialog(Profile* profile) { } +GURL NewTabUIURL() { + return GURL(); +} + //-------------------------------------------------------------------------- PluginService* PluginService::GetInstance() { @@ -229,5 +233,17 @@ GURL Browser::GetHomePage() { TabContents* Browser::AddTabWithURL( const GURL& url, const GURL& referrer, PageTransition::Type transition, bool foreground, SiteInstance* instance) { - return NULL; + return new TabContents; } + +void Browser::LoadingStateChanged(TabContents* source) { +} + +//-------------------------------------------------------------------------- + +TabContents* TabContents::CreateWithType(TabContentsType type, + Profile* profile, + SiteInstance* instance) { + return new TabContents; +} + |