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

Side by Side Diff: chrome/browser/autocomplete/autocomplete_field_trial.h

Issue 11757004: Omnibox: Add Mid-Input Matching to HistoryQuick Provider (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo in comment Created 7 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/autocomplete/autocomplete_field_trial.cc » ('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 #ifndef CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_FIELD_TRIAL_H_ 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_FIELD_TRIAL_H_
6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_FIELD_TRIAL_H_ 6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_FIELD_TRIAL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 // field trial. 104 // field trial.
105 105
106 // Returns whether the user is in any group for this field trial. 106 // Returns whether the user is in any group for this field trial.
107 // (Should always be true unless initialization went wrong.) 107 // (Should always be true unless initialization went wrong.)
108 static bool InHQPOnlyCountMatchesAtWordBoundariesFieldTrial(); 108 static bool InHQPOnlyCountMatchesAtWordBoundariesFieldTrial();
109 109
110 // Returns whether we should ignore all mid-word matches in 110 // Returns whether we should ignore all mid-word matches in
111 // HistoryQuick provider. 111 // HistoryQuick provider.
112 static bool InHQPOnlyCountMatchesAtWordBoundariesFieldTrialExperimentGroup(); 112 static bool InHQPOnlyCountMatchesAtWordBoundariesFieldTrialExperimentGroup();
113 113
114 // ---------------------------------------------------------
115 // For the HistoryQuick provider use cursor position field trial.
116
117 // Returns whether the user is in any group for this field trial.
118 // (Should always be true unless initialization went wrong.)
119 static bool InHQPUseCursorPositionFieldTrial();
120
121 // Returns whether HistoryQuick provider should allow breaking the
122 // omnibox input string at cursor position.
123 static bool InHQPUseCursorPositionFieldTrialExperimentGroup();
124
114 private: 125 private:
115 DISALLOW_IMPLICIT_CONSTRUCTORS(AutocompleteFieldTrial); 126 DISALLOW_IMPLICIT_CONSTRUCTORS(AutocompleteFieldTrial);
116 }; 127 };
117 128
118 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_FIELD_TRIAL_H_ 129 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_FIELD_TRIAL_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/autocomplete/autocomplete_field_trial.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698