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

Unified Diff: chrome/browser/defaults.h

Issue 10911222: Chrome OS should open to empty desktop when session restore is empty. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup + fix RestoreOnStartupPolicyTest, StartupBrowserCreatorTest Created 8 years, 3 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
Index: chrome/browser/defaults.h
diff --git a/chrome/browser/defaults.h b/chrome/browser/defaults.h
index 8814847d1004f9b6307f3e38c11092ad53c62636..ac0e06812d84f483aa48270148c9298c9e31c9de 100644
--- a/chrome/browser/defaults.h
+++ b/chrome/browser/defaults.h
@@ -85,10 +85,10 @@ extern const int kInfoBarBorderPaddingVertical;
// Last character display for passwords.
extern const bool kPasswordEchoEnabled;
-// Changes how browser is initialized when executed in app mode.
-// If true after app window is opened continue with regular startup path
-// i.e. session restore, load URLs from cmd line plus focus app window.
-extern const bool kAppRestoreSession;
+// Indicates whether session restore should always create a new
+// tabbed browser. This is true every where except on ChromeOS
+// where we want the desktop to show through in this situation.
+extern const bool kAlwaysCreateTabbedBrowserOnSessionRestore;
//=============================================================================
// Runtime "const" - set only once after parsing command line option and should
« no previous file with comments | « no previous file | chrome/browser/defaults.cc » ('j') | chrome/browser/ui/startup/startup_browser_creator_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698