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

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

Issue 11740033: [Autofill] Add Mac implementation for the in-browser process popup view. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Flipped view, broken out mouse events, style fixes. Created 7 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/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 6473184eadf65474d343151d4f7d8ea8de7e3194..f1eafa70673fdf21ee99b7323aa1822b2c684237 100644
--- a/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc
+++ b/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc
@@ -191,6 +191,8 @@ int AutofillPopupControllerImpl::GetIconResourceID(
}
bool AutofillPopupControllerImpl::CanDelete(size_t index) {
+ // TODO(isherman): AddressBook suggestions on Mac should not be drawn as
+ // deleteable.
int id = identifiers_[index];
return id > 0 ||
id == WebAutofillClient::MenuItemIDAutocompleteEntry ||

Powered by Google App Engine
This is Rietveld 408576698