diff options
author | nkostylev@chromium.org <nkostylev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-08 18:34:09 +0000 |
---|---|---|
committer | nkostylev@chromium.org <nkostylev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-08 18:34:09 +0000 |
commit | d28c47739c67f572946537b8d008a81eb2c96e6c (patch) | |
tree | 0679afd2d74900f766e34f0f90648b353bd34193 /chrome/browser/defaults.h | |
parent | 47a047d26cd3a931148f59b2b035aa1deddc153c (diff) | |
download | chromium_src-d28c47739c67f572946537b8d008a81eb2c96e6c.zip chromium_src-d28c47739c67f572946537b8d008a81eb2c96e6c.tar.gz chromium_src-d28c47739c67f572946537b8d008a81eb2c96e6c.tar.bz2 |
[cros] Show release notes in app window + restore sesssion.
This covers special case of "Release notes" in ChromeOS.
All existing users would be shown new Getting Started Guide in app window in addition to their restored session when they would sign in after next update.
Just passing --app=[GSG URL] is not enough as session would not be restored.
Also using --app-restore-session + chrome://newtab for new user case so that user won't end up with empty desktop after closing GSG window.
Not adding --app-restore-session switch to ChromeOS only switches so that it won't complicate BrowserInit code with ifdefs.
BUG=126098, 1260025
TEST=Manual. Sign in with existing user after update and see GSG in app window + restored session.
Review URL: https://chromiumcodereview.appspot.com/10332024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135882 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/defaults.h')
-rw-r--r-- | chrome/browser/defaults.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/defaults.h b/chrome/browser/defaults.h index ab69313..f96bca3 100644 --- a/chrome/browser/defaults.h +++ b/chrome/browser/defaults.h @@ -86,6 +86,11 @@ 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; + //============================================================================= // Runtime "const" - set only once after parsing command line option and should // never be modified after that. |