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

Unified Diff: webkit/glue/webpasswordautocompletelistener_impl.cc

Issue 3071003: AutoFill: Display a right-aligned generic CC icon in the suggestions popup for (Closed)
Patch Set: Rebase. Created 10 years, 5 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
« no previous file with comments | « webkit/glue/webkitclient_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webpasswordautocompletelistener_impl.cc
diff --git a/webkit/glue/webpasswordautocompletelistener_impl.cc b/webkit/glue/webpasswordautocompletelistener_impl.cc
index 6f6e7540e3a89f96aef6139227007cc35532a202..c3aaca87a0a4b34e287d40e9d69eeb6bbdbe2073 100644
--- a/webkit/glue/webpasswordautocompletelistener_impl.cc
+++ b/webkit/glue/webpasswordautocompletelistener_impl.cc
@@ -59,15 +59,18 @@ void WebInputElementDelegate::RefreshAutofillPopup(
if (webview) {
std::vector<string16> names;
std::vector<string16> labels;
+ std::vector<string16> icons;
std::vector<int> unique_ids;
for (size_t i = 0; i < suggestions.size(); ++i) {
names.push_back(suggestions[i]);
labels.push_back(string16());
+ icons.push_back(string16());
unique_ids.push_back(0);
}
- webview->applyAutoFillSuggestions(element_, names, labels, unique_ids, -1);
+ webview->applyAutoFillSuggestions(
+ element_, names, labels, icons, unique_ids, -1);
}
}
« no previous file with comments | « webkit/glue/webkitclient_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698