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

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

Issue 2914163004: Omnibox UI Experiments: Make suggestions dropdown match omnibox width. (Closed)
Patch Set: Merge remote-tracking branch 'refs/remotes/origin/master' into 024-omnibox-width-views Created 3 years, 6 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 2978 matching lines...) Expand 10 before | Expand all | Expand 10 after
2989 FEATURE_WITH_PARAMS_VALUE_TYPE( 2989 FEATURE_WITH_PARAMS_VALUE_TYPE(
2990 omnibox::kUIExperimentMaxAutocompleteMatches, 2990 omnibox::kUIExperimentMaxAutocompleteMatches,
2991 kOmniboxUIMaxAutocompleteMatchesVariations, 2991 kOmniboxUIMaxAutocompleteMatchesVariations,
2992 "OmniboxUIMaxAutocompleteVariations")}, 2992 "OmniboxUIMaxAutocompleteVariations")},
2993 2993
2994 {"omnibox-ui-vertical-layout", 2994 {"omnibox-ui-vertical-layout",
2995 flag_descriptions::kOmniboxUIVerticalLayoutName, 2995 flag_descriptions::kOmniboxUIVerticalLayoutName,
2996 flag_descriptions::kOmniboxUIVerticalLayoutDescription, kOsDesktop, 2996 flag_descriptions::kOmniboxUIVerticalLayoutDescription, kOsDesktop,
2997 FEATURE_VALUE_TYPE(omnibox::kUIExperimentVerticalLayout)}, 2997 FEATURE_VALUE_TYPE(omnibox::kUIExperimentVerticalLayout)},
2998 2998
2999 {"omnibox-ui-narrow-dropdown",
3000 flag_descriptions::kOmniboxUINarrowDropdownName,
3001 flag_descriptions::kOmniboxUINarrowDropdownDescription, kOsDesktop,
3002 FEATURE_VALUE_TYPE(omnibox::kUIExperimentNarrowDropdown)},
3003
2999 {"omnibox-ui-vertical-margin", 3004 {"omnibox-ui-vertical-margin",
3000 flag_descriptions::kOmniboxUIVerticalMarginName, 3005 flag_descriptions::kOmniboxUIVerticalMarginName,
3001 flag_descriptions::kOmniboxUIVerticalMarginDescription, kOsDesktop, 3006 flag_descriptions::kOmniboxUIVerticalMarginDescription, kOsDesktop,
3002 FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kUIExperimentVerticalMargin, 3007 FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kUIExperimentVerticalMargin,
3003 kOmniboxUIVerticalMarginVariations, 3008 kOmniboxUIVerticalMarginVariations,
3004 "OmniboxUIVerticalMarginVariations")}, 3009 "OmniboxUIVerticalMarginVariations")},
3005 3010
3006 {"use-suggestions-even-if-few", 3011 {"use-suggestions-even-if-few",
3007 flag_descriptions::kUseSuggestionsEvenIfFewFeatureName, 3012 flag_descriptions::kUseSuggestionsEvenIfFewFeatureName,
3008 flag_descriptions::kUseSuggestionsEvenIfFewFeatureDescription, kOsAll, 3013 flag_descriptions::kUseSuggestionsEvenIfFewFeatureDescription, kOsAll,
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
3272 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 3277 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
3273 3278
3274 const FeatureEntry* GetFeatureEntries(size_t* count) { 3279 const FeatureEntry* GetFeatureEntries(size_t* count) {
3275 *count = arraysize(kFeatureEntries); 3280 *count = arraysize(kFeatureEntries);
3276 return kFeatureEntries; 3281 return kFeatureEntries;
3277 } 3282 }
3278 3283
3279 } // namespace testing 3284 } // namespace testing
3280 3285
3281 } // namespace about_flags 3286 } // 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