diff options
author | flackr <flackr@chromium.org> | 2015-06-02 13:23:59 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-02 20:24:31 +0000 |
commit | cff1d461591d623822f212bcb062a9252b4ce215 (patch) | |
tree | 5ab282416d1dfaf536e7f3c50ccd5f68ad19d62a /ash/ash_switches.cc | |
parent | e3ca1ba61081da852512787247fa0474fe520738 (diff) | |
download | chromium_src-cff1d461591d623822f212bcb062a9252b4ce215.zip chromium_src-cff1d461591d623822f212bcb062a9252b4ce215.tar.gz chromium_src-cff1d461591d623822f212bcb062a9252b4ce215.tar.bz2 |
Reorder windows in overview to present a consistent window order.
This change presents windows in overview in a consistent order and attempts to minimize how far they move in overview. This means that for a left/right split windows will tend to stay on the same side of the screen.
BUG=324813
TEST=WindowSelectorTest.MinimizeMovement, WindowSelectorTest.MinimizeMovementSecondDisplay, WindowSelectorTest.StableOrder
Review URL: https://codereview.chromium.org/1157423004
Cr-Commit-Position: refs/heads/master@{#332459}
Diffstat (limited to 'ash/ash_switches.cc')
-rw-r--r-- | ash/ash_switches.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ash/ash_switches.cc b/ash/ash_switches.cc index 2057241..14e79cb 100644 --- a/ash/ash_switches.cc +++ b/ash/ash_switches.cc @@ -59,6 +59,12 @@ const char kAshEnableUnifiedDesktop[] = "ash-enable-unified-desktop"; // Enables mirrored screen. const char kAshEnableMirroredScreen[] = "ash-enable-mirrored-screen"; +// Enables / disables a stable order between overview sessions, independent of +// the MRU order which attempts to preserve relative window positions. +const char kAshDisableStableOverviewOrder[] = + "ash-disable-stable-overview-order"; +const char kAshEnableStableOverviewOrder[] = "ash-enable-stable-overview-order"; + // Enables quick, non-cancellable locking of the screen when in maximize mode. const char kAshEnablePowerButtonQuickLock[] = "ash-enable-power-button-quick-lock"; |