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

Unified Diff: chrome/browser/ui/omnibox/omnibox_controller.cc

Issue 22364007: AutocompleteInput::PageClassification -> AutocompleteInput::OmniboxContext. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/ui/omnibox/omnibox_controller.cc
diff --git a/chrome/browser/ui/omnibox/omnibox_controller.cc b/chrome/browser/ui/omnibox/omnibox_controller.cc
index 31ae5e59ecfbe6f7a40cefae391a6c1ce5ead5b8..54d57742ef81f1190063e0f94e42682d20cd5d05 100644
--- a/chrome/browser/ui/omnibox/omnibox_controller.cc
+++ b/chrome/browser/ui/omnibox/omnibox_controller.cc
@@ -40,7 +40,7 @@ void OmniboxController::StartAutocomplete(
string16 user_text,
size_t cursor_position,
const GURL& current_url,
- AutocompleteInput::PageClassification current_page_classification,
+ AutocompleteInput::OmniboxContext omnibox_context,
bool prevent_inline_autocomplete,
bool prefer_keyword,
bool allow_exact_keyword_match,
@@ -57,7 +57,7 @@ void OmniboxController::StartAutocomplete(
// Start ends up invoking OmniboxPopupModel::OnResultChanged which clears it.
autocomplete_controller_->Start(AutocompleteInput(
user_text, cursor_position, string16(), current_url,
- current_page_classification, prevent_inline_autocomplete,
+ omnibox_context, prevent_inline_autocomplete,
prefer_keyword, allow_exact_keyword_match,
AutocompleteInput::ALL_MATCHES));
}

Powered by Google App Engine
This is Rietveld 408576698