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

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

Issue 2854403003: MD Settings: Add feature flag for showing content settings in a per-origin view. (Closed)
Patch Set: Rebase? Created 3 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 | « no previous file | chrome/browser/flag_descriptions.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 1192 matching lines...) Expand 10 before | Expand all | Expand 10 after
1203 flag_descriptions::kEnableAndroidSpellcheckerDescription, 1203 flag_descriptions::kEnableAndroidSpellcheckerDescription,
1204 flag_descriptions::kEnableAndroidSpellcheckerDescription, kOsAndroid, 1204 flag_descriptions::kEnableAndroidSpellcheckerDescription, kOsAndroid,
1205 FEATURE_VALUE_TYPE(spellcheck::kAndroidSpellCheckerNonLowEnd)}, 1205 FEATURE_VALUE_TYPE(spellcheck::kAndroidSpellCheckerNonLowEnd)},
1206 #endif // ENABLE_SPELLCHECK && OS_ANDROID 1206 #endif // ENABLE_SPELLCHECK && OS_ANDROID
1207 {"enable-scroll-prediction", flag_descriptions::kScrollPredictionName, 1207 {"enable-scroll-prediction", flag_descriptions::kScrollPredictionName,
1208 flag_descriptions::kScrollPredictionDescription, kOsDesktop, 1208 flag_descriptions::kScrollPredictionDescription, kOsDesktop,
1209 SINGLE_VALUE_TYPE(switches::kEnableScrollPrediction)}, 1209 SINGLE_VALUE_TYPE(switches::kEnableScrollPrediction)},
1210 {"top-chrome-md", flag_descriptions::kTopChromeMd, 1210 {"top-chrome-md", flag_descriptions::kTopChromeMd,
1211 flag_descriptions::kTopChromeMdDescription, kOsDesktop, 1211 flag_descriptions::kTopChromeMdDescription, kOsDesktop,
1212 MULTI_VALUE_TYPE(kTopChromeMaterialDesignChoices)}, 1212 MULTI_VALUE_TYPE(kTopChromeMaterialDesignChoices)},
1213 {"enable-site-details", flag_descriptions::kSiteDetails,
1214 flag_descriptions::kSiteDetailsDescription, kOsDesktop,
1215 FEATURE_VALUE_TYPE(features::kSiteDetails)},
1213 {"enable-site-settings", flag_descriptions::kSiteSettings, 1216 {"enable-site-settings", flag_descriptions::kSiteSettings,
1214 flag_descriptions::kSiteSettingsDescription, kOsDesktop, 1217 flag_descriptions::kSiteSettingsDescription, kOsDesktop,
1215 SINGLE_VALUE_TYPE(switches::kEnableSiteSettings)}, 1218 SINGLE_VALUE_TYPE(switches::kEnableSiteSettings)},
1216 {"secondary-ui-md", flag_descriptions::kSecondaryUiMd, 1219 {"secondary-ui-md", flag_descriptions::kSecondaryUiMd,
1217 flag_descriptions::kSecondaryUiMdDescription, kOsDesktop, 1220 flag_descriptions::kSecondaryUiMdDescription, kOsDesktop,
1218 SINGLE_VALUE_TYPE(switches::kExtendMdToSecondaryUi)}, 1221 SINGLE_VALUE_TYPE(switches::kExtendMdToSecondaryUi)},
1219 {"touch-events", flag_descriptions::kTouchEventsName, 1222 {"touch-events", flag_descriptions::kTouchEventsName,
1220 flag_descriptions::kTouchEventsDescription, kOsDesktop, 1223 flag_descriptions::kTouchEventsDescription, kOsDesktop,
1221 MULTI_VALUE_TYPE(kTouchEventFeatureDetectionChoices)}, 1224 MULTI_VALUE_TYPE(kTouchEventFeatureDetectionChoices)},
1222 {"disable-touch-adjustment", flag_descriptions::kTouchAdjustmentName, 1225 {"disable-touch-adjustment", flag_descriptions::kTouchAdjustmentName,
(...skipping 1839 matching lines...) Expand 10 before | Expand all | Expand 10 after
3062 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 3065 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
3063 3066
3064 const FeatureEntry* GetFeatureEntries(size_t* count) { 3067 const FeatureEntry* GetFeatureEntries(size_t* count) {
3065 *count = arraysize(kFeatureEntries); 3068 *count = arraysize(kFeatureEntries);
3066 return kFeatureEntries; 3069 return kFeatureEntries;
3067 } 3070 }
3068 3071
3069 } // namespace testing 3072 } // namespace testing
3070 3073
3071 } // namespace about_flags 3074 } // namespace about_flags
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/flag_descriptions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698