Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 2971 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2982 {"enable-heap-profiling", flag_descriptions::kEnableHeapProfilingName, | 2982 {"enable-heap-profiling", flag_descriptions::kEnableHeapProfilingName, |
| 2983 flag_descriptions::kEnableHeapProfilingDescription, kOsAll, | 2983 flag_descriptions::kEnableHeapProfilingDescription, kOsAll, |
| 2984 MULTI_VALUE_TYPE(kEnableHeapProfilingChoices)}, | 2984 MULTI_VALUE_TYPE(kEnableHeapProfilingChoices)}, |
| 2985 | 2985 |
| 2986 #if defined(TOOLKIT_VIEWS) || (defined(OS_MACOSX) && !defined(OS_IOS)) | 2986 #if defined(TOOLKIT_VIEWS) || (defined(OS_MACOSX) && !defined(OS_IOS)) |
| 2987 {"show-cert-link", flag_descriptions::kShowCertLinkOnPageInfoName, | 2987 {"show-cert-link", flag_descriptions::kShowCertLinkOnPageInfoName, |
| 2988 flag_descriptions::kShowCertLinkOnPageInfoDescription, kOsDesktop, | 2988 flag_descriptions::kShowCertLinkOnPageInfoDescription, kOsDesktop, |
| 2989 SINGLE_VALUE_TYPE(switches::kShowCertLink)}, | 2989 SINGLE_VALUE_TYPE(switches::kShowCertLink)}, |
| 2990 #endif | 2990 #endif |
| 2991 | 2991 |
| 2992 {"omnibox-ui-hide-suggestion-url-path", | |
| 2993 flag_descriptions::kOmniboxUIHideSuggestionUrlPathName, | |
| 2994 flag_descriptions::kOmniboxUIHideSuggestionUrlPathDescription, kOsDesktop, | |
| 2995 FEATURE_VALUE_TYPE(omnibox::kUIExperimentHideSuggestionUrlPath)}, | |
| 2996 | |
| 2997 {"omnibox-ui-hide-suggestion-url-protocol", | |
| 2998 flag_descriptions::kOmniboxUIHideSuggestionUrlProtocolName, | |
| 2999 flag_descriptions::kOmniboxUIHideSuggestionUrlProtocolDescription, | |
| 3000 kOsDesktop, | |
| 3001 FEATURE_VALUE_TYPE(omnibox::kUIExperimentHideSuggestionUrlProtocol)}, | |
| 3002 | |
| 3003 {"omnibox-ui-hide-suggestion-url-subdomain", | |
| 3004 flag_descriptions::kOmniboxUIHideSuggestionUrlSubdomainName, | |
|
Justin Donnelly
2017/06/13 20:58:12
"Hide subdomain" feels like it's over-specifying w
tommycli
2017/06/13 21:47:09
Done.
| |
| 3005 flag_descriptions::kOmniboxUIHideSuggestionUrlSubdomainDescription, | |
| 3006 kOsDesktop, | |
| 3007 FEATURE_VALUE_TYPE(omnibox::kUIExperimentHideSuggestionUrlSubdomain)}, | |
| 3008 | |
| 2992 {"omnibox-ui-max-autocomplete-matches", | 3009 {"omnibox-ui-max-autocomplete-matches", |
| 2993 flag_descriptions::kOmniboxUIMaxAutocompleteMatchesName, | 3010 flag_descriptions::kOmniboxUIMaxAutocompleteMatchesName, |
| 2994 flag_descriptions::kOmniboxUIMaxAutocompleteMatchesDescription, kOsDesktop, | 3011 flag_descriptions::kOmniboxUIMaxAutocompleteMatchesDescription, kOsDesktop, |
| 2995 FEATURE_WITH_PARAMS_VALUE_TYPE( | 3012 FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 2996 omnibox::kUIExperimentMaxAutocompleteMatches, | 3013 omnibox::kUIExperimentMaxAutocompleteMatches, |
| 2997 kOmniboxUIMaxAutocompleteMatchesVariations, | 3014 kOmniboxUIMaxAutocompleteMatchesVariations, |
| 2998 "OmniboxUIMaxAutocompleteVariations")}, | 3015 "OmniboxUIMaxAutocompleteVariations")}, |
| 2999 | 3016 |
| 3000 {"omnibox-ui-vertical-layout", | 3017 {"omnibox-ui-vertical-layout", |
| 3001 flag_descriptions::kOmniboxUIVerticalLayoutName, | 3018 flag_descriptions::kOmniboxUIVerticalLayoutName, |
| (...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 3290 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 3307 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
| 3291 | 3308 |
| 3292 const FeatureEntry* GetFeatureEntries(size_t* count) { | 3309 const FeatureEntry* GetFeatureEntries(size_t* count) { |
| 3293 *count = arraysize(kFeatureEntries); | 3310 *count = arraysize(kFeatureEntries); |
| 3294 return kFeatureEntries; | 3311 return kFeatureEntries; |
| 3295 } | 3312 } |
| 3296 | 3313 |
| 3297 } // namespace testing | 3314 } // namespace testing |
| 3298 | 3315 |
| 3299 } // namespace about_flags | 3316 } // namespace about_flags |
| OLD | NEW |