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

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

Issue 1838623002: Bring Audio Share and Tab Share Default On (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Three value flag for Tab Created 4 years, 8 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 1742 matching lines...) Expand 10 before | Expand all | Expand 10 after
1753 SINGLE_VALUE_TYPE(switches::kEnableWebFontsInterventionTrigger)}, 1753 SINGLE_VALUE_TYPE(switches::kEnableWebFontsInterventionTrigger)},
1754 {"enable-grouped-history", IDS_FLAGS_ENABLE_GROUPED_HISTORY_NAME, 1754 {"enable-grouped-history", IDS_FLAGS_ENABLE_GROUPED_HISTORY_NAME,
1755 IDS_FLAGS_ENABLE_GROUPED_HISTORY_DESCRIPTION, kOsDesktop, 1755 IDS_FLAGS_ENABLE_GROUPED_HISTORY_DESCRIPTION, kOsDesktop,
1756 SINGLE_VALUE_TYPE(switches::kHistoryEnableGroupByDomain)}, 1756 SINGLE_VALUE_TYPE(switches::kHistoryEnableGroupByDomain)},
1757 {"enable-token-binding", IDS_FLAGS_ENABLE_TOKEN_BINDING_NAME, 1757 {"enable-token-binding", IDS_FLAGS_ENABLE_TOKEN_BINDING_NAME,
1758 IDS_FLAGS_ENABLE_TOKEN_BINDING_DESCRIPTION, kOsAll, 1758 IDS_FLAGS_ENABLE_TOKEN_BINDING_DESCRIPTION, kOsAll,
1759 FEATURE_VALUE_TYPE(features::kTokenBinding)}, 1759 FEATURE_VALUE_TYPE(features::kTokenBinding)},
1760 {"enable-scroll-anchoring", IDS_FLAGS_ENABLE_SCROLL_ANCHORING_NAME, 1760 {"enable-scroll-anchoring", IDS_FLAGS_ENABLE_SCROLL_ANCHORING_NAME,
1761 IDS_FLAGS_ENABLE_SCROLL_ANCHORING_DESCRIPTION, kOsAll, 1761 IDS_FLAGS_ENABLE_SCROLL_ANCHORING_DESCRIPTION, kOsAll,
1762 FEATURE_VALUE_TYPE(features::kScrollAnchoring)}, 1762 FEATURE_VALUE_TYPE(features::kScrollAnchoring)},
1763 {"enable-audio-support-for-desktop-share", 1763 {"disable-audio-support-for-desktop-share",
1764 IDS_FLAG_ENABLE_AUDIO_FOR_DESKTOP_SHARE, 1764 IDS_FLAG_DISABLE_AUDIO_FOR_DESKTOP_SHARE,
1765 IDS_FLAG_ENABLE_AUDIO_FOR_DESKTOP_SHARE_DESCRIPTION, kOsAll, 1765 IDS_FLAG_DISABLE_AUDIO_FOR_DESKTOP_SHARE_DESCRIPTION, kOsAll,
1766 SINGLE_VALUE_TYPE(switches::kEnableAudioSupportForDesktopShare)}, 1766 SINGLE_VALUE_TYPE(switches::kDisableAudioSupportForDesktopShare)},
1767 #if defined(ENABLE_EXTENSIONS) 1767 #if defined(ENABLE_EXTENSIONS)
1768 {"enable-tab-for-desktop-share", IDS_FLAG_ENABLE_TAB_FOR_DESKTOP_SHARE, 1768 {"tab-for-desktop-share", IDS_FLAG_DISABLE_TAB_FOR_DESKTOP_SHARE,
1769 IDS_FLAG_ENABLE_TAB_FOR_DESKTOP_SHARE_DESCRIPTION, kOsAll, 1769 IDS_FLAG_DISABLE_TAB_FOR_DESKTOP_SHARE_DESCRIPTION, kOsAll,
1770 SINGLE_VALUE_TYPE(extensions::switches::kEnableTabForDesktopShare)}, 1770 ENABLE_DISABLE_VALUE_TYPE(
1771 extensions::switches::kEnableTabForDesktopShare,
1772 extensions::switches::kDisableTabForDesktopShare)},
1771 #endif 1773 #endif
1772 #if defined(OS_ANDROID) 1774 #if defined(OS_ANDROID)
1773 {"enable-ntp-snippets", IDS_FLAGS_ENABLE_NTP_SNIPPETS_NAME, 1775 {"enable-ntp-snippets", IDS_FLAGS_ENABLE_NTP_SNIPPETS_NAME,
1774 IDS_FLAGS_ENABLE_NTP_SNIPPETS_DESCRIPTION, kOsAndroid, 1776 IDS_FLAGS_ENABLE_NTP_SNIPPETS_DESCRIPTION, kOsAndroid,
1775 FEATURE_VALUE_TYPE(chrome::android::kNTPSnippetsFeature)}, 1777 FEATURE_VALUE_TYPE(chrome::android::kNTPSnippetsFeature)},
1776 #endif // defined(OS_ANDROID) 1778 #endif // defined(OS_ANDROID)
1777 #if defined(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264) 1779 #if defined(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264)
1778 {"enable-webrtc-h264-with-openh264-ffmpeg", 1780 {"enable-webrtc-h264-with-openh264-ffmpeg",
1779 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_NAME, 1781 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_NAME,
1780 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_DESCRIPTION, kOsDesktop, 1782 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_DESCRIPTION, kOsDesktop,
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
2002 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2004 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2003 2005
2004 const FeatureEntry* GetFeatureEntries(size_t* count) { 2006 const FeatureEntry* GetFeatureEntries(size_t* count) {
2005 *count = arraysize(kFeatureEntries); 2007 *count = arraysize(kFeatureEntries);
2006 return kFeatureEntries; 2008 return kFeatureEntries;
2007 } 2009 }
2008 2010
2009 } // namespace testing 2011 } // namespace testing
2010 2012
2011 } // namespace about_flags 2013 } // 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