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 914 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
925 kOsCrOS, | 925 kOsCrOS, |
926 SINGLE_VALUE_TYPE(chromeos::switches::kDisableOfficeEditingComponentApp), | 926 SINGLE_VALUE_TYPE(chromeos::switches::kDisableOfficeEditingComponentApp), |
927 }, | 927 }, |
928 { | 928 { |
929 "disable-display-color-calibration", | 929 "disable-display-color-calibration", |
930 IDS_FLAGS_DISABLE_DISPLAY_COLOR_CALIBRATION_NAME, | 930 IDS_FLAGS_DISABLE_DISPLAY_COLOR_CALIBRATION_NAME, |
931 IDS_FLAGS_DISABLE_DISPLAY_COLOR_CALIBRATION_DESCRIPTION, | 931 IDS_FLAGS_DISABLE_DISPLAY_COLOR_CALIBRATION_DESCRIPTION, |
932 kOsCrOS, | 932 kOsCrOS, |
933 SINGLE_VALUE_TYPE(ui::switches::kDisableDisplayColorCalibration), | 933 SINGLE_VALUE_TYPE(ui::switches::kDisableDisplayColorCalibration), |
934 }, | 934 }, |
| 935 { |
| 936 "ash-disable-screen-orientation-lock", |
| 937 IDS_FLAGS_ASH_DISABLE_SCREEN_ORIENTATION_LOCK_NAME, |
| 938 IDS_FLAGS_ASH_DISABLE_SCREEN_ORIENTATION_LOCK_DESCRIPTION, |
| 939 kOsCrOS, |
| 940 SINGLE_VALUE_TYPE(ash::switches::kAshDisableScreenOrientationLock), |
| 941 }, |
935 #endif // defined(OS_CHROMEOS) | 942 #endif // defined(OS_CHROMEOS) |
936 { "disable-accelerated-video-decode", | 943 { "disable-accelerated-video-decode", |
937 IDS_FLAGS_DISABLE_ACCELERATED_VIDEO_DECODE_NAME, | 944 IDS_FLAGS_DISABLE_ACCELERATED_VIDEO_DECODE_NAME, |
938 IDS_FLAGS_DISABLE_ACCELERATED_VIDEO_DECODE_DESCRIPTION, | 945 IDS_FLAGS_DISABLE_ACCELERATED_VIDEO_DECODE_DESCRIPTION, |
939 kOsMac | kOsWin | kOsCrOS, | 946 kOsMac | kOsWin | kOsCrOS, |
940 SINGLE_VALUE_TYPE(switches::kDisableAcceleratedVideoDecode), | 947 SINGLE_VALUE_TYPE(switches::kDisableAcceleratedVideoDecode), |
941 }, | 948 }, |
942 #if defined(USE_ASH) | 949 #if defined(USE_ASH) |
943 { | 950 { |
944 "ash-debug-shortcuts", | 951 "ash-debug-shortcuts", |
(...skipping 1787 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2732 } | 2739 } |
2733 | 2740 |
2734 const Experiment* GetExperiments(size_t* count) { | 2741 const Experiment* GetExperiments(size_t* count) { |
2735 *count = num_experiments; | 2742 *count = num_experiments; |
2736 return experiments; | 2743 return experiments; |
2737 } | 2744 } |
2738 | 2745 |
2739 } // namespace testing | 2746 } // namespace testing |
2740 | 2747 |
2741 } // namespace about_flags | 2748 } // namespace about_flags |
OLD | NEW |