Chromium Code Reviews| Index: chrome/browser/chromeos/login/captive_portal_window_proxy.h |
| diff --git a/chrome/browser/chromeos/login/captive_portal_window_proxy.h b/chrome/browser/chromeos/login/captive_portal_window_proxy.h |
| index 3c183b156c9e4b16604fd1a911703a4a609aa8d5..f94263d1a4f11e00c633ddc19e2490433ca4dc28 100644 |
| --- a/chrome/browser/chromeos/login/captive_portal_window_proxy.h |
| +++ b/chrome/browser/chromeos/login/captive_portal_window_proxy.h |
| @@ -58,9 +58,17 @@ class CaptivePortalWindowProxy : public views::WidgetObserver { |
| void OnOriginalURLLoaded(); |
| // Overridden from views::WidgetObserver: |
| - virtual void OnWidgetDestroying(views::Widget* widget) OVERRIDE; |
| + virtual void OnWidgetClosing(views::Widget* widget) OVERRIDE; |
| private: |
| + friend class CaptivePortalWindowTest; |
| + |
| + // Initializes |captive_portal_view_| if it is not initialized and |
| + // starts load. |
|
Nikita (slow)
2013/05/27 16:55:35
nit: starts loading CP redirect URL.
ygorshenin1
2013/05/28 10:04:14
Done.
|
| + void InitCaptivePortalView(); |
| + |
| + bool IsShown() const; |
| + |
| Delegate* delegate_; |
| views::Widget* widget_; |
| scoped_ptr<CaptivePortalView> captive_portal_view_; |