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 948 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
959 IDS_FLAGS_SHOW_TOUCH_HUD_NAME, | 959 IDS_FLAGS_SHOW_TOUCH_HUD_NAME, |
960 IDS_FLAGS_SHOW_TOUCH_HUD_DESCRIPTION, | 960 IDS_FLAGS_SHOW_TOUCH_HUD_DESCRIPTION, |
961 kOsAll, | 961 kOsAll, |
962 SINGLE_VALUE_TYPE(ash::switches::kAshTouchHud) | 962 SINGLE_VALUE_TYPE(ash::switches::kAshTouchHud) |
963 }, | 963 }, |
964 { | 964 { |
965 "enable-pinch", | 965 "enable-pinch", |
966 IDS_FLAGS_ENABLE_PINCH_SCALE_NAME, | 966 IDS_FLAGS_ENABLE_PINCH_SCALE_NAME, |
967 IDS_FLAGS_ENABLE_PINCH_SCALE_DESCRIPTION, | 967 IDS_FLAGS_ENABLE_PINCH_SCALE_DESCRIPTION, |
968 kOsLinux | kOsWin | kOsCrOS, | 968 kOsLinux | kOsWin | kOsCrOS, |
969 SINGLE_VALUE_TYPE(switches::kEnablePinch), | 969 ENABLE_DISABLE_VALUE_TYPE(switches::kEnablePinch, switches::kDisablePinch), |
| 970 }, |
| 971 { |
| 972 "pinch-zoom-scrollbars", |
| 973 IDS_FLAGS_PINCH_ZOOM_SCROLLBARS_NAME, |
| 974 IDS_FLAGS_PINCH_ZOOM_SCROLLBARS_DESCRIPTION, |
| 975 kOsCrOS, |
| 976 ENABLE_DISABLE_VALUE_TYPE(cc::switches::kEnablePinchZoomScrollbars, |
| 977 cc::switches::kDisablePinchZoomScrollbars) |
970 }, | 978 }, |
971 { | 979 { |
972 "app-list-show-apps-only", | 980 "app-list-show-apps-only", |
973 IDS_FLAGS_ENABLE_APP_LIST_SHOW_APPS_ONLY_NAME, | 981 IDS_FLAGS_ENABLE_APP_LIST_SHOW_APPS_ONLY_NAME, |
974 IDS_FLAGS_ENABLE_APP_LIST_SHOW_APPS_ONLY_DESCRIPTION, | 982 IDS_FLAGS_ENABLE_APP_LIST_SHOW_APPS_ONLY_DESCRIPTION, |
975 kOsAll, | 983 kOsAll, |
976 SINGLE_VALUE_TYPE(app_list::switches::kAppListShowAppsOnly), | 984 SINGLE_VALUE_TYPE(app_list::switches::kAppListShowAppsOnly), |
977 }, | 985 }, |
978 #endif // defined(USE_ASH) | 986 #endif // defined(USE_ASH) |
979 #if defined(OS_CHROMEOS) | 987 #if defined(OS_CHROMEOS) |
(...skipping 821 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1801 } | 1809 } |
1802 | 1810 |
1803 const Experiment* GetExperiments(size_t* count) { | 1811 const Experiment* GetExperiments(size_t* count) { |
1804 *count = num_experiments; | 1812 *count = num_experiments; |
1805 return experiments; | 1813 return experiments; |
1806 } | 1814 } |
1807 | 1815 |
1808 } // namespace testing | 1816 } // namespace testing |
1809 | 1817 |
1810 } // namespace about_flags | 1818 } // namespace about_flags |
OLD | NEW |