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

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

Issue 1966203002: Use the NTP-MD flag for transparent doodle requests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
« 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 1777 matching lines...) Expand 10 before | Expand all | Expand 10 after
1788 IDS_FLAG_DISABLE_DESKTOP_CAPTURE_PICKER_OLD_UI, 1788 IDS_FLAG_DISABLE_DESKTOP_CAPTURE_PICKER_OLD_UI,
1789 IDS_FLAG_DISABLE_DESKTOP_CAPTURE_PICKER_OLD_UI_DESCRIPTION, kOsAll, 1789 IDS_FLAG_DISABLE_DESKTOP_CAPTURE_PICKER_OLD_UI_DESCRIPTION, kOsAll,
1790 SINGLE_VALUE_TYPE( 1790 SINGLE_VALUE_TYPE(
1791 extensions::switches::kDisableDesktopCapturePickerOldUI)}, 1791 extensions::switches::kDisableDesktopCapturePickerOldUI)},
1792 #endif 1792 #endif
1793 #if defined(OS_ANDROID) 1793 #if defined(OS_ANDROID)
1794 {"enable-ntp-snippets", IDS_FLAGS_ENABLE_NTP_SNIPPETS_NAME, 1794 {"enable-ntp-snippets", IDS_FLAGS_ENABLE_NTP_SNIPPETS_NAME,
1795 IDS_FLAGS_ENABLE_NTP_SNIPPETS_DESCRIPTION, kOsAndroid, 1795 IDS_FLAGS_ENABLE_NTP_SNIPPETS_DESCRIPTION, kOsAndroid,
1796 FEATURE_VALUE_TYPE(chrome::android::kNTPSnippetsFeature)}, 1796 FEATURE_VALUE_TYPE(chrome::android::kNTPSnippetsFeature)},
1797 #endif // defined(OS_ANDROID) 1797 #endif // defined(OS_ANDROID)
1798 #if defined(OS_ANDROID)
1799 {"enable-ntp-transparent-doodle",
1800 IDS_FLAGS_ENABLE_NTP_TRANSPARENT_DOODLE_NAME,
1801 IDS_FLAGS_ENABLE_NTP_TRANSPARENT_DOODLE_DESCRIPTION,
1802 kOsAndroid,
1803 FEATURE_VALUE_TYPE(chrome::android::kNTPTransparentDoodle)},
1804 #endif // defined(OS_ANDROID)
1805 #if defined(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264) 1798 #if defined(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264)
1806 {"enable-webrtc-h264-with-openh264-ffmpeg", 1799 {"enable-webrtc-h264-with-openh264-ffmpeg",
1807 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_NAME, 1800 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_NAME,
1808 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_DESCRIPTION, kOsDesktop, 1801 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_DESCRIPTION, kOsDesktop,
1809 FEATURE_VALUE_TYPE(content::kWebRtcH264WithOpenH264FFmpeg)}, 1802 FEATURE_VALUE_TYPE(content::kWebRtcH264WithOpenH264FFmpeg)},
1810 #endif // defined(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264) 1803 #endif // defined(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264)
1811 #if defined(OS_ANDROID) 1804 #if defined(OS_ANDROID)
1812 {"ime-thread", IDS_FLAGS_IME_THREAD_NAME, IDS_FLAGS_IME_THREAD_DESCRIPTION, 1805 {"ime-thread", IDS_FLAGS_IME_THREAD_NAME, IDS_FLAGS_IME_THREAD_DESCRIPTION,
1813 kOsAndroid, FEATURE_VALUE_TYPE(features::kImeThread)}, 1806 kOsAndroid, FEATURE_VALUE_TYPE(features::kImeThread)},
1814 #endif // defined(OS_ANDROID) 1807 #endif // defined(OS_ANDROID)
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
2067 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2060 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2068 2061
2069 const FeatureEntry* GetFeatureEntries(size_t* count) { 2062 const FeatureEntry* GetFeatureEntries(size_t* count) {
2070 *count = arraysize(kFeatureEntries); 2063 *count = arraysize(kFeatureEntries);
2071 return kFeatureEntries; 2064 return kFeatureEntries;
2072 } 2065 }
2073 2066
2074 } // namespace testing 2067 } // namespace testing
2075 2068
2076 } // namespace about_flags 2069 } // 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