OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_WEBUI_LOGIN_DISPLAY_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "chrome/browser/chromeos/login/login_display.h" | 13 #include "chrome/browser/chromeos/login/login_display.h" |
14 #include "chrome/browser/chromeos/login/user.h" | 14 #include "chrome/browser/chromeos/login/user.h" |
15 #include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h" | 15 #include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h" |
16 #include "views/widget/widget.h" | 16 #include "views/widget/widget.h" |
17 | 17 |
18 namespace gfx { | |
19 class Rect; | |
20 } // namespace gfx | |
21 | |
22 namespace chromeos { | 18 namespace chromeos { |
23 // WebUI-based login UI implementation. | 19 // WebUI-based login UI implementation. |
24 class WebUILoginDisplay : public LoginDisplay, | 20 class WebUILoginDisplay : public LoginDisplay, |
25 public SigninScreenHandlerDelegate { | 21 public SigninScreenHandlerDelegate { |
26 public: | 22 public: |
27 explicit WebUILoginDisplay(LoginDisplay::Delegate* delegate); | 23 explicit WebUILoginDisplay(LoginDisplay::Delegate* delegate); |
28 virtual ~WebUILoginDisplay(); | 24 virtual ~WebUILoginDisplay(); |
29 | 25 |
30 // LoginDisplay implementation: | 26 // LoginDisplay implementation: |
31 virtual void Init(const UserList& users, | 27 virtual void Init(const UserList& users, |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 | 68 |
73 // Reference to the WebUI handling layer for the login screen | 69 // Reference to the WebUI handling layer for the login screen |
74 LoginDisplayWebUIHandler* webui_handler_; | 70 LoginDisplayWebUIHandler* webui_handler_; |
75 | 71 |
76 DISALLOW_COPY_AND_ASSIGN(WebUILoginDisplay); | 72 DISALLOW_COPY_AND_ASSIGN(WebUILoginDisplay); |
77 }; | 73 }; |
78 | 74 |
79 } // namespace chromeos | 75 } // namespace chromeos |
80 | 76 |
81 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_ | 77 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_ |
OLD | NEW |