Skip to content
  • rniwa@webkit.org's avatar
    Push more code from HTMLInputElement::setValue to TextFieldInputType::setValue · bf110973
    rniwa@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=67742
    
    Reviewed by Darin Adler.
    
    Moved more code in HTMLInputElement::setValue to TextFieldInputType::setValue, and merged
    InputType::valueChanged into InputType::setValue. Also introduced
    InputType::dispatchChangeEventInResponseToSetValue to be overridden by TextFieldInputType.
    
    * html/BaseButtonInputType.cpp:
    (WebCore::BaseButtonInputType::setValue):
    * html/BaseButtonInputType.h:
    * html/BaseCheckableInputType.cpp:
    (WebCore::BaseCheckableInputType::setValue):
    * html/BaseCheckableInputType.h:
    * html/ColorInputType.cpp:
    * html/ColorInputType.h:
    * html/FileInputType.cpp:
    (WebCore::FileInputType::setValue):
    * html/FileInputType.h:
    * html/HTMLInputElement.cpp:
    (WebCore::HTMLInputElement::setValue):
    * html/HTMLInputElement.h:
    (WebCore::HTMLInputElement::cacheSelectionInResponseToSetValue):
    * html/HiddenInputType.cpp:
    (WebCore::HiddenInputType::setValue):
    * html/HiddenInputType.h:
    * html/InputType.cpp:
    (WebCore::InputType::setValue):
    (WebCore::InputType::dispatchChangeEventInResponseToSetValue):
    * html/InputType.h:
    * html/RangeInputType.cpp:
    (WebCore::RangeInputType::setValue):
    * html/RangeInputType.h:
    * html/TextFieldInputType.cpp:
    (WebCore::TextFieldInputType::setValue):
    (WebCore::TextFieldInputType::dispatchChangeEventInResponseToSetValue):
    * html/TextFieldInputType.h:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94836 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    bf110973