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

Side by Side Diff: components/omnibox/browser/omnibox_field_trial.h

Issue 2961393002: Omnibox UI Experiments: Hook up elide-after-host feature flag. (Closed)
Patch Set: fix 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef COMPONENTS_OMNIBOX_BROWSER_OMNIBOX_FIELD_TRIAL_H_ 5 #ifndef COMPONENTS_OMNIBOX_BROWSER_OMNIBOX_FIELD_TRIAL_H_
6 #define COMPONENTS_OMNIBOX_BROWSER_OMNIBOX_FIELD_TRIAL_H_ 6 #define COMPONENTS_OMNIBOX_BROWSER_OMNIBOX_FIELD_TRIAL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 17 matching lines...) Expand all
28 extern const base::Feature kOmniboxEntitySuggestions; 28 extern const base::Feature kOmniboxEntitySuggestions;
29 extern const base::Feature kOmniboxTailSuggestions; 29 extern const base::Feature kOmniboxTailSuggestions;
30 extern const base::Feature kEnableClipboardProvider; 30 extern const base::Feature kEnableClipboardProvider;
31 extern const base::Feature kAndroidFakeboxDemotion; 31 extern const base::Feature kAndroidFakeboxDemotion;
32 extern const base::Feature kAndroidFakeboxDemotionOnPhones; 32 extern const base::Feature kAndroidFakeboxDemotionOnPhones;
33 extern const base::Feature kSearchProviderWarmUpOnFocus; 33 extern const base::Feature kSearchProviderWarmUpOnFocus;
34 extern const base::Feature kSearchProviderContextAllowHttpsUrls; 34 extern const base::Feature kSearchProviderContextAllowHttpsUrls;
35 extern const base::Feature kZeroSuggestRedirectToChrome; 35 extern const base::Feature kZeroSuggestRedirectToChrome;
36 extern const base::Feature kZeroSuggestSwapTitleAndUrl; 36 extern const base::Feature kZeroSuggestSwapTitleAndUrl;
37 extern const base::Feature kDisplayTitleForCurrentUrl; 37 extern const base::Feature kDisplayTitleForCurrentUrl;
38 extern const base::Feature kUIExperimentHideSuggestionUrlPath; 38 extern const base::Feature kUIExperimentElideSuggestionUrlAfterHost;
Mark P 2017/07/05 18:38:45 As near as I can tell, you checked in this declara
tommycli 2017/07/05 19:38:26 Hey... I wasn't able to grok your question -- do y
Mark P 2017/07/05 19:43:24 You answered my question. :-) It was a placeholde
39 extern const base::Feature kUIExperimentHideSuggestionUrlScheme; 39 extern const base::Feature kUIExperimentHideSuggestionUrlScheme;
40 extern const base::Feature kUIExperimentHideSuggestionUrlTrivialSubdomains; 40 extern const base::Feature kUIExperimentHideSuggestionUrlTrivialSubdomains;
41 extern const base::Feature kUIExperimentMaxAutocompleteMatches; 41 extern const base::Feature kUIExperimentMaxAutocompleteMatches;
42 extern const base::Feature kUIExperimentNarrowDropdown; 42 extern const base::Feature kUIExperimentNarrowDropdown;
43 extern const base::Feature kUIExperimentVerticalLayout; 43 extern const base::Feature kUIExperimentVerticalLayout;
44 extern const base::Feature kUIExperimentVerticalMargin; 44 extern const base::Feature kUIExperimentVerticalMargin;
45 } 45 }
46 46
47 // The set of parameters customizing the HUP scoring. 47 // The set of parameters customizing the HUP scoring.
48 struct HUPScoringParams { 48 struct HUPScoringParams {
(...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after
547 // prioritize different wildcard contexts, see the implementation. How to 547 // prioritize different wildcard contexts, see the implementation. How to
548 // interpret the value is left to the caller; this is rule-dependent. 548 // interpret the value is left to the caller; this is rule-dependent.
549 static std::string GetValueForRuleInContext( 549 static std::string GetValueForRuleInContext(
550 const std::string& rule, 550 const std::string& rule,
551 metrics::OmniboxEventProto::PageClassification page_classification); 551 metrics::OmniboxEventProto::PageClassification page_classification);
552 552
553 DISALLOW_IMPLICIT_CONSTRUCTORS(OmniboxFieldTrial); 553 DISALLOW_IMPLICIT_CONSTRUCTORS(OmniboxFieldTrial);
554 }; 554 };
555 555
556 #endif // COMPONENTS_OMNIBOX_BROWSER_OMNIBOX_FIELD_TRIAL_H_ 556 #endif // COMPONENTS_OMNIBOX_BROWSER_OMNIBOX_FIELD_TRIAL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698