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

Unified Diff: components/autofill/content/renderer/autofill_agent.cc

Issue 798073003: Update autocomplete dropdown when datalist changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 | « components/autofill/content/renderer/autofill_agent.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/content/renderer/autofill_agent.cc
diff --git a/components/autofill/content/renderer/autofill_agent.cc b/components/autofill/content/renderer/autofill_agent.cc
index 02bfd51ab328169b849314e565b89fe6a74c14b6..36f688f348f8fd88c9c816083531da332bb71da7 100644
--- a/components/autofill/content/renderer/autofill_agent.cc
+++ b/components/autofill/content/renderer/autofill_agent.cc
@@ -449,6 +449,13 @@ void AutofillAgent::openTextDataListChooser(const WebInputElement& element) {
ShowSuggestions(element, options);
}
+void AutofillAgent::dataListOptionsChanged(const WebInputElement& element) {
+ if (!is_popup_possibly_visible_ || !element.focused())
+ return;
+
+ TextFieldDidChangeImpl(element);
+}
+
void AutofillAgent::firstUserGestureObserved() {
password_autofill_agent_->FirstUserGestureObserved();
Send(new AutofillHostMsg_FirstUserGestureObserved(routing_id()));
« no previous file with comments | « components/autofill/content/renderer/autofill_agent.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698