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

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

Issue 1138253002: Add user action for changing the active window in Ash overview mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
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 8d4a625e13e72ec9aab2c160e03e59900d2648f6..18995d027f3d72248383bd1b682a350ad36e7ec4 100644
--- a/ash/wm/overview/window_selector_controller.h
+++ b/ash/wm/overview/window_selector_controller.h
@@ -54,12 +54,20 @@ class ASH_EXPORT WindowSelectorController
private:
friend class WindowSelectorTest;
- // Dispatched when window selection begins.
+ // Called when overview mode is about to be engaged.
+ void OnSelectionStarting();
+
+ // Called when overview mode is engaged.
void OnSelectionStarted();
scoped_ptr<WindowSelector> window_selector_;
base::Time last_selection_time_;
+ // While overview mode is active, tracks the window of type WINDOW_TYPE_NORMAL
+ // or WINDOW_TYPE_PANEL that was active prior to entering overview mode if
+ // such a window exists (nullptr otherwise).
oshima 2015/05/12 20:25:13 document that the pointer may be stale (if it's cl
tdanderson 2015/05/14 01:36:32 I've removed this pointer in patch set 2.
+ aura::Window* initially_active_window_;
+
DISALLOW_COPY_AND_ASSIGN(WindowSelectorController);
};

Powered by Google App Engine
This is Rietveld 408576698