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

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

Issue 1855423003: Interpret '?' and Ctrl-K or Ctrl-E as putting omnibox in keyword search mode for Default Search Pro… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase, make '?' enter keyword mode on nonempty inputs Created 4 years, 7 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/bookmark_provider.cc
diff --git a/components/omnibox/browser/bookmark_provider.cc b/components/omnibox/browser/bookmark_provider.cc
index d61f11b6ceed6ea99de2ded7835bfc0e620bba1c..5068690db9765924cd2103e47448aa4ecc89011b 100644
--- a/components/omnibox/browser/bookmark_provider.cc
+++ b/components/omnibox/browser/bookmark_provider.cc
@@ -66,8 +66,7 @@ void BookmarkProvider::Start(const AutocompleteInput& input,
return;
matches_.clear();
- if (input.from_omnibox_focus() || input.text().empty() ||
- (input.type() == metrics::OmniboxInputType::FORCED_QUERY))
+ if (input.from_omnibox_focus() || input.text().empty())
return;
DoAutocomplete(input);

Powered by Google App Engine
This is Rietveld 408576698