• tkent@chromium.org's avatar
    Rename HTMLFormControlElement::readOnly to isReadOnly · 96922921
    tkent@chromium.org authored
    https://bugs.webkit.org/show_bug.cgi?id=113297
    
    Reviewed by Alexey Proskuryakov.
    
    Source/WebCore:
    
    HTMLFormControlElement::readOnly is not an implementation of
    'readOnly' IDL attribute. It's confusing and we don't need to
    violate our naming convention.
    
    No new tests. Just a refactoring.
    
    * accessibility/AccessibilityNodeObject.cpp:
    (WebCore::AccessibilityNodeObject::isReadOnly):
    * html/BaseMultipleFieldsDateAndTimeInputType.cpp:
    (WebCore::BaseMultipleFieldsDateAndTimeInputType::isEditControlOwnerReadOnly):
    * html/HTMLFormControlElement.cpp:
    (WebCore::HTMLFormControlElement::HTMLFormControlElement):
    (WebCore::HTMLFormControlElement::parseAttribute):
    * html/HTMLFormControlElement.h:
    (WebCore::HTMLFormControlElement::isReadOnly):
    (WebCore::HTMLFormControlElement::isDisabledOrReadOnly):
    * html/HTMLInputElement.cpp:
    (WebCore::HTMLInputElement::matchesReadOnlyPseudoClass):
    (WebCore::HTMLInputElement::matchesReadWritePseudoClass):
    * html/HTMLTextAreaElement.cpp:
    (WebCore::HTMLTextAreaElement::matchesReadOnlyPseudoClass):
    (WebCore::HTMLTextAreaElement::matchesReadWritePseudoClass):
    * html/shadow/SliderThumbElement.cpp:
    (WebCore::SliderThumbElement::defaultEventHandler):
    (WebCore::SliderThumbElement::willRespondToMouseMoveEvents):
    (WebCore::SliderThumbElement::willRespondToMouseClickEvents):
    * html/shadow/TextControlInnerElements.cpp:
    (WebCore::InputFieldSpeechButtonElement::willRespondToMouseClickEvents):
    (WebCore::InputFieldSpeechButtonElement::setRecognitionResult):
    * html/shadow/TextFieldDecorationElement.cpp:
    (WebCore::TextFieldDecorationElement::updateImage):
    * rendering/RenderTextControl.cpp:
    (WebCore::updateUserModifyProperty):
    * rendering/RenderThemeMacShared.mm:
    (WebCore::RenderThemeMacShared::paintSearchFieldCancelButton):
    
    Source/WebKit/chromium:
    
    * src/WebFormControlElement.cpp:
    (WebKit::WebFormControlElement::isReadOnly):
    
    Source/WebKit/win:
    
    * DOMHTMLClasses.cpp:
    (DOMHTMLInputElement::readOnly):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146977 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    96922921
ChangeLog 8.04 MB
The source could not be displayed because it is larger than 1 MB. You can load it anyway or download it instead.