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

Side by Side Diff: chrome/browser/chromeos/login/ui/webui_login_display.h

Issue 2685793004: Chromad: Wire up displayName and givenName (Closed)
Patch Set: Combine SetDisplayName and SetGivenName into SetDisplayAndGiveName Created 3 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_DISPLAY_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_DISPLAY_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_DISPLAY_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_DISPLAY_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 void SetWebUIHandler(LoginDisplayWebUIHandler* webui_handler) override; 77 void SetWebUIHandler(LoginDisplayWebUIHandler* webui_handler) override;
78 virtual void ShowSigninScreenForCreds(const std::string& username, 78 virtual void ShowSigninScreenForCreds(const std::string& username,
79 const std::string& password); 79 const std::string& password);
80 bool IsShowGuest() const override; 80 bool IsShowGuest() const override;
81 bool IsShowUsers() const override; 81 bool IsShowUsers() const override;
82 bool ShowUsersHasChanged() const override; 82 bool ShowUsersHasChanged() const override;
83 bool IsAllowNewUser() const override; 83 bool IsAllowNewUser() const override;
84 bool AllowNewUserChanged() const override; 84 bool AllowNewUserChanged() const override;
85 bool IsUserSigninCompleted() const override; 85 bool IsUserSigninCompleted() const override;
86 void SetDisplayEmail(const std::string& email) override; 86 void SetDisplayEmail(const std::string& email) override;
87 void SetDisplayAndGivenName(const std::string& display_name,
88 const std::string& given_name) override;
87 89
88 void HandleGetUsers() override; 90 void HandleGetUsers() override;
89 void CheckUserStatus(const AccountId& account_id) override; 91 void CheckUserStatus(const AccountId& account_id) override;
90 bool IsUserWhitelisted(const AccountId& account_id) override; 92 bool IsUserWhitelisted(const AccountId& account_id) override;
91 93
92 // ui::UserActivityDetector implementation: 94 // ui::UserActivityDetector implementation:
93 void OnUserActivity(const ui::Event* event) override; 95 void OnUserActivity(const ui::Event* event) override;
94 96
95 private: 97 private:
96 98
(...skipping 15 matching lines...) Expand all
112 114
113 // Reference to the WebUI handling layer for the login screen 115 // Reference to the WebUI handling layer for the login screen
114 LoginDisplayWebUIHandler* webui_handler_ = nullptr; 116 LoginDisplayWebUIHandler* webui_handler_ = nullptr;
115 117
116 DISALLOW_COPY_AND_ASSIGN(WebUILoginDisplay); 118 DISALLOW_COPY_AND_ASSIGN(WebUILoginDisplay);
117 }; 119 };
118 120
119 } // namespace chromeos 121 } // namespace chromeos
120 122
121 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_DISPLAY_H_ 123 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_DISPLAY_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/ui/login_display.h ('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