Index: Source/core/html/HTMLTextFormControlElement.h |
diff --git a/Source/core/html/HTMLTextFormControlElement.h b/Source/core/html/HTMLTextFormControlElement.h |
index e27eabcf5a3ad2b1c1a7b4c4d34982ab353d83d2..bc130b0ff2a64b9320ffffd23df44b121aaefee0 100644 |
--- a/Source/core/html/HTMLTextFormControlElement.h |
+++ b/Source/core/html/HTMLTextFormControlElement.h |
@@ -133,6 +133,7 @@ private: |
virtual void dispatchFocusEvent(Element* oldFocusedElement, FocusType) OVERRIDE FINAL; |
virtual void dispatchBlurEvent(Element* newFocusedElement) OVERRIDE FINAL; |
+ virtual void dispatchFocusInEvent(const AtomicString& eventType, Element* oldFocusedElement, FocusType) OVERRIDE FINAL; |
// Returns true if user-editable value is empty. Used to check placeholder visibility. |
virtual bool isEmptyValue() const = 0; |
@@ -142,6 +143,8 @@ private: |
virtual void handleFocusEvent(Element* /* oldFocusedNode */, FocusType) { } |
// Called in dispatchBlurEvent(), after placeholder process, before calling parent's dispatchBlurEvent(). |
virtual void handleBlurEvent() { } |
+ // Called in dispatchFocusInEvent(), before calling parent's dispatchFocusInEvent(). |
+ virtual void handleFocusInEvent(Element* /* oldFocusedNode */, FocusType) { } |
String m_textAsOfLastFormControlChangeEvent; |
bool m_lastChangeWasUserEdit; |