Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(99)

Side by Side Diff: chrome/browser/about_flags.cc

Issue 2757933002: Allow building non-Android with enable_webvr (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1663 matching lines...) Expand 10 before | Expand all | Expand 10 after
1674 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAppWindowCycling, 1674 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAppWindowCycling,
1675 switches::kDisableAppWindowCycling)}, 1675 switches::kDisableAppWindowCycling)},
1676 #endif // OS_MACOSX 1676 #endif // OS_MACOSX
1677 {"enable-webvr", IDS_FLAGS_WEBVR_NAME, IDS_FLAGS_WEBVR_DESCRIPTION, kOsAll, 1677 {"enable-webvr", IDS_FLAGS_WEBVR_NAME, IDS_FLAGS_WEBVR_DESCRIPTION, kOsAll,
1678 SINGLE_VALUE_TYPE(switches::kEnableWebVR)}, 1678 SINGLE_VALUE_TYPE(switches::kEnableWebVR)},
1679 #if BUILDFLAG(ENABLE_WEBVR) 1679 #if BUILDFLAG(ENABLE_WEBVR)
1680 {"enable-webvr-experimental-rendering", 1680 {"enable-webvr-experimental-rendering",
1681 IDS_FLAGS_WEBVR_EXPERIMENTAL_RENDERING_NAME, 1681 IDS_FLAGS_WEBVR_EXPERIMENTAL_RENDERING_NAME,
1682 IDS_FLAGS_WEBVR_EXPERIMENTAL_RENDERING_DESCRIPTION, kOsAndroid, 1682 IDS_FLAGS_WEBVR_EXPERIMENTAL_RENDERING_DESCRIPTION, kOsAndroid,
1683 FEATURE_VALUE_TYPE(features::kWebVRExperimentalRendering)}, 1683 FEATURE_VALUE_TYPE(features::kWebVRExperimentalRendering)},
1684 #if defined(OS_ANDROID)
1684 {"enable-vr-shell", IDS_FLAGS_ENABLE_VR_SHELL_NAME, 1685 {"enable-vr-shell", IDS_FLAGS_ENABLE_VR_SHELL_NAME,
1685 IDS_FLAGS_ENABLE_VR_SHELL_DESCRIPTION, kOsAndroid, 1686 IDS_FLAGS_ENABLE_VR_SHELL_DESCRIPTION, kOsAndroid,
1686 FEATURE_VALUE_TYPE(features::kVrShell)}, 1687 FEATURE_VALUE_TYPE(features::kVrShell)},
1687 #endif 1688 #endif // OS_ANDROID
1689 #endif // ENABLE_WEBVR
1688 #if defined(OS_CHROMEOS) 1690 #if defined(OS_CHROMEOS)
1689 {"disable-accelerated-mjpeg-decode", 1691 {"disable-accelerated-mjpeg-decode",
1690 IDS_FLAGS_ACCELERATED_MJPEG_DECODE_NAME, 1692 IDS_FLAGS_ACCELERATED_MJPEG_DECODE_NAME,
1691 IDS_FLAGS_ACCELERATED_MJPEG_DECODE_DESCRIPTION, kOsCrOS, 1693 IDS_FLAGS_ACCELERATED_MJPEG_DECODE_DESCRIPTION, kOsCrOS,
1692 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAcceleratedMjpegDecode)}, 1694 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAcceleratedMjpegDecode)},
1693 #endif // OS_CHROMEOS 1695 #endif // OS_CHROMEOS
1694 {"v8-cache-options", IDS_FLAGS_V8_CACHE_OPTIONS_NAME, 1696 {"v8-cache-options", IDS_FLAGS_V8_CACHE_OPTIONS_NAME,
1695 IDS_FLAGS_V8_CACHE_OPTIONS_DESCRIPTION, kOsAll, 1697 IDS_FLAGS_V8_CACHE_OPTIONS_DESCRIPTION, kOsAll,
1696 MULTI_VALUE_TYPE(kV8CacheOptionsChoices)}, 1698 MULTI_VALUE_TYPE(kV8CacheOptionsChoices)},
1697 {"v8-cache-strategies-for-cache-storage", 1699 {"v8-cache-strategies-for-cache-storage",
(...skipping 898 matching lines...) Expand 10 before | Expand all | Expand 10 after
2596 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2598 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2597 2599
2598 const FeatureEntry* GetFeatureEntries(size_t* count) { 2600 const FeatureEntry* GetFeatureEntries(size_t* count) {
2599 *count = arraysize(kFeatureEntries); 2601 *count = arraysize(kFeatureEntries);
2600 return kFeatureEntries; 2602 return kFeatureEntries;
2601 } 2603 }
2602 2604
2603 } // namespace testing 2605 } // namespace testing
2604 2606
2605 } // namespace about_flags 2607 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698