| 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_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 <string> |
| 10 |
| 9 #include "chrome/browser/chromeos/login/login_html_dialog.h" | 11 #include "chrome/browser/chromeos/login/login_html_dialog.h" |
| 10 #include "chrome/browser/chromeos/login/version_info_updater.h" | 12 #include "chrome/browser/chromeos/login/version_info_updater.h" |
| 11 #include "chrome/browser/chromeos/status/status_area_button.h" | 13 #include "chrome/browser/chromeos/status/status_area_button.h" |
| 12 #include "chrome/browser/chromeos/status/status_area_view_chromeos.h" | 14 #include "chrome/browser/chromeos/status/status_area_view_chromeos.h" |
| 13 #include "views/view.h" | 15 #include "views/view.h" |
| 14 | 16 |
| 17 class DOMView; |
| 18 class GURL; |
| 19 |
| 15 namespace views { | 20 namespace views { |
| 16 class Label; | 21 class Label; |
| 17 class TextButton; | |
| 18 class Widget; | 22 class Widget; |
| 19 class WidgetDelegate; | 23 class WidgetDelegate; |
| 20 } | 24 } |
| 21 | 25 |
| 22 class DOMView; | |
| 23 class GURL; | |
| 24 class Profile; | |
| 25 | |
| 26 namespace chromeos { | 26 namespace chromeos { |
| 27 | 27 |
| 28 class ShutdownButton; | 28 class ShutdownButton; |
| 29 | 29 |
| 30 // View used to render the background during login. BackgroundView contains | 30 // View used to render the background during login. BackgroundView contains |
| 31 // StatusAreaView. | 31 // StatusAreaView. |
| 32 class BackgroundView : public views::View, | 32 class BackgroundView : public views::View, |
| 33 public StatusAreaButton::Delegate, | 33 public StatusAreaButton::Delegate, |
| 34 public LoginHtmlDialog::Delegate, | 34 public LoginHtmlDialog::Delegate, |
| 35 public VersionInfoUpdater::Delegate { | 35 public VersionInfoUpdater::Delegate { |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 | 149 |
| 150 // Updates version info. | 150 // Updates version info. |
| 151 VersionInfoUpdater version_info_updater_; | 151 VersionInfoUpdater version_info_updater_; |
| 152 | 152 |
| 153 DISALLOW_COPY_AND_ASSIGN(BackgroundView); | 153 DISALLOW_COPY_AND_ASSIGN(BackgroundView); |
| 154 }; | 154 }; |
| 155 | 155 |
| 156 } // namespace chromeos | 156 } // namespace chromeos |
| 157 | 157 |
| 158 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_BACKGROUND_VIEW_H_ | 158 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_BACKGROUND_VIEW_H_ |
| OLD | NEW |