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

Unified Diff: third_party/WebKit/Source/core/html/HTMLTextFormControlElement.h

Issue 1955963002: [Autofill] Send events to fields being autofilled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: third_party/WebKit/Source/core/html/HTMLTextFormControlElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLTextFormControlElement.h b/third_party/WebKit/Source/core/html/HTMLTextFormControlElement.h
index 5d69b4e0ce3cdf38475de935e47474302e1c738c..ef93ccc896ea4ed98caa5433643da279e133c814 100644
--- a/third_party/WebKit/Source/core/html/HTMLTextFormControlElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLTextFormControlElement.h
@@ -87,6 +87,8 @@ public:
void setAutocapitalize(const AtomicString&);
void dispatchFormControlChangeEvent() final;
+ void dispatchFocusEvent(Element* oldFocusedElement, WebFocusType, InputDeviceCapabilities* sourceCapabilities) final;
+ void dispatchBlurEvent(Element* newFocusedElement, WebFocusType, InputDeviceCapabilities* sourceCapabilities) final;
virtual String value() const = 0;
virtual void setValue(const String&, TextFieldEventBehavior = DispatchNoEvent) = 0;
@@ -143,8 +145,6 @@ private:
int computeSelectionEnd() const;
TextFieldSelectionDirection computeSelectionDirection() const;
- void dispatchFocusEvent(Element* oldFocusedElement, WebFocusType, InputDeviceCapabilities* sourceCapabilities) final;
- void dispatchBlurEvent(Element* newFocusedElement, WebFocusType, InputDeviceCapabilities* sourceCapabilities) final;
void scheduleSelectEvent();
// Returns true if user-editable value is empty. Used to check placeholder visibility.

Powered by Google App Engine
This is Rietveld 408576698