Chromium Code Reviews| 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 1993 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2004 SINGLE_VALUE_TYPE(switches::kEnableWebVR)}, | 2004 SINGLE_VALUE_TYPE(switches::kEnableWebVR)}, |
| 2005 #if BUILDFLAG(ENABLE_VR) | 2005 #if BUILDFLAG(ENABLE_VR) |
| 2006 {"enable-webvr-experimental-rendering", | 2006 {"enable-webvr-experimental-rendering", |
| 2007 flag_descriptions::kWebvrExperimentalRenderingName, | 2007 flag_descriptions::kWebvrExperimentalRenderingName, |
| 2008 flag_descriptions::kWebvrExperimentalRenderingDescription, kOsAndroid, | 2008 flag_descriptions::kWebvrExperimentalRenderingDescription, kOsAndroid, |
| 2009 FEATURE_VALUE_TYPE(features::kWebVRExperimentalRendering)}, | 2009 FEATURE_VALUE_TYPE(features::kWebVRExperimentalRendering)}, |
| 2010 #if defined(OS_ANDROID) | 2010 #if defined(OS_ANDROID) |
| 2011 {"enable-vr-shell", flag_descriptions::kEnableVrShellName, | 2011 {"enable-vr-shell", flag_descriptions::kEnableVrShellName, |
| 2012 flag_descriptions::kEnableVrShellDescription, kOsAndroid, | 2012 flag_descriptions::kEnableVrShellDescription, kOsAndroid, |
| 2013 FEATURE_VALUE_TYPE(features::kVrShell)}, | 2013 FEATURE_VALUE_TYPE(features::kVrShell)}, |
| 2014 {"enable-vr-custom-tab-browsing", | |
| 2015 flag_descriptions::kVrCustomTabBrowsingName, | |
| 2016 flag_descriptions::kVrCustomTabBrowsingDescription, kOsAndroid, | |
| 2017 FEATURE_VALUE_TYPE(chrome::android::kVrCustomTabBrowsing)}, | |
|
amp
2017/05/17 23:22:04
The namespace threw me off for a bit here, but I g
| |
| 2014 #endif // OS_ANDROID | 2018 #endif // OS_ANDROID |
| 2015 #endif // ENABLE_VR | 2019 #endif // ENABLE_VR |
| 2016 #if defined(OS_CHROMEOS) | 2020 #if defined(OS_CHROMEOS) |
| 2017 {"disable-accelerated-mjpeg-decode", | 2021 {"disable-accelerated-mjpeg-decode", |
| 2018 flag_descriptions::kAcceleratedMjpegDecodeName, | 2022 flag_descriptions::kAcceleratedMjpegDecodeName, |
| 2019 flag_descriptions::kAcceleratedMjpegDecodeDescription, kOsCrOS, | 2023 flag_descriptions::kAcceleratedMjpegDecodeDescription, kOsCrOS, |
| 2020 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAcceleratedMjpegDecode)}, | 2024 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAcceleratedMjpegDecode)}, |
| 2021 #endif // OS_CHROMEOS | 2025 #endif // OS_CHROMEOS |
| 2022 {"v8-cache-options", flag_descriptions::kV8CacheOptionsName, | 2026 {"v8-cache-options", flag_descriptions::kV8CacheOptionsName, |
| 2023 flag_descriptions::kV8CacheOptionsDescription, kOsAll, | 2027 flag_descriptions::kV8CacheOptionsDescription, kOsAll, |
| (...skipping 1140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 3164 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 3168 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
| 3165 | 3169 |
| 3166 const FeatureEntry* GetFeatureEntries(size_t* count) { | 3170 const FeatureEntry* GetFeatureEntries(size_t* count) { |
| 3167 *count = arraysize(kFeatureEntries); | 3171 *count = arraysize(kFeatureEntries); |
| 3168 return kFeatureEntries; | 3172 return kFeatureEntries; |
| 3169 } | 3173 } |
| 3170 | 3174 |
| 3171 } // namespace testing | 3175 } // namespace testing |
| 3172 | 3176 |
| 3173 } // namespace about_flags | 3177 } // namespace about_flags |
| OLD | NEW |