Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(818)

Side by Side Diff: chrome/browser/about_flags.cc

Issue 13934007: Adding experimental maximize mode (behind a flag) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: A few self nits Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/about_flags.h" 5 #include "chrome/browser/about_flags.h"
6 6
7 #include <string.h> 7 #include <string.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <iterator> 10 #include <iterator>
(...skipping 975 matching lines...) Expand 10 before | Expand all | Expand 10 after
986 ENABLE_DISABLE_VALUE_TYPE(cc::switches::kEnablePinchZoomScrollbars, 986 ENABLE_DISABLE_VALUE_TYPE(cc::switches::kEnablePinchZoomScrollbars,
987 cc::switches::kDisablePinchZoomScrollbars) 987 cc::switches::kDisablePinchZoomScrollbars)
988 }, 988 },
989 { 989 {
990 "app-list-show-apps-only", 990 "app-list-show-apps-only",
991 IDS_FLAGS_ENABLE_APP_LIST_SHOW_APPS_ONLY_NAME, 991 IDS_FLAGS_ENABLE_APP_LIST_SHOW_APPS_ONLY_NAME,
992 IDS_FLAGS_ENABLE_APP_LIST_SHOW_APPS_ONLY_DESCRIPTION, 992 IDS_FLAGS_ENABLE_APP_LIST_SHOW_APPS_ONLY_DESCRIPTION,
993 kOsAll, 993 kOsAll,
994 SINGLE_VALUE_TYPE(app_list::switches::kAppListShowAppsOnly), 994 SINGLE_VALUE_TYPE(app_list::switches::kAppListShowAppsOnly),
995 }, 995 },
996 {
997 "force_maximize_mode",
James Cook 2013/04/22 22:15:46 hyphens
Mr4D (OOO till 08-26) 2013/04/23 04:41:28 Done.
998 IDS_FLAGS_FORCE_MAXIMIZE_MODE_NAME,
999 IDS_FLAGS_FORCE_MAXIMIZE_MODE_DESCRIPTION,
1000 kOsLinux | kOsWin | kOsCrOS,
1001 SINGLE_VALUE_TYPE(ash::switches::kForceMaximizeMode),
1002 },
996 #endif // defined(USE_ASH) 1003 #endif // defined(USE_ASH)
997 #if defined(OS_CHROMEOS) 1004 #if defined(OS_CHROMEOS)
998 { 1005 {
999 "disable-boot-animation", 1006 "disable-boot-animation",
1000 IDS_FLAGS_DISABLE_BOOT_ANIMATION, 1007 IDS_FLAGS_DISABLE_BOOT_ANIMATION,
1001 IDS_FLAGS_DISABLE_BOOT_ANIMATION_DESCRIPTION, 1008 IDS_FLAGS_DISABLE_BOOT_ANIMATION_DESCRIPTION,
1002 kOsCrOSOwnerOnly, 1009 kOsCrOSOwnerOnly,
1003 SINGLE_VALUE_TYPE(switches::kDisableBootAnimation), 1010 SINGLE_VALUE_TYPE(switches::kDisableBootAnimation),
1004 }, 1011 },
1005 { 1012 {
(...skipping 852 matching lines...) Expand 10 before | Expand all | Expand 10 after
1858 } 1865 }
1859 1866
1860 const Experiment* GetExperiments(size_t* count) { 1867 const Experiment* GetExperiments(size_t* count) {
1861 *count = num_experiments; 1868 *count = num_experiments;
1862 return experiments; 1869 return experiments;
1863 } 1870 }
1864 1871
1865 } // namespace testing 1872 } // namespace testing
1866 1873
1867 } // namespace about_flags 1874 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698