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 <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 OobeUI* GetOobeUI() const; | 96 OobeUI* GetOobeUI() const; |
97 | 97 |
98 const gfx::Rect& background_bounds() const { return background_bounds_; } | 98 const gfx::Rect& background_bounds() const { return background_bounds_; } |
99 | 99 |
100 // Trace id for ShowLoginWebUI event (since there exists at most one login | 100 // Trace id for ShowLoginWebUI event (since there exists at most one login |
101 // WebUI at a time). | 101 // WebUI at a time). |
102 static const int kShowLoginWebUIid; | 102 static const int kShowLoginWebUIid; |
103 | 103 |
104 views::Widget* login_window_for_test() { return login_window_; } | 104 views::Widget* login_window_for_test() { return login_window_; } |
105 | 105 |
| 106 void StartTimeZoneResolve(); |
| 107 |
106 protected: | 108 protected: |
107 // content::NotificationObserver implementation: | 109 // content::NotificationObserver implementation: |
108 void Observe(int type, | 110 void Observe(int type, |
109 const content::NotificationSource& source, | 111 const content::NotificationSource& source, |
110 const content::NotificationDetails& details) override; | 112 const content::NotificationDetails& details) override; |
111 | 113 |
112 // Overridden from content::WebContentsObserver: | 114 // Overridden from content::WebContentsObserver: |
113 void RenderProcessGone(base::TerminationStatus status) override; | 115 void RenderProcessGone(base::TerminationStatus status) override; |
114 | 116 |
115 // Overridden from chromeos::SessionManagerClient::Observer: | 117 // Overridden from chromeos::SessionManagerClient::Observer: |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
305 | 307 |
306 base::WeakPtrFactory<LoginDisplayHostImpl> pointer_factory_; | 308 base::WeakPtrFactory<LoginDisplayHostImpl> pointer_factory_; |
307 base::WeakPtrFactory<LoginDisplayHostImpl> animation_weak_ptr_factory_; | 309 base::WeakPtrFactory<LoginDisplayHostImpl> animation_weak_ptr_factory_; |
308 | 310 |
309 DISALLOW_COPY_AND_ASSIGN(LoginDisplayHostImpl); | 311 DISALLOW_COPY_AND_ASSIGN(LoginDisplayHostImpl); |
310 }; | 312 }; |
311 | 313 |
312 } // namespace chromeos | 314 } // namespace chromeos |
313 | 315 |
314 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_IMPL_H_ | 316 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_IMPL_H_ |
OLD | NEW |