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

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

Issue 2961393002: Omnibox UI Experiments: Hook up elide-after-host feature flag. (Closed)
Patch Set: merge Created 3 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 | « 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 3000 matching lines...) Expand 10 before | Expand all | Expand 10 after
3011 {"enable-heap-profiling", flag_descriptions::kEnableHeapProfilingName, 3011 {"enable-heap-profiling", flag_descriptions::kEnableHeapProfilingName,
3012 flag_descriptions::kEnableHeapProfilingDescription, kOsAll, 3012 flag_descriptions::kEnableHeapProfilingDescription, kOsAll,
3013 MULTI_VALUE_TYPE(kEnableHeapProfilingChoices)}, 3013 MULTI_VALUE_TYPE(kEnableHeapProfilingChoices)},
3014 3014
3015 #if defined(TOOLKIT_VIEWS) || defined(OS_MACOSX) 3015 #if defined(TOOLKIT_VIEWS) || defined(OS_MACOSX)
3016 {"show-cert-link", flag_descriptions::kShowCertLinkOnPageInfoName, 3016 {"show-cert-link", flag_descriptions::kShowCertLinkOnPageInfoName,
3017 flag_descriptions::kShowCertLinkOnPageInfoDescription, kOsDesktop, 3017 flag_descriptions::kShowCertLinkOnPageInfoDescription, kOsDesktop,
3018 SINGLE_VALUE_TYPE(switches::kShowCertLink)}, 3018 SINGLE_VALUE_TYPE(switches::kShowCertLink)},
3019 #endif 3019 #endif
3020 3020
3021 {"omnibox-ui-hide-suggestion-url-path", 3021 {"omnibox-ui-elide-suggestion-url-after-host",
3022 flag_descriptions::kOmniboxUIHideSuggestionUrlPathName, 3022 flag_descriptions::kOmniboxUIElideSuggestionUrlAfterHostName,
3023 flag_descriptions::kOmniboxUIHideSuggestionUrlPathDescription, kOsDesktop, 3023 flag_descriptions::kOmniboxUIElideSuggestionUrlAfterHostDescription,
3024 FEATURE_VALUE_TYPE(omnibox::kUIExperimentHideSuggestionUrlPath)}, 3024 kOsDesktop,
3025 FEATURE_VALUE_TYPE(omnibox::kUIExperimentElideSuggestionUrlAfterHost)},
3025 3026
3026 {"omnibox-ui-hide-suggestion-url-scheme", 3027 {"omnibox-ui-hide-suggestion-url-scheme",
3027 flag_descriptions::kOmniboxUIHideSuggestionUrlSchemeName, 3028 flag_descriptions::kOmniboxUIHideSuggestionUrlSchemeName,
3028 flag_descriptions::kOmniboxUIHideSuggestionUrlSchemeDescription, 3029 flag_descriptions::kOmniboxUIHideSuggestionUrlSchemeDescription,
3029 kOsDesktop, 3030 kOsDesktop,
3030 FEATURE_VALUE_TYPE(omnibox::kUIExperimentHideSuggestionUrlScheme)}, 3031 FEATURE_VALUE_TYPE(omnibox::kUIExperimentHideSuggestionUrlScheme)},
3031 3032
3032 {"omnibox-ui-hide-suggestion-url-trivial-subdomains", 3033 {"omnibox-ui-hide-suggestion-url-trivial-subdomains",
3033 flag_descriptions::kOmniboxUIHideSuggestionUrlTrivialSubdomainsName, 3034 flag_descriptions::kOmniboxUIHideSuggestionUrlTrivialSubdomainsName,
3034 flag_descriptions::kOmniboxUIHideSuggestionUrlTrivialSubdomainsDescription, 3035 flag_descriptions::kOmniboxUIHideSuggestionUrlTrivialSubdomainsDescription,
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
3355 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 3356 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
3356 3357
3357 const FeatureEntry* GetFeatureEntries(size_t* count) { 3358 const FeatureEntry* GetFeatureEntries(size_t* count) {
3358 *count = arraysize(kFeatureEntries); 3359 *count = arraysize(kFeatureEntries);
3359 return kFeatureEntries; 3360 return kFeatureEntries;
3360 } 3361 }
3361 3362
3362 } // namespace testing 3363 } // namespace testing
3363 3364
3364 } // namespace about_flags 3365 } // 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