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

Unified Diff: public/web/WebAutofillClient.h

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 tkent's comments 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: public/web/WebAutofillClient.h
diff --git a/public/web/WebAutofillClient.h b/public/web/WebAutofillClient.h
index 8b13aa0c156330d76999cbcbbf4797d5bb032231..c956c5bea8f307636c8cf25f9b39f196f4c6b4ad 100644
--- a/public/web/WebAutofillClient.h
+++ b/public/web/WebAutofillClient.h
@@ -33,6 +33,7 @@
namespace blink {
+class WebFormControlElement;
class WebFormElement;
class WebFrame;
class WebInputElement;
@@ -48,7 +49,10 @@ public:
// These methods are called when the users edits a text-field.
virtual void textFieldDidEndEditing(const WebInputElement&) { }
+ // TODO(ziran.sun): This function is to be removed once both chromium and blink changes
tkent 2014/03/05 23:18:39 TODO() -> FIXME
+ // for BUG332557 are in.
virtual void textFieldDidChange(const WebInputElement&) { }
+ virtual void textFieldDidChange(const WebFormControlElement&) { }
virtual void textFieldDidReceiveKeyDown(const WebInputElement&, const WebKeyboardEvent&) { }
// This is called when a datalist indicator is clicked.
virtual void openTextDataListChooser(const WebInputElement&) { }

Powered by Google App Engine
This is Rietveld 408576698