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

Unified Diff: components/omnibox/browser/autocomplete_input.cc

Issue 2738003002: Add title to current page in zero suggest. (Closed)
Patch Set: Change the place where the title is added and some suggested renaming. Created 3 years, 8 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: components/omnibox/browser/autocomplete_input.cc
diff --git a/components/omnibox/browser/autocomplete_input.cc b/components/omnibox/browser/autocomplete_input.cc
index a39d823b81e7648e00519e97eefbb15f40e46449..6cd549f7507239e40519d1cd7e1eb4e44314a93e 100644
--- a/components/omnibox/browser/autocomplete_input.cc
+++ b/components/omnibox/browser/autocomplete_input.cc
@@ -80,6 +80,7 @@ AutocompleteInput::AutocompleteInput(
size_t cursor_position,
const std::string& desired_tld,
const GURL& current_url,
+ const base::string16& current_title,
metrics::OmniboxEventProto::PageClassification current_page_classification,
bool prevent_inline_autocomplete,
bool prefer_keyword,
@@ -89,6 +90,7 @@ AutocompleteInput::AutocompleteInput(
const AutocompleteSchemeClassifier& scheme_classifier)
: cursor_position_(cursor_position),
current_url_(current_url),
+ current_title_(current_title),
current_page_classification_(current_page_classification),
prevent_inline_autocomplete_(prevent_inline_autocomplete),
prefer_keyword_(prefer_keyword),

Powered by Google App Engine
This is Rietveld 408576698