| 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 <iterator> | 7 #include <iterator> |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 965 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 976 SINGLE_VALUE_TYPE(chromeos::switches::kDisableOfficeEditingComponentApp), | 976 SINGLE_VALUE_TYPE(chromeos::switches::kDisableOfficeEditingComponentApp), |
| 977 }, | 977 }, |
| 978 { | 978 { |
| 979 "disable-display-color-calibration", | 979 "disable-display-color-calibration", |
| 980 IDS_FLAGS_DISABLE_DISPLAY_COLOR_CALIBRATION_NAME, | 980 IDS_FLAGS_DISABLE_DISPLAY_COLOR_CALIBRATION_NAME, |
| 981 IDS_FLAGS_DISABLE_DISPLAY_COLOR_CALIBRATION_DESCRIPTION, | 981 IDS_FLAGS_DISABLE_DISPLAY_COLOR_CALIBRATION_DESCRIPTION, |
| 982 kOsCrOS, | 982 kOsCrOS, |
| 983 SINGLE_VALUE_TYPE(ui::switches::kDisableDisplayColorCalibration), | 983 SINGLE_VALUE_TYPE(ui::switches::kDisableDisplayColorCalibration), |
| 984 }, | 984 }, |
| 985 { | 985 { |
| 986 "enable-display-quirks-client", |
| 987 IDS_FLAGS_ENABLE_DISPLAY_QUIRKS_CLIENT_NAME, |
| 988 IDS_FLAGS_ENABLE_DISPLAY_QUIRKS_CLIENT_DESCRIPTION, |
| 989 kOsCrOS, |
| 990 SINGLE_VALUE_TYPE(chromeos::switches::kEnableDisplayQuirksClient), |
| 991 }, |
| 992 { |
| 986 "ash-disable-screen-orientation-lock", | 993 "ash-disable-screen-orientation-lock", |
| 987 IDS_FLAGS_ASH_DISABLE_SCREEN_ORIENTATION_LOCK_NAME, | 994 IDS_FLAGS_ASH_DISABLE_SCREEN_ORIENTATION_LOCK_NAME, |
| 988 IDS_FLAGS_ASH_DISABLE_SCREEN_ORIENTATION_LOCK_DESCRIPTION, | 995 IDS_FLAGS_ASH_DISABLE_SCREEN_ORIENTATION_LOCK_DESCRIPTION, |
| 989 kOsCrOS, | 996 kOsCrOS, |
| 990 SINGLE_VALUE_TYPE(ash::switches::kAshDisableScreenOrientationLock), | 997 SINGLE_VALUE_TYPE(ash::switches::kAshDisableScreenOrientationLock), |
| 991 }, | 998 }, |
| 992 #endif // defined(OS_CHROMEOS) | 999 #endif // defined(OS_CHROMEOS) |
| 993 { | 1000 { |
| 994 "disable-accelerated-video-decode", | 1001 "disable-accelerated-video-decode", |
| 995 IDS_FLAGS_DISABLE_ACCELERATED_VIDEO_DECODE_NAME, | 1002 IDS_FLAGS_DISABLE_ACCELERATED_VIDEO_DECODE_NAME, |
| (...skipping 1923 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2919 FlagsState::GetInstance()->SetFeatureEntries(entries, count); | 2926 FlagsState::GetInstance()->SetFeatureEntries(entries, count); |
| 2920 } | 2927 } |
| 2921 | 2928 |
| 2922 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2929 const FeatureEntry* GetFeatureEntries(size_t* count) { |
| 2923 return FlagsState::GetInstance()->GetFeatureEntries(count); | 2930 return FlagsState::GetInstance()->GetFeatureEntries(count); |
| 2924 } | 2931 } |
| 2925 | 2932 |
| 2926 } // namespace testing | 2933 } // namespace testing |
| 2927 | 2934 |
| 2928 } // namespace about_flags | 2935 } // namespace about_flags |
| OLD | NEW |