Chromium Code Reviews| Index: Source/core/html/HTMLInputElement.cpp |
| diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp |
| index 253c04bd2f005c3d7b92a0c8d353b10a9c39e963..47072cdf537590ad4f4b121248b7a37ab931881c 100644 |
| --- a/Source/core/html/HTMLInputElement.cpp |
| +++ b/Source/core/html/HTMLInputElement.cpp |
| @@ -388,6 +388,13 @@ void HTMLInputElement::handleFocusEvent(Element* oldFocusedElement, FocusType ty |
| m_inputType->enableSecureTextInput(); |
| } |
| +void HTMLInputElement::dispatchFocusInEvent(const AtomicString& eventType, Element* oldFocusedElement, FocusType type) |
| +{ |
| + if (eventType == EventTypeNames::DOMFocusIn) |
|
tkent
2014/09/11 23:52:55
Two spaces after == should be one.
Habib Virji
2014/09/12 08:18:25
Done.
|
| + m_inputTypeView->handleFocusInEvent(oldFocusedElement, type); |
| + HTMLFormControlElementWithState::dispatchFocusInEvent(eventType, oldFocusedElement, type); |
| +} |
| + |
| void HTMLInputElement::handleBlurEvent() |
| { |
| m_inputType->disableSecureTextInput(); |