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

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..81c170daad37ed1373349e4e4c1b83d25ca006fa 100644
--- a/chrome/browser/autocomplete/keyword_provider.h
+++ b/chrome/browser/autocomplete/keyword_provider.h
@@ -84,7 +84,7 @@ 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,
+ AutocompleteMatch CreateWhatYouTypedMatch(const string16& text,
msw 2013/08/10 17:32:18 nit: I'll always favor Verbatim over WhatYouTyped,
Mark P 2013/08/11 03:22:48 Done.
const string16& keyword,
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

Powered by Google App Engine
This is Rietveld 408576698