| 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 "ui/views/widget/widget.h" | 16 #include "views/widget/widget.h" |
| 17 | 17 |
| 18 namespace chromeos { | 18 namespace chromeos { |
| 19 // WebUI-based login UI implementation. | 19 // WebUI-based login UI implementation. |
| 20 class WebUILoginDisplay : public LoginDisplay, | 20 class WebUILoginDisplay : public LoginDisplay, |
| 21 public SigninScreenHandlerDelegate { | 21 public SigninScreenHandlerDelegate { |
| 22 public: | 22 public: |
| 23 explicit WebUILoginDisplay(LoginDisplay::Delegate* delegate); | 23 explicit WebUILoginDisplay(LoginDisplay::Delegate* delegate); |
| 24 virtual ~WebUILoginDisplay(); | 24 virtual ~WebUILoginDisplay(); |
| 25 | 25 |
| 26 // LoginDisplay implementation: | 26 // LoginDisplay implementation: |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 | 68 |
| 69 // Reference to the WebUI handling layer for the login screen | 69 // Reference to the WebUI handling layer for the login screen |
| 70 LoginDisplayWebUIHandler* webui_handler_; | 70 LoginDisplayWebUIHandler* webui_handler_; |
| 71 | 71 |
| 72 DISALLOW_COPY_AND_ASSIGN(WebUILoginDisplay); | 72 DISALLOW_COPY_AND_ASSIGN(WebUILoginDisplay); |
| 73 }; | 73 }; |
| 74 | 74 |
| 75 } // namespace chromeos | 75 } // namespace chromeos |
| 76 | 76 |
| 77 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_ | 77 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_ |
| OLD | NEW |