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_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 "chrome/browser/chromeos/login/login_html_dialog.h" | 9 #include "chrome/browser/chromeos/login/login_html_dialog.h" |
10 #include "chrome/browser/chromeos/status/status_area_host.h" | 10 #include "chrome/browser/chromeos/status/status_area_host.h" |
11 #include "chrome/browser/chromeos/tab_first_render_watcher.h" | 11 #include "chrome/browser/tab_first_render_watcher.h" |
12 #include "chrome/browser/ui/views/unhandled_keyboard_event_handler.h" | 12 #include "chrome/browser/ui/views/unhandled_keyboard_event_handler.h" |
13 #include "content/browser/tab_contents/tab_contents_delegate.h" | 13 #include "content/browser/tab_contents/tab_contents_delegate.h" |
14 #include "views/widget/widget_delegate.h" | 14 #include "views/widget/widget_delegate.h" |
15 | 15 |
16 class DOMView; | 16 class DOMView; |
17 class GURL; | 17 class GURL; |
18 class Profile; | 18 class Profile; |
19 class WebUI; | 19 class WebUI; |
20 | 20 |
21 namespace views { | 21 namespace views { |
22 class View; | 22 class View; |
23 class Widget; | 23 class Widget; |
24 } | 24 } |
25 | 25 |
26 namespace chromeos { | 26 namespace chromeos { |
27 | 27 |
28 class StatusAreaView; | 28 class StatusAreaView; |
29 class TabFirstRenderWatcher; | |
30 | 29 |
31 // View used to render a WebUI supporting Widget. This widget is used for the | 30 // View used to render a WebUI supporting Widget. This widget is used for the |
32 // WebUI based start up and lock screens. It contains a StatusAreaView and | 31 // WebUI based start up and lock screens. It contains a StatusAreaView and |
33 // DOMView. | 32 // DOMView. |
34 class WebUILoginView : public views::WidgetDelegateView, | 33 class WebUILoginView : public views::WidgetDelegateView, |
35 public StatusAreaHost, | 34 public StatusAreaHost, |
36 public TabContentsDelegate, | 35 public TabContentsDelegate, |
37 public chromeos::LoginHtmlDialog::Delegate, | 36 public chromeos::LoginHtmlDialog::Delegate, |
38 public TabFirstRenderWatcher::Delegate { | 37 public TabFirstRenderWatcher::Delegate { |
39 public: | 38 public: |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 | 143 |
145 // Caches StatusArea visibility setting before it has been initialized. | 144 // Caches StatusArea visibility setting before it has been initialized. |
146 bool status_area_visibility_on_init_; | 145 bool status_area_visibility_on_init_; |
147 | 146 |
148 DISALLOW_COPY_AND_ASSIGN(WebUILoginView); | 147 DISALLOW_COPY_AND_ASSIGN(WebUILoginView); |
149 }; | 148 }; |
150 | 149 |
151 } // namespace chromeos | 150 } // namespace chromeos |
152 | 151 |
153 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_ | 152 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_ |
OLD | NEW |