| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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_VIEW_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 namespace views { | 24 namespace views { |
| 25 class View; | 25 class View; |
| 26 class WebView; | 26 class WebView; |
| 27 class Widget; | 27 class Widget; |
| 28 } | 28 } |
| 29 | 29 |
| 30 namespace chromeos { | 30 namespace chromeos { |
| 31 | 31 |
| 32 // View used to render a WebUI supporting Widget. This widget is used for the | 32 // View used to render a WebUI supporting Widget. This widget is used for the |
| 33 // WebUI based start up and lock screens. It contains a WebView. | 33 // WebUI based start up and lock screens. It contains a WebView. |
| 34 class WebUILoginView : public views::WidgetDelegateView, | 34 class WebUILoginView : public views::View, |
| 35 public content::WebContentsDelegate, | 35 public content::WebContentsDelegate, |
| 36 public content::NotificationObserver { | 36 public content::NotificationObserver { |
| 37 public: | 37 public: |
| 38 WebUILoginView(); | 38 WebUILoginView(); |
| 39 virtual ~WebUILoginView(); | 39 virtual ~WebUILoginView(); |
| 40 | 40 |
| 41 // Initializes the webui login view. | 41 // Initializes the webui login view. |
| 42 virtual void Init(views::Widget* login_window); | 42 virtual void Init(views::Widget* login_window); |
| 43 | 43 |
| 44 // Overridden from views::Views: | 44 // Overridden from views::Views: |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 | 153 |
| 154 // True to forward keyboard event. | 154 // True to forward keyboard event. |
| 155 bool forward_keyboard_event_; | 155 bool forward_keyboard_event_; |
| 156 | 156 |
| 157 DISALLOW_COPY_AND_ASSIGN(WebUILoginView); | 157 DISALLOW_COPY_AND_ASSIGN(WebUILoginView); |
| 158 }; | 158 }; |
| 159 | 159 |
| 160 } // namespace chromeos | 160 } // namespace chromeos |
| 161 | 161 |
| 162 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_ | 162 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_ |
| OLD | NEW |