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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 OobeUI* GetOobeUI() const; | 107 OobeUI* GetOobeUI() const; |
108 | 108 |
109 const gfx::Rect& background_bounds() const { return background_bounds_; } | 109 const gfx::Rect& background_bounds() const { return background_bounds_; } |
110 | 110 |
111 // Trace id for ShowLoginWebUI event (since there exists at most one login | 111 // Trace id for ShowLoginWebUI event (since there exists at most one login |
112 // WebUI at a time). | 112 // WebUI at a time). |
113 static const int kShowLoginWebUIid; | 113 static const int kShowLoginWebUIid; |
114 | 114 |
115 views::Widget* login_window_for_test() { return login_window_; } | 115 views::Widget* login_window_for_test() { return login_window_; } |
116 | 116 |
| 117 void StartTimeZoneResolve(); |
| 118 |
117 protected: | 119 protected: |
118 // content::NotificationObserver implementation: | 120 // content::NotificationObserver implementation: |
119 virtual void Observe(int type, | 121 virtual void Observe(int type, |
120 const content::NotificationSource& source, | 122 const content::NotificationSource& source, |
121 const content::NotificationDetails& details) override; | 123 const content::NotificationDetails& details) override; |
122 | 124 |
123 // Overridden from content::WebContentsObserver: | 125 // Overridden from content::WebContentsObserver: |
124 virtual void RenderProcessGone(base::TerminationStatus status) override; | 126 virtual void RenderProcessGone(base::TerminationStatus status) override; |
125 | 127 |
126 // Overridden from chromeos::SessionManagerClient::Observer: | 128 // Overridden from chromeos::SessionManagerClient::Observer: |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
326 #endif | 328 #endif |
327 | 329 |
328 base::WeakPtrFactory<LoginDisplayHostImpl> animation_weak_ptr_factory_; | 330 base::WeakPtrFactory<LoginDisplayHostImpl> animation_weak_ptr_factory_; |
329 | 331 |
330 DISALLOW_COPY_AND_ASSIGN(LoginDisplayHostImpl); | 332 DISALLOW_COPY_AND_ASSIGN(LoginDisplayHostImpl); |
331 }; | 333 }; |
332 | 334 |
333 } // namespace chromeos | 335 } // namespace chromeos |
334 | 336 |
335 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_IMPL_H_ | 337 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_IMPL_H_ |
OLD | NEW |