diff options
author | dzhioev@chromium.org <dzhioev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-27 17:20:31 +0000 |
---|---|---|
committer | dzhioev@chromium.org <dzhioev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-27 17:20:31 +0000 |
commit | bbb4beaefda19ce861268530316271fd98ed369b (patch) | |
tree | 7d9814331f8c45a4b27639e1fa3b8d3dba023bfe | |
parent | 4ffa789e031a7f0c8345e56a3c0813cb148176b4 (diff) | |
download | chromium_src-bbb4beaefda19ce861268530316271fd98ed369b.zip chromium_src-bbb4beaefda19ce861268530316271fd98ed369b.tar.gz chromium_src-bbb4beaefda19ce861268530316271fd98ed369b.tar.bz2 |
Added flag enabling new first-run UI to about:flags.
BUG=269294
NOTRY=true
TBR=nkostylev
Review URL: https://codereview.chromium.org/25099002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225723 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/app/generated_resources.grd | 8 | ||||
-rw-r--r-- | chrome/browser/about_flags.cc | 9 |
2 files changed, 17 insertions, 0 deletions
diff --git a/chrome/app/generated_resources.grd b/chrome/app/generated_resources.grd index b050c4d..ec26120 100644 --- a/chrome/app/generated_resources.grd +++ b/chrome/app/generated_resources.grd @@ -6770,6 +6770,14 @@ Keep your key file in a safe place. You will need it to create new versions of y Enable playing videos remotely on Chromecast. </message> </if> + <if expr="pp_ifdef('chromeos')"> + <message name="IDS_FLAGS_ENABLE_FIRST_RUN_UI_NAME" desc="Name of the flag to enable new first-run UI."> + Enable new first-run UI. + </message> + <message name="IDS_FLAGS_ENABLE_FIRST_RUN_UI_DESCRIPTION" desc="Description for the flag to enable new first-run UI."> + If enabled, overlay tutorial will be shown after first login. + </message> + </if> <!-- Crashes --> <message name="IDS_CRASHES_TITLE" desc="Title for the chrome://crashes page."> diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc index fac5117..eb2348f 100644 --- a/chrome/browser/about_flags.cc +++ b/chrome/browser/about_flags.cc @@ -1771,6 +1771,15 @@ const Experiment kExperiments[] = { SINGLE_VALUE_TYPE(switches::kEnableCast) }, #endif +#if defined(OS_CHROMEOS) + { + "enable-first-run-ui", + IDS_FLAGS_ENABLE_FIRST_RUN_UI_NAME, + IDS_FLAGS_ENABLE_FIRST_RUN_UI_DESCRIPTION, + kOsCrOS, + SINGLE_VALUE_TYPE(chromeos::switches::kEnableFirstRunUI) + }, +#endif }; const Experiment* experiments = kExperiments; |