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

Unified Diff: ash/wm/overview/window_selector.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 | « no previous file | ash/wm/overview/window_selector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/overview/window_selector.h
diff --git a/ash/wm/overview/window_selector.h b/ash/wm/overview/window_selector.h
index 7536f41ae8aa76620d22a47fb809fea1090e2ea5..4059540df807ca7de1fef563421c8d2a6f8e2167 100644
--- a/ash/wm/overview/window_selector.h
+++ b/ash/wm/overview/window_selector.h
@@ -20,7 +20,7 @@ class RootWindow;
}
namespace ui {
-class LocatedEvent;
+class EventHandler;
}
namespace ash {
@@ -101,6 +101,10 @@ class ASH_EXPORT WindowSelector
// The window selection mode.
Mode mode_;
+ // An event handler listening for the release of the alt key during alt-tab
+ // cycling.
+ scoped_ptr<ui::EventHandler> event_handler_;
+
base::DelayTimer<WindowSelector> start_overview_timer_;
scoped_ptr<WindowOverview> window_overview_;
« no previous file with comments | « no previous file | ash/wm/overview/window_selector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698