Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3984)

Unified Diff: chrome/browser/browser.cc

Issue 27169: Linux: add splash screen (Closed)
Patch Set: ... Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/browser_about_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser.cc
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc
index b9c5a569787672030723ad87cf73d0652ab85297..31455bc028695589aa8faabe27444cd3cb4beeeb 100644
--- a/chrome/browser/browser.cc
+++ b/chrome/browser/browser.cc
@@ -1435,9 +1435,13 @@ void Browser::TabSelectedAt(TabContents* old_contents,
ProcessPendingUIUpdates();
if (old_contents) {
+#if defined(OS_WIN)
// Save what the user's currently typing, so it can be restored when we
// switch back to this tab.
window_->GetLocationBar()->SaveStateToContents(old_contents);
+#else
+ NOTIMPLEMENTED();
+#endif
}
// Propagate the profile to the location bar.
@@ -2377,6 +2381,9 @@ void Browser::BuildPopupWindow(TabContents* source,
}
GURL Browser::GetHomePage() {
+#if defined(OS_LINUX)
+ return GURL("about:linux-splash");
+#endif
if (profile_->GetPrefs()->GetBoolean(prefs::kHomePageIsNewTabPage))
return NewTabUI::GetBaseURL();
GURL home_page = GURL(URLFixerUpper::FixupURL(
« no previous file with comments | « no previous file | chrome/browser/browser_about_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698