Chromium Code Reviews| Index: Source/core/html/HTMLTextFormControlElement.cpp |
| diff --git a/Source/core/html/HTMLTextFormControlElement.cpp b/Source/core/html/HTMLTextFormControlElement.cpp |
| index 658ef9df2375ac4015e2f817e6984bd35abc38bf..b832055ec21ff8663a592bfaa32931597fe2e6ec 100644 |
| --- a/Source/core/html/HTMLTextFormControlElement.cpp |
| +++ b/Source/core/html/HTMLTextFormControlElement.cpp |
| @@ -95,6 +95,13 @@ void HTMLTextFormControlElement::dispatchBlurEvent(Element* newFocusedElement) |
| HTMLFormControlElementWithState::dispatchBlurEvent(newFocusedElement); |
| } |
| +void HTMLTextFormControlElement::dispatchFocusInEvent(const AtomicString& eventType, Element* oldFocusedElement, FocusType type) |
|
tkent
2014/09/09 23:00:08
This function should be moved to HTMLInputElement.
Habib Virji
2014/09/10 10:00:47
Done.
|
| +{ |
| + if (eventType == EventTypeNames::DOMFocusIn) |
| + handleFocusInEvent(oldFocusedElement, type); |
|
tkent
2014/09/09 23:00:07
Move this function to HTMLInputElmenet, and this l
Habib Virji
2014/09/10 10:00:48
Was already part of patch#2.
tkent
2014/09/10 23:47:10
You misunderstood my comment.
Habib Virji
2014/09/11 09:12:22
Done.
|
| + HTMLFormControlElementWithState::dispatchFocusInEvent(eventType, oldFocusedElement, type); |
| +} |
| + |
| void HTMLTextFormControlElement::defaultEventHandler(Event* event) |
| { |
| if (event->type() == EventTypeNames::webkitEditableContentChanged && renderer() && renderer()->isTextControl()) { |