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 2020 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2031 switches::kDisableAppWindowCycling)}, | 2031 switches::kDisableAppWindowCycling)}, |
2032 #endif | 2032 #endif |
2033 #if defined(ENABLE_WEBVR) | 2033 #if defined(ENABLE_WEBVR) |
2034 {"enable-webvr", | 2034 {"enable-webvr", |
2035 IDS_FLAGS_ENABLE_WEBVR_NAME, | 2035 IDS_FLAGS_ENABLE_WEBVR_NAME, |
2036 IDS_FLAGS_ENABLE_WEBVR_DESCRIPTION, | 2036 IDS_FLAGS_ENABLE_WEBVR_DESCRIPTION, |
2037 kOsAll, | 2037 kOsAll, |
2038 SINGLE_VALUE_TYPE(switches::kEnableWebVR)}, | 2038 SINGLE_VALUE_TYPE(switches::kEnableWebVR)}, |
2039 #endif | 2039 #endif |
2040 #if defined(OS_CHROMEOS) | 2040 #if defined(OS_CHROMEOS) |
2041 {"enable-accelerated-mjpeg-decode", | 2041 {"disable-accelerated-mjpeg-decode", |
2042 IDS_FLAGS_ENABLE_ACCELERATED_MJPEG_DECODE_NAME, | 2042 IDS_FLAGS_DISABLE_ACCELERATED_MJPEG_DECODE_NAME, |
2043 IDS_FLAGS_ENABLE_ACCELERATED_MJPEG_DECODE_DESCRIPTION, | 2043 IDS_FLAGS_DISABLE_ACCELERATED_MJPEG_DECODE_DESCRIPTION, |
2044 kOsCrOS, | 2044 kOsCrOS, |
2045 SINGLE_VALUE_TYPE(switches::kEnableAcceleratedMjpegDecode)}, | 2045 SINGLE_VALUE_TYPE(switches::kDisableAcceleratedMjpegDecode)}, |
2046 #endif // OS_CHROMEOS | 2046 #endif // OS_CHROMEOS |
2047 {"v8-cache-options", | 2047 {"v8-cache-options", |
2048 IDS_FLAGS_V8_CACHE_OPTIONS_NAME, | 2048 IDS_FLAGS_V8_CACHE_OPTIONS_NAME, |
2049 IDS_FLAGS_V8_CACHE_OPTIONS_DESCRIPTION, | 2049 IDS_FLAGS_V8_CACHE_OPTIONS_DESCRIPTION, |
2050 kOsAll, | 2050 kOsAll, |
2051 MULTI_VALUE_TYPE(kV8CacheOptionsChoices)}, | 2051 MULTI_VALUE_TYPE(kV8CacheOptionsChoices)}, |
2052 #if !defined(OS_ANDROID) && !defined(OS_IOS) | 2052 #if !defined(OS_ANDROID) && !defined(OS_IOS) |
2053 {"enable-md-downloads", | 2053 {"enable-md-downloads", |
2054 IDS_FLAGS_ENABLE_MATERIAL_DESIGN_DOWNLOADS_NAME, | 2054 IDS_FLAGS_ENABLE_MATERIAL_DESIGN_DOWNLOADS_NAME, |
2055 IDS_FLAGS_ENABLE_MATERIAL_DESIGN_DOWNLOADS_DESCRIPTION, | 2055 IDS_FLAGS_ENABLE_MATERIAL_DESIGN_DOWNLOADS_DESCRIPTION, |
(...skipping 656 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2712 } | 2712 } |
2713 | 2713 |
2714 const Experiment* GetExperiments(size_t* count) { | 2714 const Experiment* GetExperiments(size_t* count) { |
2715 *count = num_experiments; | 2715 *count = num_experiments; |
2716 return experiments; | 2716 return experiments; |
2717 } | 2717 } |
2718 | 2718 |
2719 } // namespace testing | 2719 } // namespace testing |
2720 | 2720 |
2721 } // namespace about_flags | 2721 } // namespace about_flags |
OLD | NEW |