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

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: 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 51dfa2c97c78619911872adeb6681c208b479c0c..ddfffbf0d940ca22de994fb3fe023762c3f2cbcb 100644
--- a/Source/web/ChromeClientImpl.cpp
+++ b/Source/web/ChromeClientImpl.cpp
@@ -999,11 +999,13 @@ void ChromeClientImpl::forwardInputEvent(
}
}
-void ChromeClientImpl::didChangeValueInTextField(HTMLInputElement& inputElement)
+void ChromeClientImpl::didChangeValueInTextField(
+ HTMLFormControlElement& element)
tkent 2014/02/06 00:05:45 You don't need to wrap the line.
ziran.sun 2014/02/06 10:32:17 Done.
{
if (!m_webView->autofillClient())
return;
- m_webView->autofillClient()->textFieldDidChange(WebInputElement(&inputElement));
+ m_webView->autofillClient()->textFieldDidChange(
tkent 2014/02/06 00:05:45 Ditto.
ziran.sun 2014/02/06 10:32:17 Done.
+ WebFormControlElement(&element));
}
void ChromeClientImpl::didEndEditingOnTextField(HTMLInputElement& inputElement)

Powered by Google App Engine
This is Rietveld 408576698