OLD | NEW |
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 989 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1000 ENABLE_DISABLE_VALUE_TYPE(cc::switches::kEnablePinchZoomScrollbars, | 1000 ENABLE_DISABLE_VALUE_TYPE(cc::switches::kEnablePinchZoomScrollbars, |
1001 cc::switches::kDisablePinchZoomScrollbars) | 1001 cc::switches::kDisablePinchZoomScrollbars) |
1002 }, | 1002 }, |
1003 { | 1003 { |
1004 "app-list-show-apps-only", | 1004 "app-list-show-apps-only", |
1005 IDS_FLAGS_ENABLE_APP_LIST_SHOW_APPS_ONLY_NAME, | 1005 IDS_FLAGS_ENABLE_APP_LIST_SHOW_APPS_ONLY_NAME, |
1006 IDS_FLAGS_ENABLE_APP_LIST_SHOW_APPS_ONLY_DESCRIPTION, | 1006 IDS_FLAGS_ENABLE_APP_LIST_SHOW_APPS_ONLY_DESCRIPTION, |
1007 kOsAll, | 1007 kOsAll, |
1008 SINGLE_VALUE_TYPE(app_list::switches::kAppListShowAppsOnly), | 1008 SINGLE_VALUE_TYPE(app_list::switches::kAppListShowAppsOnly), |
1009 }, | 1009 }, |
| 1010 { |
| 1011 "forced-maximize-mode", |
| 1012 IDS_FLAGS_FORCE_MAXIMIZE_MODE_NAME, |
| 1013 IDS_FLAGS_FORCE_MAXIMIZE_MODE_DESCRIPTION, |
| 1014 kOsLinux | kOsWin | kOsCrOS, |
| 1015 SINGLE_VALUE_TYPE(ash::switches::kForcedMaximizeMode), |
| 1016 }, |
1010 #endif // defined(USE_ASH) | 1017 #endif // defined(USE_ASH) |
1011 #if defined(OS_CHROMEOS) | 1018 #if defined(OS_CHROMEOS) |
1012 { | 1019 { |
1013 "disable-boot-animation", | 1020 "disable-boot-animation", |
1014 IDS_FLAGS_DISABLE_BOOT_ANIMATION, | 1021 IDS_FLAGS_DISABLE_BOOT_ANIMATION, |
1015 IDS_FLAGS_DISABLE_BOOT_ANIMATION_DESCRIPTION, | 1022 IDS_FLAGS_DISABLE_BOOT_ANIMATION_DESCRIPTION, |
1016 kOsCrOSOwnerOnly, | 1023 kOsCrOSOwnerOnly, |
1017 SINGLE_VALUE_TYPE(switches::kDisableBootAnimation), | 1024 SINGLE_VALUE_TYPE(switches::kDisableBootAnimation), |
1018 }, | 1025 }, |
1019 { | 1026 { |
(...skipping 860 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1880 } | 1887 } |
1881 | 1888 |
1882 const Experiment* GetExperiments(size_t* count) { | 1889 const Experiment* GetExperiments(size_t* count) { |
1883 *count = num_experiments; | 1890 *count = num_experiments; |
1884 return experiments; | 1891 return experiments; |
1885 } | 1892 } |
1886 | 1893 |
1887 } // namespace testing | 1894 } // namespace testing |
1888 | 1895 |
1889 } // namespace about_flags | 1896 } // namespace about_flags |
OLD | NEW |