summaryrefslogtreecommitdiffstats
path: root/chrome/common/temp_scaffolding_stubs.cc
diff options
context:
space:
mode:
authorpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-17 22:13:19 +0000
committerpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-17 22:13:19 +0000
commita239c3f7a4dbf736b6b5dce686619819f6c86f18 (patch)
tree081722636f668bb0198713a788be349bc940c6b1 /chrome/common/temp_scaffolding_stubs.cc
parent41528efa2a2fd9e199f422dffd64c95518adc838 (diff)
downloadchromium_src-a239c3f7a4dbf736b6b5dce686619819f6c86f18.zip
chromium_src-a239c3f7a4dbf736b6b5dce686619819f6c86f18.tar.gz
chromium_src-a239c3f7a4dbf736b6b5dce686619819f6c86f18.tar.bz2
Remove TabContentsDelegate from scaffolding. Remove a large chunk of ifdef'd code from browser.cc to go along with it as well as enabling more functionality.
Review URL: http://codereview.chromium.org/21424 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9908 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/temp_scaffolding_stubs.cc')
-rw-r--r--chrome/common/temp_scaffolding_stubs.cc21
1 files changed, 3 insertions, 18 deletions
diff --git a/chrome/common/temp_scaffolding_stubs.cc b/chrome/common/temp_scaffolding_stubs.cc
index 1219c88..9ba6d3e 100644
--- a/chrome/common/temp_scaffolding_stubs.cc
+++ b/chrome/common/temp_scaffolding_stubs.cc
@@ -138,7 +138,9 @@ void OpenFirstRunDialog(Profile* profile) { NOTIMPLEMENTED(); }
GURL NewTabUIURL() {
NOTIMPLEMENTED();
- return GURL();
+ // TODO(port): returning a blank URL here confuses the page IDs so make sure
+ // we load something
+ return GURL("http://dev.chromium.org");
}
//--------------------------------------------------------------------------
@@ -174,23 +176,6 @@ void UninstallJankometer() {
//--------------------------------------------------------------------------
-void Browser::Observe(NotificationType type,
- const NotificationSource& source,
- const NotificationDetails& details) {
- NOTIMPLEMENTED();
-}
-
-GURL Browser::GetHomePage() {
- NOTIMPLEMENTED();
- return GURL("http://dev.chromium.org");
-}
-
-void Browser::LoadingStateChanged(TabContents* source) {
- NOTIMPLEMENTED();
-}
-
-//--------------------------------------------------------------------------
-
TabContents* TabContents::CreateWithType(TabContentsType type,
Profile* profile,
SiteInstance* instance) {