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

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

Issue 2125063002: Make Desktop Capture New Feature Default On (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove include Created 4 years, 5 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
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 1806 matching lines...) Expand 10 before | Expand all | Expand 10 after
1817 {"enable-scroll-anchoring", IDS_FLAGS_ENABLE_SCROLL_ANCHORING_NAME, 1817 {"enable-scroll-anchoring", IDS_FLAGS_ENABLE_SCROLL_ANCHORING_NAME,
1818 IDS_FLAGS_ENABLE_SCROLL_ANCHORING_DESCRIPTION, kOsAll, 1818 IDS_FLAGS_ENABLE_SCROLL_ANCHORING_DESCRIPTION, kOsAll,
1819 FEATURE_VALUE_TYPE(features::kScrollAnchoring)}, 1819 FEATURE_VALUE_TYPE(features::kScrollAnchoring)},
1820 {"disable-audio-support-for-desktop-share", 1820 {"disable-audio-support-for-desktop-share",
1821 IDS_FLAG_DISABLE_AUDIO_FOR_DESKTOP_SHARE, 1821 IDS_FLAG_DISABLE_AUDIO_FOR_DESKTOP_SHARE,
1822 IDS_FLAG_DISABLE_AUDIO_FOR_DESKTOP_SHARE_DESCRIPTION, kOsAll, 1822 IDS_FLAG_DISABLE_AUDIO_FOR_DESKTOP_SHARE_DESCRIPTION, kOsAll,
1823 SINGLE_VALUE_TYPE(switches::kDisableAudioSupportForDesktopShare)}, 1823 SINGLE_VALUE_TYPE(switches::kDisableAudioSupportForDesktopShare)},
1824 #if defined(ENABLE_EXTENSIONS) 1824 #if defined(ENABLE_EXTENSIONS)
1825 {"tab-for-desktop-share", IDS_FLAG_DISABLE_TAB_FOR_DESKTOP_SHARE, 1825 {"tab-for-desktop-share", IDS_FLAG_DISABLE_TAB_FOR_DESKTOP_SHARE,
1826 IDS_FLAG_DISABLE_TAB_FOR_DESKTOP_SHARE_DESCRIPTION, kOsAll, 1826 IDS_FLAG_DISABLE_TAB_FOR_DESKTOP_SHARE_DESCRIPTION, kOsAll,
1827 ENABLE_DISABLE_VALUE_TYPE( 1827 SINGLE_VALUE_TYPE(
1828 extensions::switches::kEnableTabForDesktopShare,
1829 extensions::switches::kDisableTabForDesktopShare)}, 1828 extensions::switches::kDisableTabForDesktopShare)},
1830 {"disable-desktop-capture-picker-old-ui", 1829 {"disable-desktop-capture-picker-new-ui",
1831 IDS_FLAG_DISABLE_DESKTOP_CAPTURE_PICKER_OLD_UI, 1830 IDS_FLAG_DISABLE_DESKTOP_CAPTURE_PICKER_NEW_UI,
1832 IDS_FLAG_DISABLE_DESKTOP_CAPTURE_PICKER_OLD_UI_DESCRIPTION, kOsAll, 1831 IDS_FLAG_DISABLE_DESKTOP_CAPTURE_PICKER_NEW_UI_DESCRIPTION, kOsAll,
1833 SINGLE_VALUE_TYPE( 1832 SINGLE_VALUE_TYPE(
1834 extensions::switches::kDisableDesktopCapturePickerOldUI)}, 1833 extensions::switches::kDisableDesktopCapturePickerNewUI)},
1835 #endif 1834 #endif
1836 #if defined(OS_ANDROID) 1835 #if defined(OS_ANDROID)
1837 {"enable-ntp-snippets", IDS_FLAGS_ENABLE_NTP_SNIPPETS_NAME, 1836 {"enable-ntp-snippets", IDS_FLAGS_ENABLE_NTP_SNIPPETS_NAME,
1838 IDS_FLAGS_ENABLE_NTP_SNIPPETS_DESCRIPTION, kOsAndroid, 1837 IDS_FLAGS_ENABLE_NTP_SNIPPETS_DESCRIPTION, kOsAndroid,
1839 FEATURE_WITH_VARIATIONS_VALUE_TYPE(chrome::android::kNTPSnippetsFeature, 1838 FEATURE_WITH_VARIATIONS_VALUE_TYPE(chrome::android::kNTPSnippetsFeature,
1840 kNTPSnippetsFeatureVariations, 1839 kNTPSnippetsFeatureVariations,
1841 ntp_snippets::kStudyName)}, 1840 ntp_snippets::kStudyName)},
1842 #endif // defined(OS_ANDROID) 1841 #endif // defined(OS_ANDROID)
1843 #if defined(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264) 1842 #if defined(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264)
1844 {"enable-webrtc-h264-with-openh264-ffmpeg", 1843 {"enable-webrtc-h264-with-openh264-ffmpeg",
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
2155 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2154 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2156 2155
2157 const FeatureEntry* GetFeatureEntries(size_t* count) { 2156 const FeatureEntry* GetFeatureEntries(size_t* count) {
2158 *count = arraysize(kFeatureEntries); 2157 *count = arraysize(kFeatureEntries);
2159 return kFeatureEntries; 2158 return kFeatureEntries;
2160 } 2159 }
2161 2160
2162 } // namespace testing 2161 } // namespace testing
2163 2162
2164 } // namespace about_flags 2163 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/extensions/api/desktop_capture/desktop_capture_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698