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

Unified Diff: chrome/browser/autocomplete/keyword_provider.h

Issue 18878007: Omnibox: Make the Controller Reorder Matches for Inlining (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/autocomplete/keyword_provider.h
diff --git a/chrome/browser/autocomplete/keyword_provider.h b/chrome/browser/autocomplete/keyword_provider.h
index 7e582b44052ffd2a5ec6a15c69ec1a1847a66509..d66f9c96d2e97f17889611daa77c78d16eb53dbb 100644
--- a/chrome/browser/autocomplete/keyword_provider.h
+++ b/chrome/browser/autocomplete/keyword_provider.h
@@ -84,9 +84,9 @@ class KeywordProvider : public AutocompleteProvider,
string16 GetKeywordForText(const string16& text) const;
// Creates a fully marked-up AutocompleteMatch for a specific keyword.
- AutocompleteMatch CreateAutocompleteMatch(const string16& text,
- const string16& keyword,
- const AutocompleteInput& input);
+ AutocompleteMatch CreateVerbatimMatch(const string16& text,
+ const string16& keyword,
+ const AutocompleteInput& input);
// AutocompleteProvider:
virtual void Start(const AutocompleteInput& input,
@@ -127,6 +127,7 @@ class KeywordProvider : public AutocompleteProvider,
const AutocompleteInput& input,
size_t prefix_length,
const string16& remaining_input,
+ bool allowed_to_be_default_match,
int relevance);
// Fills in the "destination_url" and "contents" fields of |match| with the
« no previous file with comments | « chrome/browser/autocomplete/history_url_provider_unittest.cc ('k') | chrome/browser/autocomplete/keyword_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698