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" |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 virtual void OpenButtonOptions(const views::View* button_view) OVERRIDE; | 84 virtual void OpenButtonOptions(const views::View* button_view) OVERRIDE; |
85 virtual ScreenMode GetScreenMode() const OVERRIDE; | 85 virtual ScreenMode GetScreenMode() const OVERRIDE; |
86 virtual TextStyle GetTextStyle() const OVERRIDE; | 86 virtual TextStyle GetTextStyle() const OVERRIDE; |
87 virtual void ButtonVisibilityChanged(views::View* button_view) OVERRIDE; | 87 virtual void ButtonVisibilityChanged(views::View* button_view) OVERRIDE; |
88 | 88 |
89 // Overridden from LoginHtmlDialog::Delegate: | 89 // Overridden from LoginHtmlDialog::Delegate: |
90 virtual void OnDialogClosed() OVERRIDE; | 90 virtual void OnDialogClosed() OVERRIDE; |
91 virtual void OnLocaleChanged() OVERRIDE; | 91 virtual void OnLocaleChanged() OVERRIDE; |
92 | 92 |
93 // TabFirstRenderWatcher::Delegate implementation. | 93 // TabFirstRenderWatcher::Delegate implementation. |
| 94 virtual void OnRenderHostCreated(RenderViewHost* host) OVERRIDE; |
94 virtual void OnTabMainFrameLoaded() OVERRIDE; | 95 virtual void OnTabMainFrameLoaded() OVERRIDE; |
95 virtual void OnTabMainFrameFirstRender() OVERRIDE; | 96 virtual void OnTabMainFrameFirstRender() OVERRIDE; |
96 | 97 |
97 // Creates and adds the status area (separate window). | 98 // Creates and adds the status area (separate window). |
98 virtual void InitStatusArea(); | 99 virtual void InitStatusArea(); |
99 | 100 |
100 StatusAreaView* status_area_; | 101 StatusAreaView* status_area_; |
101 | 102 |
102 Profile* profile_; | 103 Profile* profile_; |
103 | 104 |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 | 138 |
138 // Caches StatusArea visibility setting before it has been initialized. | 139 // Caches StatusArea visibility setting before it has been initialized. |
139 bool status_area_visibility_on_init_; | 140 bool status_area_visibility_on_init_; |
140 | 141 |
141 DISALLOW_COPY_AND_ASSIGN(WebUILoginView); | 142 DISALLOW_COPY_AND_ASSIGN(WebUILoginView); |
142 }; | 143 }; |
143 | 144 |
144 } // namespace chromeos | 145 } // namespace chromeos |
145 | 146 |
146 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_ | 147 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_ |
OLD | NEW |