summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-09 20:13:22 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-09 20:13:22 +0000
commit1351b6a03c4bd8b19b36a39afb37b0f34d34708f (patch)
tree137595e0aadbb93bb2c45e064c957e02a901f36b /chrome/browser
parent120f05fa80e35a372331dfe901e65c74383d3d30 (diff)
downloadchromium_src-1351b6a03c4bd8b19b36a39afb37b0f34d34708f.zip
chromium_src-1351b6a03c4bd8b19b36a39afb37b0f34d34708f.tar.gz
chromium_src-1351b6a03c4bd8b19b36a39afb37b0f34d34708f.tar.bz2
Make about:linux-splash the default home page and remove an ifdef so we can see the NTP for new tabs.
Review URL: http://codereview.chromium.org/65018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13450 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/profile.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/profile.cc b/chrome/browser/profile.cc
index 268daea..37cb457 100644
--- a/chrome/browser/profile.cc
+++ b/chrome/browser/profile.cc
@@ -374,6 +374,11 @@ ProfileImpl::ProfileImpl(const FilePath& path)
PrefService* prefs = GetPrefs();
prefs->AddPrefObserver(prefs::kSpellCheckDictionary, this);
prefs->AddPrefObserver(prefs::kEnableSpellCheck, this);
+#if defined(OS_LINUX)
+ // TODO(port): Remove ifdef when the Linux splash page is not needed.
+ prefs->transient()->SetString(prefs::kHomePage, "about:linux-splash");
+ prefs->transient()->SetBoolean(prefs::kHomePageIsNewTabPage, false);
+#endif
}
void ProfileImpl::InitExtensions() {