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..afc4026f682dc42351246c4a17096a30b86917c3 100644 |
| --- a/Source/core/html/HTMLInputElement.cpp |
| +++ b/Source/core/html/HTMLInputElement.cpp |
| @@ -388,6 +388,18 @@ void HTMLInputElement::handleFocusEvent(Element* oldFocusedElement, FocusType ty |
| m_inputType->enableSecureTextInput(); |
| } |
| +void HTMLInputElement::dispatchFocusInEvent(const AtomicString& eventType, Element* oldFocusedElement, FocusType type) |
| +{ |
| + if (eventType == EventTypeNames::DOMFocusIn) |
| + handleFocusInEvent(oldFocusedElement, type); |
|
tkent
2014/09/10 23:47:11
This line should be replaced with m_inputTypeView-
Habib Virji
2014/09/11 09:12:22
Done.
|
| + HTMLFormControlElementWithState::dispatchFocusInEvent(eventType, oldFocusedElement, type); |
| +} |
| + |
| +void HTMLInputElement::handleFocusInEvent(Element* oldFocusedElement, FocusType type) |
|
tkent
2014/09/10 23:47:11
This function is unnecessary.
The function body is
Habib Virji
2014/09/11 09:12:22
Done.
|
| +{ |
| + m_inputTypeView->handleFocusInEvent(oldFocusedElement, type); |
| +} |
| + |
| void HTMLInputElement::handleBlurEvent() |
| { |
| m_inputType->disableSecureTextInput(); |