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 1085 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1096 }, | 1096 }, |
1097 #endif // defined(OS_CHROMEOS) | 1097 #endif // defined(OS_CHROMEOS) |
1098 { | 1098 { |
1099 "views-textfield", | 1099 "views-textfield", |
1100 IDS_FLAGS_VIEWS_TEXTFIELD_NAME, | 1100 IDS_FLAGS_VIEWS_TEXTFIELD_NAME, |
1101 IDS_FLAGS_VIEWS_TEXTFIELD_DESCRIPTION, | 1101 IDS_FLAGS_VIEWS_TEXTFIELD_DESCRIPTION, |
1102 kOsWin, | 1102 kOsWin, |
1103 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableViewsTextfield, | 1103 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableViewsTextfield, |
1104 switches::kDisableViewsTextfield), | 1104 switches::kDisableViewsTextfield), |
1105 }, | 1105 }, |
1106 { | |
1107 "new-dialog-style", | |
1108 IDS_FLAGS_NEW_DIALOG_STYLE_NAME, | |
1109 IDS_FLAGS_NEW_DIALOG_STYLE_DESCRIPTION, | |
1110 kOsWin | kOsCrOS, | |
1111 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableNewDialogStyle, | |
1112 switches::kDisableNewDialogStyle), | |
1113 }, | |
1114 { "disable-accelerated-video-decode", | 1106 { "disable-accelerated-video-decode", |
1115 IDS_FLAGS_DISABLE_ACCELERATED_VIDEO_DECODE_NAME, | 1107 IDS_FLAGS_DISABLE_ACCELERATED_VIDEO_DECODE_NAME, |
1116 IDS_FLAGS_DISABLE_ACCELERATED_VIDEO_DECODE_DESCRIPTION, | 1108 IDS_FLAGS_DISABLE_ACCELERATED_VIDEO_DECODE_DESCRIPTION, |
1117 kOsWin | kOsCrOS, | 1109 kOsWin | kOsCrOS, |
1118 SINGLE_VALUE_TYPE(switches::kDisableAcceleratedVideoDecode), | 1110 SINGLE_VALUE_TYPE(switches::kDisableAcceleratedVideoDecode), |
1119 }, | 1111 }, |
1120 #if defined(USE_ASH) | 1112 #if defined(USE_ASH) |
1121 { | 1113 { |
1122 "ash-debug-shortcuts", | 1114 "ash-debug-shortcuts", |
1123 IDS_FLAGS_DEBUG_SHORTCUTS_NAME, | 1115 IDS_FLAGS_DEBUG_SHORTCUTS_NAME, |
(...skipping 997 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2121 } | 2113 } |
2122 | 2114 |
2123 const Experiment* GetExperiments(size_t* count) { | 2115 const Experiment* GetExperiments(size_t* count) { |
2124 *count = num_experiments; | 2116 *count = num_experiments; |
2125 return experiments; | 2117 return experiments; |
2126 } | 2118 } |
2127 | 2119 |
2128 } // namespace testing | 2120 } // namespace testing |
2129 | 2121 |
2130 } // namespace about_flags | 2122 } // namespace about_flags |
OLD | NEW |