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

Unified Diff: Source/web/ChromeClientImpl.cpp

Issue 133443011: Add text field change handling for autofill preview in textarea element. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update code as per review comments from tkent and jamesr Created 6 years, 10 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: Source/web/ChromeClientImpl.cpp
diff --git a/Source/web/ChromeClientImpl.cpp b/Source/web/ChromeClientImpl.cpp
index 47efada7eef3593699f8a5f7d2907756119c66e0..23028366aaf8dfe84a64e583e325c10f13e61982 100644
--- a/Source/web/ChromeClientImpl.cpp
+++ b/Source/web/ChromeClientImpl.cpp
@@ -910,11 +910,11 @@ void ChromeClientImpl::forwardInputEvent(
}
}
-void ChromeClientImpl::didChangeValueInTextField(HTMLInputElement& inputElement)
+void ChromeClientImpl::didChangeValueInTextField(HTMLFormControlElement& element)
{
if (!m_webView->autofillClient())
return;
- m_webView->autofillClient()->textFieldDidChange(WebInputElement(&inputElement));
+ m_webView->autofillClient()->textFieldDidChange(WebFormControlElement(&element));
tkent 2014/03/04 23:43:58 Please call textFieldDidChange(WebInputElement(...
ziran.sun 2014/03/05 14:29:02 Done.
}
void ChromeClientImpl::didEndEditingOnTextField(HTMLInputElement& inputElement)

Powered by Google App Engine
This is Rietveld 408576698