diff options
author | skuhne@chromium.org <skuhne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-02 07:53:47 +0000 |
---|---|---|
committer | skuhne@chromium.org <skuhne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-02 07:53:47 +0000 |
commit | a4016f15e7abb41735dc3eec9e4d9dcb4b0d4fa5 (patch) | |
tree | f559e0dcd34863c861ccad534a9ad7eb88bcfaf2 /ash/ash_switches.cc | |
parent | 7abe41339b91e2c75f4b2b811c48794280d0116c (diff) | |
download | chromium_src-a4016f15e7abb41735dc3eec9e4d9dcb4b0d4fa5.zip chromium_src-a4016f15e7abb41735dc3eec9e4d9dcb4b0d4fa5.tar.gz chromium_src-a4016f15e7abb41735dc3eec9e4d9dcb4b0d4fa5.tar.bz2 |
Adding experimental maximize mode (behind a flag)
This experimental feature is behind a flag and allows our user interface designers to experiment with an always maximized window mode. It also removes certain context menu options which make no sense in that mode anymore.
No goals for this CL are:
- The minimal / maximal window size properties of V2 apps will get ignored, and the apps will always get maximized.
- Rather then not creating buttons in the first place, they only get hidden to keep the changes to the code to a minimum.
Note: Since this feature is entirely experimental + behind a flag + subject to change + does only contain minor behavioral changes, there are no unit tests for this at this time.
BUG=230510
TEST=visual (browser, hosted apps, V1 apps)
Review URL: https://chromiumcodereview.appspot.com/13934007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197856 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/ash_switches.cc')
-rw-r--r-- | ash/ash_switches.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ash/ash_switches.cc b/ash/ash_switches.cc index 1b18492..516fa60 100644 --- a/ash/ash_switches.cc +++ b/ash/ash_switches.cc @@ -141,8 +141,11 @@ const char kAuraLegacyPowerButton[] = "aura-legacy-power-button"; // Force Ash to open its root window on the desktop, even on Windows 8 where // it would normally end up in metro. const char kForceAshToDesktop[] = "ash-force-desktop"; -; #endif +// Enables a mode which enforces all browser & application windows to be created +// in maximized mode. +const char kForcedMaximizeMode[] = "forced-maximize-mode"; + } // namespace switches } // namespace ash |