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 <algorithm> | 7 #include <algorithm> |
8 #include <iterator> | 8 #include <iterator> |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 1010 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1021 ENABLE_DISABLE_VALUE_TYPE(cc::switches::kEnablePinchZoomScrollbars, | 1021 ENABLE_DISABLE_VALUE_TYPE(cc::switches::kEnablePinchZoomScrollbars, |
1022 cc::switches::kDisablePinchZoomScrollbars) | 1022 cc::switches::kDisablePinchZoomScrollbars) |
1023 }, | 1023 }, |
1024 { | 1024 { |
1025 "app-list-show-apps-only", | 1025 "app-list-show-apps-only", |
1026 IDS_FLAGS_ENABLE_APP_LIST_SHOW_APPS_ONLY_NAME, | 1026 IDS_FLAGS_ENABLE_APP_LIST_SHOW_APPS_ONLY_NAME, |
1027 IDS_FLAGS_ENABLE_APP_LIST_SHOW_APPS_ONLY_DESCRIPTION, | 1027 IDS_FLAGS_ENABLE_APP_LIST_SHOW_APPS_ONLY_DESCRIPTION, |
1028 kOsAll, | 1028 kOsAll, |
1029 SINGLE_VALUE_TYPE(app_list::switches::kAppListShowAppsOnly), | 1029 SINGLE_VALUE_TYPE(app_list::switches::kAppListShowAppsOnly), |
1030 }, | 1030 }, |
| 1031 { |
| 1032 "forced-maximize-mode", |
| 1033 IDS_FLAGS_FORCE_MAXIMIZE_MODE_NAME, |
| 1034 IDS_FLAGS_FORCE_MAXIMIZE_MODE_DESCRIPTION, |
| 1035 kOsLinux | kOsWin | kOsCrOS, |
| 1036 SINGLE_VALUE_TYPE(ash::switches::kForcedMaximizeMode), |
| 1037 }, |
1031 #endif // defined(USE_ASH) | 1038 #endif // defined(USE_ASH) |
1032 #if defined(OS_CHROMEOS) | 1039 #if defined(OS_CHROMEOS) |
1033 { | 1040 { |
1034 "disable-boot-animation", | 1041 "disable-boot-animation", |
1035 IDS_FLAGS_DISABLE_BOOT_ANIMATION, | 1042 IDS_FLAGS_DISABLE_BOOT_ANIMATION, |
1036 IDS_FLAGS_DISABLE_BOOT_ANIMATION_DESCRIPTION, | 1043 IDS_FLAGS_DISABLE_BOOT_ANIMATION_DESCRIPTION, |
1037 kOsCrOSOwnerOnly, | 1044 kOsCrOSOwnerOnly, |
1038 SINGLE_VALUE_TYPE(switches::kDisableBootAnimation), | 1045 SINGLE_VALUE_TYPE(switches::kDisableBootAnimation), |
1039 }, | 1046 }, |
1040 { | 1047 { |
(...skipping 907 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1948 } | 1955 } |
1949 | 1956 |
1950 const Experiment* GetExperiments(size_t* count) { | 1957 const Experiment* GetExperiments(size_t* count) { |
1951 *count = num_experiments; | 1958 *count = num_experiments; |
1952 return experiments; | 1959 return experiments; |
1953 } | 1960 } |
1954 | 1961 |
1955 } // namespace testing | 1962 } // namespace testing |
1956 | 1963 |
1957 } // namespace about_flags | 1964 } // namespace about_flags |
OLD | NEW |