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

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

Issue 2119353003: Removing CustomLayout media notification logic (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments Created 4 years, 5 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 1896 matching lines...) Expand 10 before | Expand all | Expand 10 after
1907 IDS_FLAGS_TAB_DETACHING_IN_FULLSCREEN_NAME, 1907 IDS_FLAGS_TAB_DETACHING_IN_FULLSCREEN_NAME,
1908 IDS_FLAGS_TAB_DETACHING_IN_FULLSCREEN_DESCRIPTION, kOsMac, 1908 IDS_FLAGS_TAB_DETACHING_IN_FULLSCREEN_DESCRIPTION, kOsMac,
1909 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableFullscreenTabDetaching, 1909 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableFullscreenTabDetaching,
1910 switches::kDisableFullscreenTabDetaching)}, 1910 switches::kDisableFullscreenTabDetaching)},
1911 {"enable-fullscreen-toolbar-reveal", 1911 {"enable-fullscreen-toolbar-reveal",
1912 IDS_FLAGS_FULLSCREEN_TOOLBAR_REVEAL_NAME, 1912 IDS_FLAGS_FULLSCREEN_TOOLBAR_REVEAL_NAME,
1913 IDS_FLAGS_FULLSCREEN_TOOLBAR_REVEAL_DESCRIPTION, kOsMac, 1913 IDS_FLAGS_FULLSCREEN_TOOLBAR_REVEAL_DESCRIPTION, kOsMac,
1914 SINGLE_VALUE_TYPE(switches::kEnableFullscreenToolbarReveal)}, 1914 SINGLE_VALUE_TYPE(switches::kEnableFullscreenToolbarReveal)},
1915 #endif 1915 #endif
1916 #if defined(OS_ANDROID) 1916 #if defined(OS_ANDROID)
1917 {"media-style-notification", IDS_FLAGS_MEDIA_STYLE_NOTIFICATION_NAME,
1918 IDS_FLAGS_MEDIA_STYLE_NOTIFICATION_DESCRIPTION, kOsAndroid,
1919 FEATURE_VALUE_TYPE(chrome::android::kMediaStyleNotification)},
1920 {"important-sites-in-cbd", IDS_FLAGS_IMPORTANT_SITES_IN_CBD_NAME, 1917 {"important-sites-in-cbd", IDS_FLAGS_IMPORTANT_SITES_IN_CBD_NAME,
1921 IDS_FLAGS_IMPORTANT_SITES_IN_CBD_DESCRIPTION, kOsAndroid, 1918 IDS_FLAGS_IMPORTANT_SITES_IN_CBD_DESCRIPTION, kOsAndroid,
1922 FEATURE_VALUE_TYPE(chrome::android::kImportantSitesInCBD)}, 1919 FEATURE_VALUE_TYPE(chrome::android::kImportantSitesInCBD)},
1923 {"autoplay-muted-videos", 1920 {"autoplay-muted-videos",
1924 IDS_FLAGS_ENABLE_AUTOPLAY_MUTED_VIDEOS_NAME, 1921 IDS_FLAGS_ENABLE_AUTOPLAY_MUTED_VIDEOS_NAME,
1925 IDS_FLAGS_ENABLE_AUTOPLAY_MUTED_VIDEOS_DESCRIPTION, kOsAndroid, 1922 IDS_FLAGS_ENABLE_AUTOPLAY_MUTED_VIDEOS_DESCRIPTION, kOsAndroid,
1926 FEATURE_VALUE_TYPE(features::kAutoplayMutedVideos)}, 1923 FEATURE_VALUE_TYPE(features::kAutoplayMutedVideos)},
1927 #endif 1924 #endif
1928 {"enable-pointer-events", // FLAGS:RECORD_UMA 1925 {"enable-pointer-events", // FLAGS:RECORD_UMA
1929 IDS_FLAGS_EXPERIMENTAL_POINTER_EVENT_NAME, 1926 IDS_FLAGS_EXPERIMENTAL_POINTER_EVENT_NAME,
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
2161 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2158 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2162 2159
2163 const FeatureEntry* GetFeatureEntries(size_t* count) { 2160 const FeatureEntry* GetFeatureEntries(size_t* count) {
2164 *count = arraysize(kFeatureEntries); 2161 *count = arraysize(kFeatureEntries);
2165 return kFeatureEntries; 2162 return kFeatureEntries;
2166 } 2163 }
2167 2164
2168 } // namespace testing 2165 } // namespace testing
2169 2166
2170 } // namespace about_flags 2167 } // 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