Skip to content
  • oliver's avatar
    2007-10-07 Sam Weinig <sam@webkit.org> · 7a6a508d
    oliver authored
            Reviewed by Darin & Nikolas.  Landed by eseidel.
    
            Patch for http://bugs.webkit.org/show_bug.cgi?id=14455
            Autogenerate the JS bindings for the StyleSheetList
    
            * DerivedSources.make:
            * WebCore.pro:
            * WebCore.vcproj/WebCore.vcproj:
            * WebCore.xcodeproj/project.pbxproj:
            * bindings/js/JSStyleSheetListCustom.cpp: Added.
            (WebCore::JSStyleSheetList::canGetItemsForName):
            (WebCore::JSStyleSheetList::nameGetter):
            * bindings/js/kjs_css.cpp:
            * bindings/js/kjs_css.h:
            * bindings/objc/DOMUtility.mm:
            * bindings/scripts/CodeGeneratorJS.pm:
            * css/StyleSheetList.cpp:
            (WebCore::StyleSheetList::StyleSheetList):
            (WebCore::StyleSheetList::documentDestroyed):
            (WebCore::StyleSheetList::getNamedItem):
            * css/StyleSheetList.h: Add Document member variable and
            getNamedItem function to accommodate the odd javascript
            name getter functionality.
            * css/StyleSheetList.idl:
            * dom/Document.cpp:
            (WebCore::Document::Document):
            (WebCore::Document::~Document):
            * page/DOMWindow.idl: Add StyleSheetListConstructor
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26509 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    7a6a508d