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

Unified Diff: ash/wm/toplevel_window_event_handler.h

Issue 114643003: Use a single ToplevelWindowEventHandler for the ash::Shell (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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: ash/wm/toplevel_window_event_handler.h
diff --git a/ash/wm/toplevel_window_event_handler.h b/ash/wm/toplevel_window_event_handler.h
index 98c9296c947ca8caf927d9a2e15637b8316f70d1..303d7df9dc41c0ced777c33aff91a70293aeeda9 100644
--- a/ash/wm/toplevel_window_event_handler.h
+++ b/ash/wm/toplevel_window_event_handler.h
@@ -34,11 +34,9 @@ class ASH_EXPORT ToplevelWindowEventHandler
public aura::client::WindowMoveClient,
public DisplayController::Observer {
public:
- explicit ToplevelWindowEventHandler(aura::Window* owner);
+ explicit ToplevelWindowEventHandler();
varkha 2013/12/13 04:05:14 Do we still need "explicit"?
virtual ~ToplevelWindowEventHandler();
- const aura::Window* owner() const { return owner_; }
-
// Overridden from ui::EventHandler:
virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE;
virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE;
@@ -88,9 +86,6 @@ class ASH_EXPORT ToplevelWindowEventHandler
// Invoked from ScopedWindowResizer if the window is destroyed.
void ResizerWindowDestroyed();
- // The container which this event handler is handling events on.
- aura::Window* owner_;
-
// Are we running a nested message loop from RunMoveLoop().
bool in_move_loop_;

Powered by Google App Engine
This is Rietveld 408576698