| 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_BASE_LOGIN_DISPLAY_HOST_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_BASE_LOGIN_DISPLAY_HOST_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_BASE_LOGIN_DISPLAY_HOST_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_BASE_LOGIN_DISPLAY_HOST_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "chrome/browser/chromeos/login/login_display.h" | 12 #include "chrome/browser/chromeos/login/login_display.h" |
| 13 #include "chrome/browser/chromeos/login/login_display_host.h" | 13 #include "chrome/browser/chromeos/login/login_display_host.h" |
| 14 #include "content/public/browser/notification_observer.h" | 14 #include "content/public/browser/notification_observer.h" |
| 15 #include "content/public/browser/notification_registrar.h" | 15 #include "content/public/browser/notification_registrar.h" |
| 16 #include "ui/gfx/rect.h" | 16 #include "ui/gfx/rect.h" |
| 17 | 17 |
| 18 namespace views { | |
| 19 class Widget; | |
| 20 } | |
| 21 | |
| 22 namespace chromeos { | 18 namespace chromeos { |
| 23 | 19 |
| 24 class ExistingUserController; | 20 class ExistingUserController; |
| 25 class WizardController; | 21 class WizardController; |
| 26 | 22 |
| 27 // An abstract base class that defines OOBE/login screen host. | 23 // An abstract base class that defines OOBE/login screen host. |
| 28 // It encapsulates controllers, background integration and flow. | 24 // It encapsulates controllers, background integration and flow. |
| 29 class BaseLoginDisplayHost : public LoginDisplayHost, | 25 class BaseLoginDisplayHost : public LoginDisplayHost, |
| 30 public content::NotificationObserver { | 26 public content::NotificationObserver { |
| 31 public: | 27 public: |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 | 64 |
| 69 // OOBE and some screens (camera, recovery) controller. | 65 // OOBE and some screens (camera, recovery) controller. |
| 70 scoped_ptr<WizardController> wizard_controller_; | 66 scoped_ptr<WizardController> wizard_controller_; |
| 71 | 67 |
| 72 DISALLOW_COPY_AND_ASSIGN(BaseLoginDisplayHost); | 68 DISALLOW_COPY_AND_ASSIGN(BaseLoginDisplayHost); |
| 73 }; | 69 }; |
| 74 | 70 |
| 75 } // namespace chromeos | 71 } // namespace chromeos |
| 76 | 72 |
| 77 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_BASE_LOGIN_DISPLAY_HOST_H_ | 73 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_BASE_LOGIN_DISPLAY_HOST_H_ |
| OLD | NEW |