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

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: Merge with master 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
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/android/chrome_feature_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 1760 matching lines...) Expand 10 before | Expand all | Expand 10 after
1771 IDS_FLAG_DISABLE_TAB_FOR_DESKTOP_SHARE_DESCRIPTION, kOsAll, 1771 IDS_FLAG_DISABLE_TAB_FOR_DESKTOP_SHARE_DESCRIPTION, kOsAll,
1772 ENABLE_DISABLE_VALUE_TYPE( 1772 ENABLE_DISABLE_VALUE_TYPE(
1773 extensions::switches::kEnableTabForDesktopShare, 1773 extensions::switches::kEnableTabForDesktopShare,
1774 extensions::switches::kDisableTabForDesktopShare)}, 1774 extensions::switches::kDisableTabForDesktopShare)},
1775 #endif 1775 #endif
1776 #if defined(OS_ANDROID) 1776 #if defined(OS_ANDROID)
1777 {"enable-ntp-snippets", IDS_FLAGS_ENABLE_NTP_SNIPPETS_NAME, 1777 {"enable-ntp-snippets", IDS_FLAGS_ENABLE_NTP_SNIPPETS_NAME,
1778 IDS_FLAGS_ENABLE_NTP_SNIPPETS_DESCRIPTION, kOsAndroid, 1778 IDS_FLAGS_ENABLE_NTP_SNIPPETS_DESCRIPTION, kOsAndroid,
1779 FEATURE_VALUE_TYPE(chrome::android::kNTPSnippetsFeature)}, 1779 FEATURE_VALUE_TYPE(chrome::android::kNTPSnippetsFeature)},
1780 #endif // defined(OS_ANDROID) 1780 #endif // defined(OS_ANDROID)
1781 #if defined(OS_ANDROID)
1782 {"enable-ntp-transparent-doodle",
1783 IDS_FLAGS_ENABLE_NTP_TRANSPARENT_DOODLE_NAME,
1784 IDS_FLAGS_ENABLE_NTP_TRANSPARENT_DOODLE_DESCRIPTION,
1785 kOsAndroid,
1786 FEATURE_VALUE_TYPE(chrome::android::kNTPTransparentDoodle)},
1787 #endif // defined(OS_ANDROID)
1781 #if defined(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264) 1788 #if defined(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264)
1782 {"enable-webrtc-h264-with-openh264-ffmpeg", 1789 {"enable-webrtc-h264-with-openh264-ffmpeg",
1783 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_NAME, 1790 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_NAME,
1784 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_DESCRIPTION, kOsDesktop, 1791 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_DESCRIPTION, kOsDesktop,
1785 FEATURE_VALUE_TYPE(content::kWebRtcH264WithOpenH264FFmpeg)}, 1792 FEATURE_VALUE_TYPE(content::kWebRtcH264WithOpenH264FFmpeg)},
1786 #endif // defined(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264) 1793 #endif // defined(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264)
1787 #if defined(OS_ANDROID) 1794 #if defined(OS_ANDROID)
1788 {"ime-thread", IDS_FLAGS_IME_THREAD_NAME, IDS_FLAGS_IME_THREAD_DESCRIPTION, 1795 {"ime-thread", IDS_FLAGS_IME_THREAD_NAME, IDS_FLAGS_IME_THREAD_DESCRIPTION,
1789 kOsAndroid, FEATURE_VALUE_TYPE(features::kImeThread)}, 1796 kOsAndroid, FEATURE_VALUE_TYPE(features::kImeThread)},
1790 #endif // defined(OS_ANDROID) 1797 #endif // defined(OS_ANDROID)
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
2046 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2053 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2047 2054
2048 const FeatureEntry* GetFeatureEntries(size_t* count) { 2055 const FeatureEntry* GetFeatureEntries(size_t* count) {
2049 *count = arraysize(kFeatureEntries); 2056 *count = arraysize(kFeatureEntries);
2050 return kFeatureEntries; 2057 return kFeatureEntries;
2051 } 2058 }
2052 2059
2053 } // namespace testing 2060 } // namespace testing
2054 2061
2055 } // namespace about_flags 2062 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/android/chrome_feature_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698