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

Side by Side Diff: chrome/browser/defaults.cc

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: make switch available on all platforms 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/defaults.h ('k') | chrome/browser/policy/policy_browsertest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/defaults.h" 5 #include "chrome/browser/defaults.h"
6 6
7 namespace browser_defaults { 7 namespace browser_defaults {
8 8
9 #if defined(USE_AURA) 9 #if defined(USE_AURA)
10 const bool kOSSupportsOtherBrowsers = false; 10 const bool kOSSupportsOtherBrowsers = false;
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 103
104 const int kInfoBarBorderPaddingVertical = 5; 104 const int kInfoBarBorderPaddingVertical = 5;
105 105
106 #if defined(OS_ANDROID) 106 #if defined(OS_ANDROID)
107 const bool kPasswordEchoEnabled = true; 107 const bool kPasswordEchoEnabled = true;
108 #else 108 #else
109 const bool kPasswordEchoEnabled = false; 109 const bool kPasswordEchoEnabled = false;
110 #endif 110 #endif
111 111
112 #if defined(OS_CHROMEOS) 112 #if defined(OS_CHROMEOS)
113 const bool kAppRestoreSession = true; 113 // On Chrome OS we're initializing into new user session with only
114 // Getting started guide shown as an app window (session restore is skipped).
115 // In all other cases (existing user) we're initializing to empty desktop
116 // if session restore is empty. http://crbug.com/141718
117 const bool kAlwaysCreateTabbedBrowserOnSessionRestore = false;
114 #else 118 #else
115 const bool kAppRestoreSession = false; 119 const bool kAlwaysCreateTabbedBrowserOnSessionRestore = true;
116 #endif 120 #endif
117 121
118 bool bookmarks_enabled = true; 122 bool bookmarks_enabled = true;
119 123
120 bool enable_help_app = true; 124 bool enable_help_app = true;
121 125
122 } // namespace browser_defaults 126 } // namespace browser_defaults
OLDNEW
« no previous file with comments | « chrome/browser/defaults.h ('k') | chrome/browser/policy/policy_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698