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

Unified Diff: ash/wm/overview/window_selector_controller.h

Issue 23529006: Move event handler to window_selector to ensure correct lifetime. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comment Created 7 years, 3 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/overview/window_selector.cc ('k') | ash/wm/overview/window_selector_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/overview/window_selector_controller.h
diff --git a/ash/wm/overview/window_selector_controller.h b/ash/wm/overview/window_selector_controller.h
index 6f03de6a1885d260b76dcd68fb957bf4955f666c..6b168923f7c7c7a1969a261058a5367f2b4af55f 100644
--- a/ash/wm/overview/window_selector_controller.h
+++ b/ash/wm/overview/window_selector_controller.h
@@ -19,10 +19,6 @@ namespace aura {
class Window;
}
-namespace ui {
-class EventHandler;
-}
-
namespace ash {
namespace internal {
@@ -53,10 +49,6 @@ class ASH_EXPORT WindowSelectorController
// released.
void HandleCycleWindow(WindowSelector::Direction direction);
- // Informs the controller that the Alt key has been released and it can
- // terminate the existing multi-step cycle.
- void AltKeyReleased();
-
// Returns true if window selection mode is active.
bool IsSelecting();
@@ -68,7 +60,6 @@ class ASH_EXPORT WindowSelectorController
friend class internal::WindowSelectorTest;
scoped_ptr<WindowSelector> window_selector_;
- scoped_ptr<ui::EventHandler> event_handler_;
DISALLOW_COPY_AND_ASSIGN(WindowSelectorController);
};
« no previous file with comments | « ash/wm/overview/window_selector.cc ('k') | ash/wm/overview/window_selector_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698