| 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 1019 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1030 #endif // defined(OS_CHROMEOS) | 1030 #endif // defined(OS_CHROMEOS) |
| 1031 { | 1031 { |
| 1032 "views-textfield", | 1032 "views-textfield", |
| 1033 IDS_FLAGS_VIEWS_TEXTFIELD_NAME, | 1033 IDS_FLAGS_VIEWS_TEXTFIELD_NAME, |
| 1034 IDS_FLAGS_VIEWS_TEXTFIELD_DESCRIPTION, | 1034 IDS_FLAGS_VIEWS_TEXTFIELD_DESCRIPTION, |
| 1035 kOsWin, | 1035 kOsWin, |
| 1036 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableViewsTextfield, | 1036 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableViewsTextfield, |
| 1037 switches::kDisableViewsTextfield), | 1037 switches::kDisableViewsTextfield), |
| 1038 }, | 1038 }, |
| 1039 { | 1039 { |
| 1040 "old-checkbox-style", | |
| 1041 IDS_FLAGS_OLD_CHECKBOX_STYLE, | |
| 1042 IDS_FLAGS_OLD_CHECKBOX_STYLE_DESCRIPTION, | |
| 1043 kOsLinux | kOsCrOS, | |
| 1044 SINGLE_VALUE_TYPE(switches::kOldCheckboxStyle), | |
| 1045 }, | |
| 1046 { | |
| 1047 "enable-new-dialog-style", | 1040 "enable-new-dialog-style", |
| 1048 IDS_FLAGS_ENABLE_NEW_DIALOG_STYLE_NAME, | 1041 IDS_FLAGS_ENABLE_NEW_DIALOG_STYLE_NAME, |
| 1049 IDS_FLAGS_ENABLE_NEW_DIALOG_STYLE_DESCRIPTION, | 1042 IDS_FLAGS_ENABLE_NEW_DIALOG_STYLE_DESCRIPTION, |
| 1050 kOsWin | kOsCrOS, | 1043 kOsWin | kOsCrOS, |
| 1051 SINGLE_VALUE_TYPE(switches::kEnableNewDialogStyle), | 1044 SINGLE_VALUE_TYPE(switches::kEnableNewDialogStyle), |
| 1052 }, | 1045 }, |
| 1053 { "disable-accelerated-video-decode", | 1046 { "disable-accelerated-video-decode", |
| 1054 IDS_FLAGS_DISABLE_ACCELERATED_VIDEO_DECODE_NAME, | 1047 IDS_FLAGS_DISABLE_ACCELERATED_VIDEO_DECODE_NAME, |
| 1055 IDS_FLAGS_DISABLE_ACCELERATED_VIDEO_DECODE_DESCRIPTION, | 1048 IDS_FLAGS_DISABLE_ACCELERATED_VIDEO_DECODE_DESCRIPTION, |
| 1056 kOsDesktop, | 1049 kOsDesktop, |
| (...skipping 763 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1820 } | 1813 } |
| 1821 | 1814 |
| 1822 const Experiment* GetExperiments(size_t* count) { | 1815 const Experiment* GetExperiments(size_t* count) { |
| 1823 *count = num_experiments; | 1816 *count = num_experiments; |
| 1824 return experiments; | 1817 return experiments; |
| 1825 } | 1818 } |
| 1826 | 1819 |
| 1827 } // namespace testing | 1820 } // namespace testing |
| 1828 | 1821 |
| 1829 } // namespace about_flags | 1822 } // namespace about_flags |
| OLD | NEW |