| 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 <string> | 10 #include <string> |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 void OnBrowserCreated(); | 96 void OnBrowserCreated(); |
| 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 | |
| 108 // Disable GaiaScreenHandler restrictive proxy check. | 106 // Disable GaiaScreenHandler restrictive proxy check. |
| 109 static void DisableRestrictiveProxyCheckForTest(); | 107 static void DisableRestrictiveProxyCheckForTest(); |
| 110 | 108 |
| 111 protected: | 109 protected: |
| 112 // content::NotificationObserver implementation: | 110 // content::NotificationObserver implementation: |
| 113 void Observe(int type, | 111 void Observe(int type, |
| 114 const content::NotificationSource& source, | 112 const content::NotificationSource& source, |
| 115 const content::NotificationDetails& details) override; | 113 const content::NotificationDetails& details) override; |
| 116 | 114 |
| 117 // Overridden from content::WebContentsObserver: | 115 // Overridden from content::WebContentsObserver: |
| (...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 313 | 311 |
| 314 base::WeakPtrFactory<LoginDisplayHostImpl> pointer_factory_; | 312 base::WeakPtrFactory<LoginDisplayHostImpl> pointer_factory_; |
| 315 base::WeakPtrFactory<LoginDisplayHostImpl> animation_weak_ptr_factory_; | 313 base::WeakPtrFactory<LoginDisplayHostImpl> animation_weak_ptr_factory_; |
| 316 | 314 |
| 317 DISALLOW_COPY_AND_ASSIGN(LoginDisplayHostImpl); | 315 DISALLOW_COPY_AND_ASSIGN(LoginDisplayHostImpl); |
| 318 }; | 316 }; |
| 319 | 317 |
| 320 } // namespace chromeos | 318 } // namespace chromeos |
| 321 | 319 |
| 322 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_IMPL_H_ | 320 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_IMPL_H_ |
| OLD | NEW |