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

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
« no previous file with comments | « ash/wm/panels/panel_window_event_handler.cc ('k') | ash/wm/toplevel_window_event_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..06120ac2589b39b5e09fde843b14c13acda7ad5d 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);
+ ToplevelWindowEventHandler();
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_;
« no previous file with comments | « ash/wm/panels/panel_window_event_handler.cc ('k') | ash/wm/toplevel_window_event_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698