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