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

Unified Diff: Source/web/ChromeClientImpl.cpp

Issue 799893004: [Attempt 2] Inform Chrome client of changes to an input's datalist. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.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 | « Source/web/ChromeClientImpl.h ('k') | public/web/WebAutofillClient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/ChromeClientImpl.cpp
diff --git a/Source/web/ChromeClientImpl.cpp b/Source/web/ChromeClientImpl.cpp
index d98ab12d30fe6d9360f3dd3e4c7e747dd94bc7a2..7bb7839e092c1c83950e2a1d6f0b7292fc02257e 100644
--- a/Source/web/ChromeClientImpl.cpp
+++ b/Source/web/ChromeClientImpl.cpp
@@ -874,4 +874,14 @@ void ChromeClientImpl::openTextDataListChooser(HTMLInputElement& input)
webframe->autofillClient()->openTextDataListChooser(WebInputElement(&input));
}
+void ChromeClientImpl::textFieldDataListChanged(HTMLInputElement& input)
+{
+ // FIXME: remove. See http://crbug.com/425756
+ if (m_webView->autofillClient())
+ m_webView->autofillClient()->dataListOptionsChanged(WebInputElement(&input));
+ WebLocalFrameImpl* webframe = WebLocalFrameImpl::fromFrame(input.document().frame());
+ if (webframe->autofillClient())
+ webframe->autofillClient()->dataListOptionsChanged(WebInputElement(&input));
+}
+
} // namespace blink
« no previous file with comments | « Source/web/ChromeClientImpl.h ('k') | public/web/WebAutofillClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698