cros: Add language selection UI in demo setup

Desktop / Chromium - Wenzhao Zang [chromium.org] - 27 February 2019 04:37 EST

The mock is at https://docs.google.com/document/d/1Ai-U_4n5Clfc7ni6XVwhTev9XnPaEa1WyNLlnHGsKqs/edit#heading=h.e2ilewob1a3d

Bug: 888733 Change-Id: I7568aa3600c639068d0c9d393381281fd4d649db Reviewed-on: https://chromium-review.googlesource.com/c/1471463 Commit-Queue: Wenzhao (Colin) Zang

6decccc5870d cros: Add language selection UI in demo setup
chrome/app/chromeos_strings.grdp | 6 ++
.../chromeos/login/demo_mode/demo_session.cc | 25 ++++++
.../chromeos/login/demo_mode/demo_session.h | 11 +++
.../login/demo_mode/demo_setup_browsertest.cc | 92 ++++++++++++++++++++++
.../login/demo_mode/demo_setup_controller.cc | 34 ++++----
.../login/demo_mode/demo_setup_controller.h | 5 ++
.../login/screens/demo_preferences_screen.cc | 13 ++-
.../resources/chromeos/login/demo_preferences.html | 11 +++
.../resources/chromeos/login/demo_preferences.js | 30 +++++++
.../resources/chromeos/login/oobe_i18n_dropdown.js | 2 +-
.../chromeos/login/oobe_screen_demo_preferences.js | 10 +++
.../browser/resources/chromeos/login/oobe_types.js | 10 +++
.../login/demo_preferences_screen_handler.cc | 2 +
.../webui/chromeos/login/welcome_screen_handler.cc | 3 +
chrome/common/pref_names.cc | 3 +
chrome/common/pref_names.h | 1 +
16 files changed, 234 insertions(+), 24 deletions(-)

Upstream: git.chromium.org


  • Share