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

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

Issue 836213002: Assume all providers may give zero suggest responses. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: A style fix Created 5 years, 11 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/bookmark_provider.cc
diff --git a/chrome/browser/autocomplete/bookmark_provider.cc b/chrome/browser/autocomplete/bookmark_provider.cc
index b465cba359e42e4ef082885862dc0dbe8884239f..40d63b20647cf77e5bdb77af8cd92786cd2895d0 100644
--- a/chrome/browser/autocomplete/bookmark_provider.cc
+++ b/chrome/browser/autocomplete/bookmark_provider.cc
@@ -65,8 +65,9 @@ BookmarkProvider::BookmarkProvider(Profile* profile)
}
void BookmarkProvider::Start(const AutocompleteInput& input,
- bool minimal_changes) {
- if (minimal_changes)
+ bool minimal_changes,
+ bool on_focus) {
+ if (minimal_changes || on_focus)
Peter Kasting 2015/01/07 20:16:36 This isn't equivalent to the previous behavior, wh
Maria 2015/01/08 07:52:38 Done.
return;
matches_.clear();

Powered by Google App Engine
This is Rietveld 408576698