OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_BACKGROUND_VIEW_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_BACKGROUND_VIEW_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_BACKGROUND_VIEW_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_BACKGROUND_VIEW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "chrome/browser/chromeos/boot_times_loader.h" | 9 #include "chrome/browser/chromeos/boot_times_loader.h" |
10 #include "chrome/browser/chromeos/cros/cros_library.h" | 10 #include "chrome/browser/chromeos/cros/cros_library.h" |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 virtual void ChildPreferredSizeChanged(View* child); | 102 virtual void ChildPreferredSizeChanged(View* child); |
103 virtual void OnLocaleChanged(); | 103 virtual void OnLocaleChanged(); |
104 | 104 |
105 // Overridden from StatusAreaHost: | 105 // Overridden from StatusAreaHost: |
106 virtual Profile* GetProfile() const { return NULL; } | 106 virtual Profile* GetProfile() const { return NULL; } |
107 virtual gfx::NativeWindow GetNativeWindow() const; | 107 virtual gfx::NativeWindow GetNativeWindow() const; |
108 virtual void ExecuteBrowserCommand(int id) const {} | 108 virtual void ExecuteBrowserCommand(int id) const {} |
109 virtual bool ShouldOpenButtonOptions( | 109 virtual bool ShouldOpenButtonOptions( |
110 const views::View* button_view) const; | 110 const views::View* button_view) const; |
111 virtual void OpenButtonOptions(const views::View* button_view); | 111 virtual void OpenButtonOptions(const views::View* button_view); |
112 virtual bool IsBrowserMode() const; | 112 virtual ScreenMode GetScreenMode() const; |
113 virtual bool IsScreenLockerMode() const; | |
114 | 113 |
115 // Overridden from LoginHtmlDialog::Delegate: | 114 // Overridden from LoginHtmlDialog::Delegate: |
116 virtual void OnDialogClosed() {} | 115 virtual void OnDialogClosed() {} |
117 | 116 |
118 private: | 117 private: |
119 // Creates and adds the status_area. | 118 // Creates and adds the status_area. |
120 void InitStatusArea(); | 119 void InitStatusArea(); |
121 // Creates and adds the labels for version and boot time. | 120 // Creates and adds the labels for version and boot time. |
122 void InitInfoLabels(); | 121 void InitInfoLabels(); |
123 // Creates and add OOBE progress bar. | 122 // Creates and add OOBE progress bar. |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 | 162 |
164 // Proxy settings dialog that can be invoked from network menu. | 163 // Proxy settings dialog that can be invoked from network menu. |
165 scoped_ptr<LoginHtmlDialog> proxy_settings_dialog_; | 164 scoped_ptr<LoginHtmlDialog> proxy_settings_dialog_; |
166 | 165 |
167 DISALLOW_COPY_AND_ASSIGN(BackgroundView); | 166 DISALLOW_COPY_AND_ASSIGN(BackgroundView); |
168 }; | 167 }; |
169 | 168 |
170 } // namespace chromeos | 169 } // namespace chromeos |
171 | 170 |
172 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_BACKGROUND_VIEW_H_ | 171 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_BACKGROUND_VIEW_H_ |
OLD | NEW |