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

Side by Side Diff: chrome/browser/chromeos/login/screens/user_selection_screen.h

Issue 293613003: ChromeOS login webui refactoring: split user selection/gaia login screens. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Yet another merge Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_USER_SELECTION_SCREEN_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_USER_SELECTION_SCREEN_H_
7
8 #include <string>
9
10 #include "base/bind.h"
11 #include "base/compiler_specific.h"
12 #include "chrome/browser/chromeos/login/users/user.h"
13
14 namespace chromeos {
15
16 class LoginDisplayWebUIHandler;
17
18 // This class represents User Selection screen: user pod-based login screen.
19 class UserSelectionScreen {
20 public:
21 UserSelectionScreen();
22 virtual ~UserSelectionScreen();
23
24 void SetHandler(LoginDisplayWebUIHandler* handler);
25
26 void Init(const UserList& users);
27 const UserList& GetUsers() const;
28 void OnUserImageChanged(const User& user);
29 void OnBeforeUserRemoved(const std::string& username);
30 void OnUserRemoved(const std::string& username);
31
32 private:
33 LoginDisplayWebUIHandler* handler_;
34
35 // Set of Users that are visible.
36 UserList users_;
37
38 DISALLOW_COPY_AND_ASSIGN(UserSelectionScreen);
39 };
40
41 } // namespace chromeos
42
43 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_USER_SELECTION_SCREEN_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/screens/gaia_screen.cc ('k') | chrome/browser/chromeos/login/screens/user_selection_screen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698