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

Unified Diff: chrome/browser/ui/autofill/autofill_popup_controller_impl.cc

Issue 575283003: mac: Don't show access Address Book prompt if user has any Autofill state. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix another unit test. Fix some broken (unused) logic in that unit test. Created 6 years, 3 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/autofill/autofill_popup_controller_impl.cc
diff --git a/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc b/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc
index ae0a5f29771f936724431102b85990b3476c863d..b9458b8a2df0766cc3b952086cf88255c39be762 100644
--- a/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc
+++ b/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc
@@ -530,7 +530,8 @@ bool AutofillPopupControllerImpl::HasSuggestions() {
(identifiers_[0] > 0 ||
identifiers_[0] == POPUP_ITEM_ID_AUTOCOMPLETE_ENTRY ||
identifiers_[0] == POPUP_ITEM_ID_PASSWORD_ENTRY ||
- identifiers_[0] == POPUP_ITEM_ID_DATALIST_ENTRY);
+ identifiers_[0] == POPUP_ITEM_ID_DATALIST_ENTRY ||
+ identifiers_[0] == POPUP_ITEM_ID_MAC_ACCESS_CONTACTS);
}
void AutofillPopupControllerImpl::SetValues(

Powered by Google App Engine
This is Rietveld 408576698