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

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

Issue 1956393002: Add a feature flag for enabling transparent doodle request. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@transparent-doodle
Patch Set: Created 4 years, 7 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 1755 matching lines...) Expand 10 before | Expand all | Expand 10 after
1766 IDS_FLAG_DISABLE_TAB_FOR_DESKTOP_SHARE_DESCRIPTION, kOsAll, 1766 IDS_FLAG_DISABLE_TAB_FOR_DESKTOP_SHARE_DESCRIPTION, kOsAll,
1767 ENABLE_DISABLE_VALUE_TYPE( 1767 ENABLE_DISABLE_VALUE_TYPE(
1768 extensions::switches::kEnableTabForDesktopShare, 1768 extensions::switches::kEnableTabForDesktopShare,
1769 extensions::switches::kDisableTabForDesktopShare)}, 1769 extensions::switches::kDisableTabForDesktopShare)},
1770 #endif 1770 #endif
1771 #if defined(OS_ANDROID) 1771 #if defined(OS_ANDROID)
1772 {"enable-ntp-snippets", IDS_FLAGS_ENABLE_NTP_SNIPPETS_NAME, 1772 {"enable-ntp-snippets", IDS_FLAGS_ENABLE_NTP_SNIPPETS_NAME,
1773 IDS_FLAGS_ENABLE_NTP_SNIPPETS_DESCRIPTION, kOsAndroid, 1773 IDS_FLAGS_ENABLE_NTP_SNIPPETS_DESCRIPTION, kOsAndroid,
1774 FEATURE_VALUE_TYPE(chrome::android::kNTPSnippetsFeature)}, 1774 FEATURE_VALUE_TYPE(chrome::android::kNTPSnippetsFeature)},
1775 #endif // defined(OS_ANDROID) 1775 #endif // defined(OS_ANDROID)
1776 #if defined(OS_ANDROID)
1777 {"enable-ntp-transparent-doodle",
1778 IDS_FLAGS_ENABLE_NTP_TRANSPARENT_DOODLE_NAME,
1779 IDS_FLAGS_ENABLE_NTP_TRANSPARENT_DOODLE_DESCRIPTION,
1780 kOsAndroid,
1781 FEATURE_VALUE_TYPE(chrome::android::kNTPTransparentDoodle)},
1782 #endif // defined(OS_ANDROID)
1776 #if defined(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264) 1783 #if defined(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264)
1777 {"enable-webrtc-h264-with-openh264-ffmpeg", 1784 {"enable-webrtc-h264-with-openh264-ffmpeg",
1778 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_NAME, 1785 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_NAME,
1779 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_DESCRIPTION, kOsDesktop, 1786 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_DESCRIPTION, kOsDesktop,
1780 FEATURE_VALUE_TYPE(content::kWebRtcH264WithOpenH264FFmpeg)}, 1787 FEATURE_VALUE_TYPE(content::kWebRtcH264WithOpenH264FFmpeg)},
1781 #endif // defined(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264) 1788 #endif // defined(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264)
1782 #if defined(OS_ANDROID) 1789 #if defined(OS_ANDROID)
1783 {"ime-thread", IDS_FLAGS_IME_THREAD_NAME, IDS_FLAGS_IME_THREAD_DESCRIPTION, 1790 {"ime-thread", IDS_FLAGS_IME_THREAD_NAME, IDS_FLAGS_IME_THREAD_DESCRIPTION,
1784 kOsAndroid, FEATURE_VALUE_TYPE(features::kImeThread)}, 1791 kOsAndroid, FEATURE_VALUE_TYPE(features::kImeThread)},
1785 #endif // defined(OS_ANDROID) 1792 #endif // defined(OS_ANDROID)
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
2041 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2048 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2042 2049
2043 const FeatureEntry* GetFeatureEntries(size_t* count) { 2050 const FeatureEntry* GetFeatureEntries(size_t* count) {
2044 *count = arraysize(kFeatureEntries); 2051 *count = arraysize(kFeatureEntries);
2045 return kFeatureEntries; 2052 return kFeatureEntries;
2046 } 2053 }
2047 2054
2048 } // namespace testing 2055 } // namespace testing
2049 2056
2050 } // namespace about_flags 2057 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698