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

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

Issue 19197005: Omnibox: Change |inline_autocomplete_offset| to |inline_autocompletion| (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: drop user_text() in omnibox_edit_model Created 7 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 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 fc6774c5d8e10bde74f42f9c611be8d725bb0644..9c542ac0be90a690d60eeab93e30e09e9d0a7528 100644
--- a/chrome/browser/autocomplete/autocomplete_match.cc
+++ b/chrome/browser/autocomplete/autocomplete_match.cc
@@ -43,7 +43,6 @@ AutocompleteMatch::AutocompleteMatch()
relevance(0),
typed_count(-1),
deletable(false),
- inline_autocomplete_offset(string16::npos),
transition(content::PAGE_TRANSITION_GENERATED),
is_history_what_you_typed_match(false),
type(AutocompleteMatchType::SEARCH_WHAT_YOU_TYPED),
@@ -59,7 +58,6 @@ AutocompleteMatch::AutocompleteMatch(AutocompleteProvider* provider,
relevance(relevance),
typed_count(-1),
deletable(deletable),
- inline_autocomplete_offset(string16::npos),
transition(content::PAGE_TRANSITION_TYPED),
is_history_what_you_typed_match(false),
type(type),
@@ -73,7 +71,7 @@ AutocompleteMatch::AutocompleteMatch(const AutocompleteMatch& match)
typed_count(match.typed_count),
deletable(match.deletable),
fill_into_edit(match.fill_into_edit),
- inline_autocomplete_offset(match.inline_autocomplete_offset),
+ inline_autocompletion(match.inline_autocompletion),
destination_url(match.destination_url),
stripped_destination_url(match.stripped_destination_url),
contents(match.contents),
@@ -107,7 +105,7 @@ AutocompleteMatch& AutocompleteMatch::operator=(
typed_count = match.typed_count;
deletable = match.deletable;
fill_into_edit = match.fill_into_edit;
- inline_autocomplete_offset = match.inline_autocomplete_offset;
+ inline_autocompletion = match.inline_autocompletion;
destination_url = match.destination_url;
stripped_destination_url = match.stripped_destination_url;
contents = match.contents;
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_match.h ('k') | chrome/browser/autocomplete/contact_provider_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698