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

Unified Diff: public/web/WebFormControlElement.h

Issue 215903003: Autofill/rAc: dispatch "input" events when changing text contents of <textarea>, (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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/WebFormControlElement.h
diff --git a/public/web/WebFormControlElement.h b/public/web/WebFormControlElement.h
index bb5733d6722103b88c935144e12588fa2ab97851..d5aa670a5ed2ab06ff4cbf253760e63b1c22959d 100644
--- a/public/web/WebFormControlElement.h
+++ b/public/web/WebFormControlElement.h
@@ -60,6 +60,7 @@ public:
BLINK_EXPORT WebString formControlType() const;
BLINK_EXPORT void dispatchFormControlChangeEvent();
+ BLINK_EXPORT void dispatchFormControlInputEvent();
tkent 2014/03/28 01:50:33 Why do we need to expose it? setValue(..., true)
Dan Beam 2014/03/28 04:50:57 Done.
BLINK_EXPORT bool isAutofilled() const;
BLINK_EXPORT void setAutofilled(bool);
@@ -70,7 +71,7 @@ public:
// Sets value for input element, textarea element and select element. For select
// element it finds the option with value matches the given parameter and make the
// option as the current selection.
- BLINK_EXPORT void setValue(const WebString&, bool sendChangeEvent = false);
+ BLINK_EXPORT void setValue(const WebString&, bool sendEvents = false);
// Returns value of element. For select element, it returns the value of
// the selected option if present. If no selected option, an empty string
// is returned. If element doesn't fall into input element, textarea element

Powered by Google App Engine
This is Rietveld 408576698