diff options
author | skuhne@chromium.org <skuhne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-26 18:29:32 +0000 |
---|---|---|
committer | skuhne@chromium.org <skuhne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-26 18:29:32 +0000 |
commit | 33ec5ce564b64c0c6e468e8e3444af52e7e84777 (patch) | |
tree | 151e802acfd948011b5a8ceb64353389420b014a /ash/ash_switches.cc | |
parent | 5686a42652a8fdc0eab2d25f8eb5d9035a21bbda (diff) | |
download | chromium_src-33ec5ce564b64c0c6e468e8e3444af52e7e84777.zip chromium_src-33ec5ce564b64c0c6e468e8e3444af52e7e84777.tar.gz chromium_src-33ec5ce564b64c0c6e468e8e3444af52e7e84777.tar.bz2 |
Re-vamped the entire window auto positioning logic
As long as the user did not move / resize the window:
A single visible window (browser / app) on the screen will always be centered.
When a second visible (browser / app) window joins in, both will be pushed into opposite corners.
When more windows get piled up, they go every time into the opposite side of the currently active window.
When the user has resized / moved a window, it will be treated as a visible (browser / app) window, but it will not get moved - the others will however.
Addressing bug: Moving last remaining tabbed window back into screen center
BUG=153431, 150879, 153302
TEST=unit-tests & visual
Review URL: https://chromiumcodereview.appspot.com/11085053
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164352 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/ash_switches.cc')
-rw-r--r-- | ash/ash_switches.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ash/ash_switches.cc b/ash/ash_switches.cc index 7ae43636..f9980e8 100644 --- a/ash/ash_switches.cc +++ b/ash/ash_switches.cc @@ -19,6 +19,10 @@ const char kAshConstrainPointerToRoot[] = "ash-constrain-pointer-to-root"; // Enable keyboard shortcuts useful for debugging. const char kAshDebugShortcuts[] = "ash-debug-shortcuts"; +// Disable support for auto window placement. +const char kAshDisableAutoWindowPlacement[] = + "ash-enable-auto-window-placement"; + // Disables boot animation v2, go back to v1. const char kAshDisableBootAnimation2[] = "ash-disable-boot-animation2"; |