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
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 90454c9..8fec269 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -1028,6 +1028,13 @@
kOsAll,
SINGLE_VALUE_TYPE(app_list::switches::kAppListShowAppsOnly),
},
+ {
+ "forced-maximize-mode",
+ IDS_FLAGS_FORCE_MAXIMIZE_MODE_NAME,
+ IDS_FLAGS_FORCE_MAXIMIZE_MODE_DESCRIPTION,
+ kOsLinux | kOsWin | kOsCrOS,
+ SINGLE_VALUE_TYPE(ash::switches::kForcedMaximizeMode),
+ },
#endif // defined(USE_ASH)
#if defined(OS_CHROMEOS)
{