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

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

Issue 10834079: views: Extract Widget observer into its own header file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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
« no previous file with comments | « ash/wm/app_list_controller.cc ('k') | chrome/browser/chromeos/login/captive_portal_window_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 7baed328042edf117733f8f3afaf3d414c892d83..229006189117b8d2a323244e8dffbd089c21ad78 100644
--- a/chrome/browser/chromeos/login/captive_portal_window_proxy.h
+++ b/chrome/browser/chromeos/login/captive_portal_window_proxy.h
@@ -8,7 +8,7 @@
#include "base/compiler_specific.h"
#include "base/memory/scoped_ptr.h"
#include "ui/gfx/native_widget_types.h"
-#include "ui/views/widget/widget.h"
+#include "ui/views/widget/widget_observer.h"
namespace views {
class Widget;
@@ -29,7 +29,7 @@ class CaptivePortalWindowProxyDelegate {
};
// Proxy which manages showing of the window for CaptivePortal sign-in.
-class CaptivePortalWindowProxy : public views::Widget::Observer {
+class CaptivePortalWindowProxy : public views::WidgetObserver {
public:
typedef CaptivePortalWindowProxyDelegate Delegate;
@@ -57,7 +57,7 @@ class CaptivePortalWindowProxy : public views::Widget::Observer {
// redirections.
void OnOriginalURLLoaded();
- // views::Widget::Observer implementation:
+ // Overridden from views::WidgetObserver:
virtual void OnWidgetClosing(views::Widget* widget) OVERRIDE;
private:
« no previous file with comments | « ash/wm/app_list_controller.cc ('k') | chrome/browser/chromeos/login/captive_portal_window_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698