Index: ash/wm/window_cycle_controller.h |
diff --git a/ash/wm/window_cycle_controller.h b/ash/wm/window_cycle_controller.h |
index e6738928c72811f7b750fc37d7f00bd529e9eb31..9f5b8be9cfbe0092609e3955ca6347601a7b6007 100644 |
--- a/ash/wm/window_cycle_controller.h |
+++ b/ash/wm/window_cycle_controller.h |
@@ -58,6 +58,10 @@ class ASH_EXPORT WindowCycleController |
// installs a key filter to watch for alt being released. |
void HandleCycleWindow(Direction direction, bool is_alt_down); |
+ // Cycles between windows without maintaining a multi-step cycle sequence |
+ // (see above). |
+ void HandleLinearCycleWindow(); |
+ |
// Informs the controller that the Alt key has been released and it can |
// terminate the existing multi-step cycle. |
void AltKeyReleased(); |
@@ -78,8 +82,11 @@ class ASH_EXPORT WindowCycleController |
// windows being iterated over. |
// If |mru_windows| is not NULL, windows in this list are put at the head of |
// the window list. |
+ // If |top_most_at_end| the window list will return in ascending order instead |
+ // of the default descending. |
static std::vector<aura::Window*> BuildWindowList( |
- const std::list<aura::Window*>* mru_windows); |
+ const std::list<aura::Window*>* mru_windows, |
+ bool top_most_at_end); |
private: |
// Call to start cycling windows. You must call StopCycling() when done. |