| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_UI_LOGIN_DISPLAY_HOST_IMPL_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_IMPL_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_IMPL_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_IMPL_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 void OnDisplayMetricsChanged(const display::Display& display, | 133 void OnDisplayMetricsChanged(const display::Display& display, |
| 134 uint32_t changed_metrics) override; | 134 uint32_t changed_metrics) override; |
| 135 | 135 |
| 136 // Overriden from views::WidgetRemovalsObserver: | 136 // Overriden from views::WidgetRemovalsObserver: |
| 137 void OnWillRemoveView(views::Widget* widget, views::View* view) override; | 137 void OnWillRemoveView(views::Widget* widget, views::View* view) override; |
| 138 | 138 |
| 139 // Overriden from chrome::MultiUserWindowManager::Observer: | 139 // Overriden from chrome::MultiUserWindowManager::Observer: |
| 140 void OnUserSwitchAnimationFinished() override; | 140 void OnUserSwitchAnimationFinished() override; |
| 141 | 141 |
| 142 private: | 142 private: |
| 143 class LoginWidgetDelegate; |
| 144 |
| 143 // Way to restore if renderer have crashed. | 145 // Way to restore if renderer have crashed. |
| 144 enum RestorePath { | 146 enum RestorePath { |
| 145 RESTORE_UNKNOWN, | 147 RESTORE_UNKNOWN, |
| 146 RESTORE_WIZARD, | 148 RESTORE_WIZARD, |
| 147 RESTORE_SIGN_IN, | 149 RESTORE_SIGN_IN, |
| 148 RESTORE_ADD_USER_INTO_SESSION, | 150 RESTORE_ADD_USER_INTO_SESSION, |
| 149 }; | 151 }; |
| 150 | 152 |
| 151 // Type of animations to run after the login screen. | 153 // Type of animations to run after the login screen. |
| 152 enum FinalizeAnimationType { | 154 enum FinalizeAnimationType { |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 | 321 |
| 320 base::WeakPtrFactory<LoginDisplayHostImpl> pointer_factory_; | 322 base::WeakPtrFactory<LoginDisplayHostImpl> pointer_factory_; |
| 321 base::WeakPtrFactory<LoginDisplayHostImpl> animation_weak_ptr_factory_; | 323 base::WeakPtrFactory<LoginDisplayHostImpl> animation_weak_ptr_factory_; |
| 322 | 324 |
| 323 DISALLOW_COPY_AND_ASSIGN(LoginDisplayHostImpl); | 325 DISALLOW_COPY_AND_ASSIGN(LoginDisplayHostImpl); |
| 324 }; | 326 }; |
| 325 | 327 |
| 326 } // namespace chromeos | 328 } // namespace chromeos |
| 327 | 329 |
| 328 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_IMPL_H_ | 330 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_IMPL_H_ |
| OLD | NEW |