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

Unified Diff: chrome/browser/chromeos/login/ui/webui_login_display.h

Issue 2107353002: Fix the flaky test KioskTest.LaunchAppUserCancel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: UI_STATE_UNKNOWN Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/login/ui/webui_login_display.h
diff --git a/chrome/browser/chromeos/login/ui/webui_login_display.h b/chrome/browser/chromeos/login/ui/webui_login_display.h
index 9acadd321fb21c969bee7119b2026646d9c65a3f..126ce23443e6daee02382550e7fabb28526668c1 100644
--- a/chrome/browser/chromeos/login/ui/webui_login_display.h
+++ b/chrome/browser/chromeos/login/ui/webui_login_display.h
@@ -36,7 +36,7 @@ class WebUILoginDisplay : public LoginDisplay,
void Init(const user_manager::UserList& users,
bool show_guest,
bool show_users,
- bool show_new_user) override;
+ bool allow_new_user) override;
void OnPreferencesChanged() override;
void RemoveUser(const AccountId& account_id) override;
void SetUIEnabled(bool is_enabled) override;
@@ -78,6 +78,9 @@ class WebUILoginDisplay : public LoginDisplay,
const std::string& password);
bool IsShowGuest() const override;
bool IsShowUsers() const override;
+ bool ShowUsersHasChanged() const override;
+ bool IsAllowNewUser() const override;
+ bool AllowNewUserChanged() const override;
bool IsUserSigninCompleted() const override;
void SetDisplayEmail(const std::string& email) override;
@@ -93,12 +96,18 @@ class WebUILoginDisplay : public LoginDisplay,
// Whether to show guest login.
bool show_guest_ = false;
- // Weather to show the user pods or a GAIA sign in.
+ // Whether to show the user pods or a GAIA sign in.
// Public sessions are always shown.
bool show_users_ = false;
+ // Whether the create new account option in GAIA is enabled by the setting.
+ bool show_users_changed_ = false;
+
// Whether to show add new user.
- bool show_new_user_ = false;
+ bool allow_new_user_ = false;
+
+ // Whether the allow new user setting has changed.
+ bool allow_new_user_changed_ = false;
// Reference to the WebUI handling layer for the login screen
LoginDisplayWebUIHandler* webui_handler_ = nullptr;
« no previous file with comments | « chrome/browser/chromeos/login/kiosk_browsertest.cc ('k') | chrome/browser/chromeos/login/ui/webui_login_display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698