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

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

Issue 2830983005: Remove old webui History page on desktop and mobile (Closed)
Patch Set: merge 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
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 2089 matching lines...) Expand 10 before | Expand all | Expand 10 after
2100 flag_descriptions::kHerbPrototypeChoicesDescription, kOsAndroid, 2100 flag_descriptions::kHerbPrototypeChoicesDescription, kOsAndroid,
2101 MULTI_VALUE_TYPE(kHerbPrototypeChoices)}, 2101 MULTI_VALUE_TYPE(kHerbPrototypeChoices)},
2102 #endif // OS_ANDROID 2102 #endif // OS_ANDROID
2103 {"enable-md-bookmarks", 2103 {"enable-md-bookmarks",
2104 flag_descriptions::kEnableMaterialDesignBookmarksName, 2104 flag_descriptions::kEnableMaterialDesignBookmarksName,
2105 flag_descriptions::kEnableMaterialDesignBookmarksDescription, kOsDesktop, 2105 flag_descriptions::kEnableMaterialDesignBookmarksDescription, kOsDesktop,
2106 FEATURE_VALUE_TYPE(features::kMaterialDesignBookmarks)}, 2106 FEATURE_VALUE_TYPE(features::kMaterialDesignBookmarks)},
2107 {"enable-md-feedback", flag_descriptions::kEnableMaterialDesignFeedbackName, 2107 {"enable-md-feedback", flag_descriptions::kEnableMaterialDesignFeedbackName,
2108 flag_descriptions::kEnableMaterialDesignFeedbackDescription, kOsDesktop, 2108 flag_descriptions::kEnableMaterialDesignFeedbackDescription, kOsDesktop,
2109 SINGLE_VALUE_TYPE(switches::kEnableMaterialDesignFeedback)}, 2109 SINGLE_VALUE_TYPE(switches::kEnableMaterialDesignFeedback)},
2110 {"enable-md-history", flag_descriptions::kEnableMaterialDesignHistoryName,
2111 flag_descriptions::kEnableMaterialDesignHistoryDescription, kOsDesktop,
2112 FEATURE_VALUE_TYPE(features::kMaterialDesignHistory)},
2113 {"enable-md-incognito-ntp", 2110 {"enable-md-incognito-ntp",
2114 flag_descriptions::kMaterialDesignIncognitoNTPName, 2111 flag_descriptions::kMaterialDesignIncognitoNTPName,
2115 flag_descriptions::kMaterialDesignIncognitoNTPDescription, kOsDesktop, 2112 flag_descriptions::kMaterialDesignIncognitoNTPDescription, kOsDesktop,
2116 FEATURE_VALUE_TYPE(features::kMaterialDesignIncognitoNTP)}, 2113 FEATURE_VALUE_TYPE(features::kMaterialDesignIncognitoNTP)},
2117 {"enable-md-settings", flag_descriptions::kEnableMaterialDesignSettingsName, 2114 {"enable-md-settings", flag_descriptions::kEnableMaterialDesignSettingsName,
2118 flag_descriptions::kEnableMaterialDesignSettingsDescription, kOsDesktop, 2115 flag_descriptions::kEnableMaterialDesignSettingsDescription, kOsDesktop,
2119 FEATURE_VALUE_TYPE(features::kMaterialDesignSettings)}, 2116 FEATURE_VALUE_TYPE(features::kMaterialDesignSettings)},
2120 {"safe-search-url-reporting", 2117 {"safe-search-url-reporting",
2121 flag_descriptions::kSafeSearchUrlReportingName, 2118 flag_descriptions::kSafeSearchUrlReportingName,
2122 flag_descriptions::kSafeSearchUrlReportingDescription, kOsAll, 2119 flag_descriptions::kSafeSearchUrlReportingDescription, kOsAll,
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
2177 flag_descriptions::kWebgl2Description, kOsAll, 2174 flag_descriptions::kWebgl2Description, kOsAll,
2178 MULTI_VALUE_TYPE(kEnableWebGL2Choices)}, 2175 MULTI_VALUE_TYPE(kEnableWebGL2Choices)},
2179 {"enable-webfonts-intervention-v2", 2176 {"enable-webfonts-intervention-v2",
2180 flag_descriptions::kEnableWebfontsInterventionName, 2177 flag_descriptions::kEnableWebfontsInterventionName,
2181 flag_descriptions::kEnableWebfontsInterventionDescription, kOsAll, 2178 flag_descriptions::kEnableWebfontsInterventionDescription, kOsAll,
2182 MULTI_VALUE_TYPE(kEnableWebFontsInterventionV2Choices)}, 2179 MULTI_VALUE_TYPE(kEnableWebFontsInterventionV2Choices)},
2183 {"enable-webfonts-intervention-trigger", 2180 {"enable-webfonts-intervention-trigger",
2184 flag_descriptions::kEnableWebfontsInterventionTriggerName, 2181 flag_descriptions::kEnableWebfontsInterventionTriggerName,
2185 flag_descriptions::kEnableWebfontsInterventionTriggerDescription, kOsAll, 2182 flag_descriptions::kEnableWebfontsInterventionTriggerDescription, kOsAll,
2186 SINGLE_VALUE_TYPE(switches::kEnableWebFontsInterventionTrigger)}, 2183 SINGLE_VALUE_TYPE(switches::kEnableWebFontsInterventionTrigger)},
2187 {"enable-grouped-history", flag_descriptions::kEnableGroupedHistoryName,
2188 flag_descriptions::kEnableGroupedHistoryDescription, kOsDesktop,
2189 SINGLE_VALUE_TYPE(switches::kHistoryEnableGroupByDomain)},
2190 {"ssl-version-max", flag_descriptions::kSslVersionMaxName, 2184 {"ssl-version-max", flag_descriptions::kSslVersionMaxName,
2191 flag_descriptions::kSslVersionMaxDescription, kOsAll, 2185 flag_descriptions::kSslVersionMaxDescription, kOsAll,
2192 MULTI_VALUE_TYPE(kSSLVersionMaxChoices)}, 2186 MULTI_VALUE_TYPE(kSSLVersionMaxChoices)},
2193 {"enable-token-binding", flag_descriptions::kEnableTokenBindingName, 2187 {"enable-token-binding", flag_descriptions::kEnableTokenBindingName,
2194 flag_descriptions::kEnableTokenBindingDescription, kOsAll, 2188 flag_descriptions::kEnableTokenBindingDescription, kOsAll,
2195 FEATURE_VALUE_TYPE(features::kTokenBinding)}, 2189 FEATURE_VALUE_TYPE(features::kTokenBinding)},
2196 {"enable-scroll-anchoring", flag_descriptions::kEnableScrollAnchoringName, 2190 {"enable-scroll-anchoring", flag_descriptions::kEnableScrollAnchoringName,
2197 flag_descriptions::kEnableScrollAnchoringDescription, kOsAll, 2191 flag_descriptions::kEnableScrollAnchoringDescription, kOsAll,
2198 FEATURE_VALUE_TYPE(features::kScrollAnchoring)}, 2192 FEATURE_VALUE_TYPE(features::kScrollAnchoring)},
2199 {"disable-audio-support-for-desktop-share", 2193 {"disable-audio-support-for-desktop-share",
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
2574 {"enable-expanded-autofill-credit-card-popup", 2568 {"enable-expanded-autofill-credit-card-popup",
2575 flag_descriptions::kEnableExpandedAutofillCreditCardPopupLayout, 2569 flag_descriptions::kEnableExpandedAutofillCreditCardPopupLayout,
2576 flag_descriptions::kEnableExpandedAutofillCreditCardPopupLayoutDescription, 2570 flag_descriptions::kEnableExpandedAutofillCreditCardPopupLayoutDescription,
2577 kOsAndroid, 2571 kOsAndroid,
2578 FEATURE_WITH_PARAMS_VALUE_TYPE( 2572 FEATURE_WITH_PARAMS_VALUE_TYPE(
2579 autofill::kAutofillCreditCardPopupLayout, 2573 autofill::kAutofillCreditCardPopupLayout,
2580 kAutofillCreditCardPopupLayoutFeatureVariations, 2574 kAutofillCreditCardPopupLayoutFeatureVariations,
2581 // Must be AutofillCreditCardDropdownVariations to prevent DCHECK crash 2575 // Must be AutofillCreditCardDropdownVariations to prevent DCHECK crash
2582 // when the flag is manually enabled in a local build. 2576 // when the flag is manually enabled in a local build.
2583 "AutofillCreditCardDropdownVariations")}, 2577 "AutofillCreditCardDropdownVariations")},
2584 {"native-android-history-manager",
2585 flag_descriptions::kNativeAndroidHistoryManager,
2586 flag_descriptions::kNativeAndroidHistoryManagerDescription, kOsAndroid,
2587 FEATURE_VALUE_TYPE(features::kNativeAndroidHistoryManager)},
2588 #endif // OS_ANDROID 2578 #endif // OS_ANDROID
2589 {"enable-autofill-credit-card-last-used-date-display", 2579 {"enable-autofill-credit-card-last-used-date-display",
2590 flag_descriptions::kEnableAutofillCreditCardLastUsedDateDisplay, 2580 flag_descriptions::kEnableAutofillCreditCardLastUsedDateDisplay,
2591 flag_descriptions::kEnableAutofillCreditCardLastUsedDateDisplayDescription, 2581 flag_descriptions::kEnableAutofillCreditCardLastUsedDateDisplayDescription,
2592 kOsAll, 2582 kOsAll,
2593 FEATURE_WITH_PARAMS_VALUE_TYPE( 2583 FEATURE_WITH_PARAMS_VALUE_TYPE(
2594 autofill::kAutofillCreditCardLastUsedDateDisplay, 2584 autofill::kAutofillCreditCardLastUsedDateDisplay,
2595 kAutofillCreditCardLastUsedDateFeatureVariations, 2585 kAutofillCreditCardLastUsedDateFeatureVariations,
2596 // Must be AutofillCreditCardDropdownVariations to prevent DCHECK crash 2586 // Must be AutofillCreditCardDropdownVariations to prevent DCHECK crash
2597 // when the flag is manually enabled in a local build. 2587 // when the flag is manually enabled in a local build.
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after
3046 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 3036 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
3047 3037
3048 const FeatureEntry* GetFeatureEntries(size_t* count) { 3038 const FeatureEntry* GetFeatureEntries(size_t* count) {
3049 *count = arraysize(kFeatureEntries); 3039 *count = arraysize(kFeatureEntries);
3050 return kFeatureEntries; 3040 return kFeatureEntries;
3051 } 3041 }
3052 3042
3053 } // namespace testing 3043 } // namespace testing
3054 3044
3055 } // namespace about_flags 3045 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698