| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_LOGIN_DISPLAY_HOST_IMPL_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_HOST_IMPL_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_HOST_IMPL_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_HOST_IMPL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 | 102 |
| 103 private: | 103 private: |
| 104 // Marks display host for deletion. | 104 // Marks display host for deletion. |
| 105 // If |post_quit_task| is true also posts Quit task to the MessageLoop. | 105 // If |post_quit_task| is true also posts Quit task to the MessageLoop. |
| 106 void ShutdownDisplayHost(bool post_quit_task); | 106 void ShutdownDisplayHost(bool post_quit_task); |
| 107 | 107 |
| 108 // Start sign in transition animation. | 108 // Start sign in transition animation. |
| 109 void StartAnimation(); | 109 void StartAnimation(); |
| 110 | 110 |
| 111 // Callback for the ownership status check. | 111 // Callback for the ownership status check. |
| 112 void OnOwnershipStatusCheckDone(DeviceSettingsService::OwnershipStatus status, | 112 void OnOwnershipStatusCheckDone( |
| 113 bool current_user_is_owner); | 113 DeviceSettingsService::OwnershipStatus status); |
| 114 | 114 |
| 115 // Callback for completion of the |auto_enrollment_client_|. | 115 // Callback for completion of the |auto_enrollment_client_|. |
| 116 void OnAutoEnrollmentClientDone(); | 116 void OnAutoEnrollmentClientDone(); |
| 117 | 117 |
| 118 // Forces auto-enrollment on the appropriate controller. | 118 // Forces auto-enrollment on the appropriate controller. |
| 119 void ForceAutoEnrollment(); | 119 void ForceAutoEnrollment(); |
| 120 | 120 |
| 121 // Loads given URL. Creates WebUILoginView if needed. | 121 // Loads given URL. Creates WebUILoginView if needed. |
| 122 void LoadURL(const GURL& url); | 122 void LoadURL(const GURL& url); |
| 123 | 123 |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 // A focus ring controller to draw focus ring around view for keyboard | 235 // A focus ring controller to draw focus ring around view for keyboard |
| 236 // driven oobe. | 236 // driven oobe. |
| 237 scoped_ptr<FocusRingController> focus_ring_controller_; | 237 scoped_ptr<FocusRingController> focus_ring_controller_; |
| 238 | 238 |
| 239 DISALLOW_COPY_AND_ASSIGN(LoginDisplayHostImpl); | 239 DISALLOW_COPY_AND_ASSIGN(LoginDisplayHostImpl); |
| 240 }; | 240 }; |
| 241 | 241 |
| 242 } // namespace chromeos | 242 } // namespace chromeos |
| 243 | 243 |
| 244 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_HOST_IMPL_H_ | 244 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_HOST_IMPL_H_ |
| OLD | NEW |