| 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 1012 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1023 }, | 1023 }, |
| 1024 #endif // defined(OS_CHROMEOS) | 1024 #endif // defined(OS_CHROMEOS) |
| 1025 { | 1025 { |
| 1026 "enable-views-textfield", | 1026 "enable-views-textfield", |
| 1027 IDS_FLAGS_ENABLE_VIEWS_TEXTFIELD_NAME, | 1027 IDS_FLAGS_ENABLE_VIEWS_TEXTFIELD_NAME, |
| 1028 IDS_FLAGS_ENABLE_VIEWS_TEXTFIELD_DESCRIPTION, | 1028 IDS_FLAGS_ENABLE_VIEWS_TEXTFIELD_DESCRIPTION, |
| 1029 kOsWin, | 1029 kOsWin, |
| 1030 SINGLE_VALUE_TYPE(switches::kEnableViewsTextfield), | 1030 SINGLE_VALUE_TYPE(switches::kEnableViewsTextfield), |
| 1031 }, | 1031 }, |
| 1032 { | 1032 { |
| 1033 "old-checkbox-style", | |
| 1034 IDS_FLAGS_OLD_CHECKBOX_STYLE, | |
| 1035 IDS_FLAGS_OLD_CHECKBOX_STYLE_DESCRIPTION, | |
| 1036 kOsLinux | kOsCrOS, | |
| 1037 SINGLE_VALUE_TYPE(switches::kOldCheckboxStyle), | |
| 1038 }, | |
| 1039 { | |
| 1040 "enable-new-dialog-style", | 1033 "enable-new-dialog-style", |
| 1041 IDS_FLAGS_ENABLE_NEW_DIALOG_STYLE_NAME, | 1034 IDS_FLAGS_ENABLE_NEW_DIALOG_STYLE_NAME, |
| 1042 IDS_FLAGS_ENABLE_NEW_DIALOG_STYLE_DESCRIPTION, | 1035 IDS_FLAGS_ENABLE_NEW_DIALOG_STYLE_DESCRIPTION, |
| 1043 kOsWin | kOsCrOS, | 1036 kOsWin | kOsCrOS, |
| 1044 SINGLE_VALUE_TYPE(switches::kEnableNewDialogStyle), | 1037 SINGLE_VALUE_TYPE(switches::kEnableNewDialogStyle), |
| 1045 }, | 1038 }, |
| 1046 { "disable-accelerated-video-decode", | 1039 { "disable-accelerated-video-decode", |
| 1047 IDS_FLAGS_DISABLE_ACCELERATED_VIDEO_DECODE_NAME, | 1040 IDS_FLAGS_DISABLE_ACCELERATED_VIDEO_DECODE_NAME, |
| 1048 IDS_FLAGS_DISABLE_ACCELERATED_VIDEO_DECODE_DESCRIPTION, | 1041 IDS_FLAGS_DISABLE_ACCELERATED_VIDEO_DECODE_DESCRIPTION, |
| 1049 kOsDesktop, | 1042 kOsDesktop, |
| (...skipping 697 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1747 } | 1740 } |
| 1748 | 1741 |
| 1749 const Experiment* GetExperiments(size_t* count) { | 1742 const Experiment* GetExperiments(size_t* count) { |
| 1750 *count = num_experiments; | 1743 *count = num_experiments; |
| 1751 return experiments; | 1744 return experiments; |
| 1752 } | 1745 } |
| 1753 | 1746 |
| 1754 } // namespace testing | 1747 } // namespace testing |
| 1755 | 1748 |
| 1756 } // namespace about_flags | 1749 } // namespace about_flags |
| OLD | NEW |