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

Unified Diff: ash/touch/touch_observer_hud.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/system/web_notification/web_notification_tray.cc ('k') | ash/wm/app_list_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/touch/touch_observer_hud.h
diff --git a/ash/touch/touch_observer_hud.h b/ash/touch/touch_observer_hud.h
index 9297f83f4d0c910412a4eaef9dddd92a4cd71d76..9c8ca6ec3ba1bd26436112638917dc65d5f4fd22 100644
--- a/ash/touch/touch_observer_hud.h
+++ b/ash/touch/touch_observer_hud.h
@@ -8,7 +8,7 @@
#include "ash/shell.h"
#include "ui/aura/event_filter.h"
#include "ui/gfx/point.h"
-#include "ui/views/widget/widget.h"
+#include "ui/views/widget/widget_observer.h"
namespace aura {
class MouseEvent;
@@ -28,7 +28,7 @@ class TouchHudCanvas;
// An event filter which handles system level gesture events.
class TouchObserverHUD : public aura::EventFilter,
- public views::Widget::Observer {
+ public views::WidgetObserver {
public:
TouchObserverHUD();
virtual ~TouchObserverHUD();
@@ -47,7 +47,7 @@ class TouchObserverHUD : public aura::EventFilter,
aura::Window* target,
aura::GestureEvent* event) OVERRIDE;
- // Overridden from views::Widget::Observer.
+ // Overridden from views::WidgetObserver:
virtual void OnWidgetClosing(views::Widget* widget) OVERRIDE;
static const int kMaxTouchPoints = 32;
« no previous file with comments | « ash/system/web_notification/web_notification_tray.cc ('k') | ash/wm/app_list_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698