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

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

Issue 2560333002: Remove Deprecate Code For Desktop Capture Picker Old UI (Closed)
Patch Set: Rebase Created 4 years 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') | chrome/browser/media/combined_desktop_media_list.h » ('j') | 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 1817 matching lines...) Expand 10 before | Expand all | Expand 10 after
1828 IDS_FLAGS_ENABLE_SCROLL_ANCHORING_DESCRIPTION, kOsAll, 1828 IDS_FLAGS_ENABLE_SCROLL_ANCHORING_DESCRIPTION, kOsAll,
1829 FEATURE_VALUE_TYPE(features::kScrollAnchoring)}, 1829 FEATURE_VALUE_TYPE(features::kScrollAnchoring)},
1830 {"disable-audio-support-for-desktop-share", 1830 {"disable-audio-support-for-desktop-share",
1831 IDS_FLAG_DISABLE_AUDIO_FOR_DESKTOP_SHARE, 1831 IDS_FLAG_DISABLE_AUDIO_FOR_DESKTOP_SHARE,
1832 IDS_FLAG_DISABLE_AUDIO_FOR_DESKTOP_SHARE_DESCRIPTION, kOsAll, 1832 IDS_FLAG_DISABLE_AUDIO_FOR_DESKTOP_SHARE_DESCRIPTION, kOsAll,
1833 SINGLE_VALUE_TYPE(switches::kDisableAudioSupportForDesktopShare)}, 1833 SINGLE_VALUE_TYPE(switches::kDisableAudioSupportForDesktopShare)},
1834 #if BUILDFLAG(ENABLE_EXTENSIONS) 1834 #if BUILDFLAG(ENABLE_EXTENSIONS)
1835 {"tab-for-desktop-share", IDS_FLAG_DISABLE_TAB_FOR_DESKTOP_SHARE, 1835 {"tab-for-desktop-share", IDS_FLAG_DISABLE_TAB_FOR_DESKTOP_SHARE,
1836 IDS_FLAG_DISABLE_TAB_FOR_DESKTOP_SHARE_DESCRIPTION, kOsAll, 1836 IDS_FLAG_DISABLE_TAB_FOR_DESKTOP_SHARE_DESCRIPTION, kOsAll,
1837 SINGLE_VALUE_TYPE(extensions::switches::kDisableTabForDesktopShare)}, 1837 SINGLE_VALUE_TYPE(extensions::switches::kDisableTabForDesktopShare)},
1838 {"disable-desktop-capture-picker-new-ui",
1839 IDS_FLAG_DISABLE_DESKTOP_CAPTURE_PICKER_NEW_UI,
1840 IDS_FLAG_DISABLE_DESKTOP_CAPTURE_PICKER_NEW_UI_DESCRIPTION, kOsAll,
1841 SINGLE_VALUE_TYPE(
1842 extensions::switches::kDisableDesktopCapturePickerNewUI)},
1843 #endif // ENABLE_EXTENSIONS 1838 #endif // ENABLE_EXTENSIONS
1844 #if defined(OS_ANDROID) 1839 #if defined(OS_ANDROID)
1845 {"enable-ntp-snippets", IDS_FLAGS_ENABLE_NTP_SNIPPETS_NAME, 1840 {"enable-ntp-snippets", IDS_FLAGS_ENABLE_NTP_SNIPPETS_NAME,
1846 IDS_FLAGS_ENABLE_NTP_SNIPPETS_DESCRIPTION, kOsAndroid, 1841 IDS_FLAGS_ENABLE_NTP_SNIPPETS_DESCRIPTION, kOsAndroid,
1847 FEATURE_WITH_VARIATIONS_VALUE_TYPE( 1842 FEATURE_WITH_VARIATIONS_VALUE_TYPE(
1848 ntp_snippets::kContentSuggestionsFeature, 1843 ntp_snippets::kContentSuggestionsFeature,
1849 kNTPSnippetsFeatureVariations, 1844 kNTPSnippetsFeatureVariations,
1850 ntp_snippets::kStudyName)}, 1845 ntp_snippets::kStudyName)},
1851 {"enable-ntp-snippets-increased-visibility", 1846 {"enable-ntp-snippets-increased-visibility",
1852 IDS_FLAGS_ENABLE_NTP_SNIPPETS_VISIBILITY_NAME, 1847 IDS_FLAGS_ENABLE_NTP_SNIPPETS_VISIBILITY_NAME,
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
2330 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2325 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2331 2326
2332 const FeatureEntry* GetFeatureEntries(size_t* count) { 2327 const FeatureEntry* GetFeatureEntries(size_t* count) {
2333 *count = arraysize(kFeatureEntries); 2328 *count = arraysize(kFeatureEntries);
2334 return kFeatureEntries; 2329 return kFeatureEntries;
2335 } 2330 }
2336 2331
2337 } // namespace testing 2332 } // namespace testing
2338 2333
2339 } // namespace about_flags 2334 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/media/combined_desktop_media_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698