| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 namespace content { | 22 namespace content { |
| 23 class WebUI; | 23 class WebUI; |
| 24 } | 24 } |
| 25 | 25 |
| 26 namespace views { | 26 namespace views { |
| 27 class View; | 27 class View; |
| 28 class WebView; | 28 class WebView; |
| 29 class Widget; | 29 class Widget; |
| 30 } | 30 } |
| 31 | 31 |
| 32 class TabContentsWrapper; | 32 class TabContents; |
| 33 typedef TabContents TabContentsWrapper; |
| 33 | 34 |
| 34 namespace chromeos { | 35 namespace chromeos { |
| 35 | 36 |
| 36 // View used to render a WebUI supporting Widget. This widget is used for the | 37 // View used to render a WebUI supporting Widget. This widget is used for the |
| 37 // WebUI based start up and lock screens. It contains a WebView. | 38 // WebUI based start up and lock screens. It contains a WebView. |
| 38 class WebUILoginView : public views::WidgetDelegateView, | 39 class WebUILoginView : public views::WidgetDelegateView, |
| 39 public content::WebContentsDelegate, | 40 public content::WebContentsDelegate, |
| 40 public content::NotificationObserver, | 41 public content::NotificationObserver, |
| 41 public TabRenderWatcher::Delegate { | 42 public TabRenderWatcher::Delegate { |
| 42 public: | 43 public: |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 // Should we emit the login-prompt-visible signal when the login page is | 147 // Should we emit the login-prompt-visible signal when the login page is |
| 147 // displayed? | 148 // displayed? |
| 148 bool should_emit_login_prompt_visible_; | 149 bool should_emit_login_prompt_visible_; |
| 149 | 150 |
| 150 DISALLOW_COPY_AND_ASSIGN(WebUILoginView); | 151 DISALLOW_COPY_AND_ASSIGN(WebUILoginView); |
| 151 }; | 152 }; |
| 152 | 153 |
| 153 } // namespace chromeos | 154 } // namespace chromeos |
| 154 | 155 |
| 155 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_ | 156 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_ |
| OLD | NEW |