2009-02-11 Dimitri Glazkov <dglazkov@chromium.org>
authordglazkov@chromium.org <dglazkov@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 11 Feb 2009 22:35:19 +0000 (22:35 +0000)
committerdglazkov@chromium.org <dglazkov@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 11 Feb 2009 22:35:19 +0000 (22:35 +0000)
commit56f32e51acde0c806770521ced124627c4644ac2
tree8cbfcb8f0ddffdc564fe09d5f501690fccd0feb2
parentcaa13847502692ba704a26249ce17edacea03c17
2009-02-11  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by Eric Seidel.

        https://bugs.webkit.org/show_bug.cgi?id=23901
        Add HTML options/collections V8 custom bindings.

        * bindings/v8/custom/V8HTMLCollectionCustom.cpp: Added.
        (WebCore::getNamedItems):
        (WebCore::getItem):
        (WebCore::NAMED_PROPERTY_GETTER):
        (WebCore::CALLBACK_FUNC_DECL):
        * bindings/v8/custom/V8HTMLFormElementCustom.cpp: Added.
        (WebCore::NAMED_PROPERTY_GETTER):
        * bindings/v8/custom/V8HTMLInputElementCustom.cpp:
        (WebCore::ACCESSOR_GETTER):
        (WebCore::ACCESSOR_SETTER):
        (WebCore::CALLBACK_FUNC_DECL):
        * bindings/v8/custom/V8HTMLOptionsCollectionCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):
        (WebCore::ACCESSOR_SETTER):
        * bindings/v8/custom/V8HTMLSelectElementCustom.cpp: Added.
        (WebCore::CALLBACK_FUNC_DECL):
        (WebCore::removeElement):
        * bindings/v8/custom/V8HTMLSelectElementCustom.h: Added.
        * bindings/v8/custom/V8NamedNodesCollection.cpp: Added.
        (WebCore::V8NamedNodesCollection::item):
        (WebCore::V8NamedNodesCollection::itemWithName):
        * bindings/v8/custom/V8NamedNodesCollection.h: Added.
        (WebCore::V8NamedNodesCollection::V8NamedNodesCollection):
        (WebCore::V8NamedNodesCollection::length):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@40873 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/bindings/v8/custom/V8HTMLCollectionCustom.cpp [new file with mode: 0644]
WebCore/bindings/v8/custom/V8HTMLFormElementCustom.cpp [new file with mode: 0644]
WebCore/bindings/v8/custom/V8HTMLInputElementCustom.cpp
WebCore/bindings/v8/custom/V8HTMLOptionsCollectionCustom.cpp
WebCore/bindings/v8/custom/V8HTMLSelectElementCustom.cpp [new file with mode: 0644]
WebCore/bindings/v8/custom/V8HTMLSelectElementCustom.h [new file with mode: 0644]
WebCore/bindings/v8/custom/V8NamedNodesCollection.cpp [new file with mode: 0644]
WebCore/bindings/v8/custom/V8NamedNodesCollection.h [new file with mode: 0644]