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

Unified Diff: chrome/browser/autocomplete/autocomplete_match.cc

Issue 18878007: Omnibox: Make the Controller Reorder Matches for Inlining (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Lacks -> has 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/autocomplete_match.cc
diff --git a/chrome/browser/autocomplete/autocomplete_match.cc b/chrome/browser/autocomplete/autocomplete_match.cc
index c446757f75d1505b5fc88c2264eb8c44c25a19c3..ca6cb7d0538e71ca547ae4b1b86bc02072b54666 100644
--- a/chrome/browser/autocomplete/autocomplete_match.cc
+++ b/chrome/browser/autocomplete/autocomplete_match.cc
@@ -43,6 +43,7 @@ AutocompleteMatch::AutocompleteMatch()
relevance(0),
typed_count(-1),
deletable(false),
+ allowed_to_be_default_match(false),
transition(content::PAGE_TRANSITION_GENERATED),
is_history_what_you_typed_match(false),
type(AutocompleteMatchType::SEARCH_WHAT_YOU_TYPED),
@@ -58,6 +59,7 @@ AutocompleteMatch::AutocompleteMatch(AutocompleteProvider* provider,
relevance(relevance),
typed_count(-1),
deletable(deletable),
+ allowed_to_be_default_match(false),
transition(content::PAGE_TRANSITION_TYPED),
is_history_what_you_typed_match(false),
type(type),
@@ -72,6 +74,7 @@ AutocompleteMatch::AutocompleteMatch(const AutocompleteMatch& match)
deletable(match.deletable),
fill_into_edit(match.fill_into_edit),
inline_autocompletion(match.inline_autocompletion),
+ allowed_to_be_default_match(match.allowed_to_be_default_match),
destination_url(match.destination_url),
stripped_destination_url(match.stripped_destination_url),
contents(match.contents),
@@ -106,6 +109,7 @@ AutocompleteMatch& AutocompleteMatch::operator=(
deletable = match.deletable;
fill_into_edit = match.fill_into_edit;
inline_autocompletion = match.inline_autocompletion;
+ allowed_to_be_default_match = match.allowed_to_be_default_match;
destination_url = match.destination_url;
stripped_destination_url = match.stripped_destination_url;
contents = match.contents;

Powered by Google App Engine
This is Rietveld 408576698