Skip to content

Commit

Permalink
Added flag enabling new first-run UI to about:flags.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
dzhioev@chromium.org committed Sep 27, 2013
1 parent 4ffa789 commit bbb4bea
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
8 changes: 8 additions & 0 deletions chrome/app/generated_resources.grd
Original file line number Diff line number Diff line change
Expand Up @@ -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.">
Expand Down
9 changes: 9 additions & 0 deletions chrome/browser/about_flags.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bbb4bea

Please sign in to comment.