Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Unified Diff: chrome/browser/chromeos/login/captive_portal_window_proxy.h

Issue 15780006: Added bowser test for Captive Portal Window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added captive_portal_window_borwsertest.cc to git index. Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_;

Powered by Google App Engine
This is Rietveld 408576698