| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 | 84 |
| 85 const gfx::Rect& background_bounds() const { return background_bounds_; } | 85 const gfx::Rect& background_bounds() const { return background_bounds_; } |
| 86 | 86 |
| 87 protected: | 87 protected: |
| 88 // content::NotificationObserver implementation: | 88 // content::NotificationObserver implementation: |
| 89 virtual void Observe(int type, | 89 virtual void Observe(int type, |
| 90 const content::NotificationSource& source, | 90 const content::NotificationSource& source, |
| 91 const content::NotificationDetails& details) OVERRIDE; | 91 const content::NotificationDetails& details) OVERRIDE; |
| 92 | 92 |
| 93 // Overridden from content::WebContentsObserver: | 93 // Overridden from content::WebContentsObserver: |
| 94 virtual void RenderViewGone(base::TerminationStatus status) OVERRIDE; | 94 virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE; |
| 95 | 95 |
| 96 private: | 96 private: |
| 97 // Marks display host for deletion. | 97 // Marks display host for deletion. |
| 98 // If |post_quit_task| is true also posts Quit task to the MessageLoop. | 98 // If |post_quit_task| is true also posts Quit task to the MessageLoop. |
| 99 void ShutdownDisplayHost(bool post_quit_task); | 99 void ShutdownDisplayHost(bool post_quit_task); |
| 100 | 100 |
| 101 // Start sign in transition animation. | 101 // Start sign in transition animation. |
| 102 void StartAnimation(); | 102 void StartAnimation(); |
| 103 | 103 |
| 104 // Callback for the ownership status check. | 104 // Callback for the ownership status check. |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 // A focus ring controller to draw focus ring around view for keyboard | 225 // A focus ring controller to draw focus ring around view for keyboard |
| 226 // driven oobe. | 226 // driven oobe. |
| 227 scoped_ptr<FocusRingController> focus_ring_controller_; | 227 scoped_ptr<FocusRingController> focus_ring_controller_; |
| 228 | 228 |
| 229 DISALLOW_COPY_AND_ASSIGN(LoginDisplayHostImpl); | 229 DISALLOW_COPY_AND_ASSIGN(LoginDisplayHostImpl); |
| 230 }; | 230 }; |
| 231 | 231 |
| 232 } // namespace chromeos | 232 } // namespace chromeos |
| 233 | 233 |
| 234 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_HOST_IMPL_H_ | 234 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_HOST_IMPL_H_ |
| OLD | NEW |