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

Unified Diff: chrome/browser/ui/views/frame/app_non_client_frame_view_aura.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 | « chrome/browser/ui/views/first_run_bubble.cc ('k') | chrome/browser/ui/views/frame/browser_frame.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/frame/app_non_client_frame_view_aura.h
diff --git a/chrome/browser/ui/views/frame/app_non_client_frame_view_aura.h b/chrome/browser/ui/views/frame/app_non_client_frame_view_aura.h
index d515049ba28ed738008fd5dc52ac6062b7452761..f1767316b699376723687c3377974a8d5b7cc822 100644
--- a/chrome/browser/ui/views/frame/app_non_client_frame_view_aura.h
+++ b/chrome/browser/ui/views/frame/app_non_client_frame_view_aura.h
@@ -9,7 +9,7 @@
#include "ui/base/animation/animation_delegate.h"
#include "ui/views/controls/button/button.h"
#include "ui/views/mouse_watcher.h"
-#include "ui/views/widget/widget.h"
+#include "ui/views/widget/widget_observer.h"
namespace aura {
class Window;
@@ -22,7 +22,7 @@ class SlideAnimation;
// NonClientFrameViewAura implementation for apps.
class AppNonClientFrameViewAura : public BrowserNonClientFrameView,
public views::MouseWatcherListener,
- public views::Widget::Observer {
+ public views::WidgetObserver {
public:
AppNonClientFrameViewAura(
BrowserFrame* frame, BrowserView* browser_view);
@@ -51,7 +51,7 @@ class AppNonClientFrameViewAura : public BrowserNonClientFrameView,
// views::MouseWatcherListener.
virtual void MouseMovedOutOfHost() OVERRIDE;
- // views::Widget::Observer.
+ // views::WidgetObserver.
virtual void OnWidgetClosing(views::Widget* widget) OVERRIDE;
// Close the app window.
« no previous file with comments | « chrome/browser/ui/views/first_run_bubble.cc ('k') | chrome/browser/ui/views/frame/browser_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698