2006-05-15 Eric Seidel <eseidel@apple.com>
authoreseidel <eseidel@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 16 May 2006 02:08:51 +0000 (02:08 +0000)
committereseidel <eseidel@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 16 May 2006 02:08:51 +0000 (02:08 +0000)
commite1601fc30c957132aa63fbf15c33727a10775017
tree7632de5a635bb24b8d9444c12f4c9c7096e4c024
parentbb5cf9225bed2df4a1430ce54f2732fca1031d74
2006-05-15  Eric Seidel  <eseidel@apple.com>

        Reviewed by mjs.

        Split css_stylesheetimpl.* into separate files (one per class).
        http://bugzilla.opendarwin.org/show_bug.cgi?id=8933

        * WebCore.vcproj/WebCore/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * css/CSSStyleSheet.cpp: Added.
        (WebCore::CSSStyleSheet::CSSStyleSheet):
        (WebCore::CSSStyleSheet::addRule):
        (WebCore::CSSStyleSheet::deleteRule):
        (WebCore::CSSStyleSheet::parseString):
        (WebCore::CSSStyleSheet::docLoader):
        * css/CSSStyleSheet.h: Added.
        * css/MediaList.cpp: Added.
        (WebCore::MediaList::MediaList):
        (WebCore::MediaList::contains):
        (WebCore::MediaList::parentStyleSheet):
        (WebCore::MediaList::parentRule):
        (WebCore::MediaList::deleteMedium):
        (WebCore::MediaList::setMediaText):
        * css/MediaList.h: Added.
        * css/StyleSheet.cpp: Added.
        (WebCore::StyleSheet::StyleSheet):
        (WebCore::StyleSheet::parentStyleSheet):
        (WebCore::StyleSheet::setMedia):
        * css/StyleSheet.h: Added.
        (WebCore::StyleSheet::ownerNode):
        * css/StyleSheetList.cpp: Added.
        (WebCore::StyleSheetList::~StyleSheetList):
        (WebCore::StyleSheetList::add):
        (WebCore::StyleSheetList::remove):
        (WebCore::StyleSheetList::item):
        * css/StyleSheetList.h: Added.
        * css/css_stylesheetimpl.cpp: Removed.
        * css/css_stylesheetimpl.h: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@14401 268f45cc-cd09-0410-ab3c-d52691b4dbfc
43 files changed:
WebCore/ChangeLog
WebCore/WebCore.vcproj/WebCore/WebCore.vcproj
WebCore/WebCore.xcodeproj/project.pbxproj
WebCore/bindings/js/kjs_css.cpp
WebCore/bindings/js/kjs_css.h
WebCore/bindings/js/kjs_dom.cpp
WebCore/bindings/js/kjs_window.cpp
WebCore/bindings/objc/DOM.mm
WebCore/bindings/objc/DOMCSS.mm
WebCore/bindings/objc/DOMImplementationFront.cpp
WebCore/bindings/scripts/CodeGeneratorJS.pm
WebCore/css/CSSGrammar.y
WebCore/css/CSSStyleSheet.cpp [new file with mode: 0644]
WebCore/css/CSSStyleSheet.h [new file with mode: 0644]
WebCore/css/MediaList.cpp [new file with mode: 0644]
WebCore/css/MediaList.h [new file with mode: 0644]
WebCore/css/StyleSheet.cpp [new file with mode: 0644]
WebCore/css/StyleSheet.h [new file with mode: 0644]
WebCore/css/StyleSheetList.cpp [new file with mode: 0644]
WebCore/css/StyleSheetList.h [new file with mode: 0644]
WebCore/css/css_base.cpp
WebCore/css/css_ruleimpl.cpp
WebCore/css/css_stylesheetimpl.cpp [deleted file]
WebCore/css/css_stylesheetimpl.h [deleted file]
WebCore/css/css_valueimpl.cpp
WebCore/css/cssparser.cpp
WebCore/css/cssstyleselector.cpp
WebCore/dom/DOMImplementation.cpp
WebCore/dom/Document.cpp
WebCore/dom/ProcessingInstruction.cpp
WebCore/dom/StyledElement.cpp
WebCore/html/HTMLBodyElement.cpp
WebCore/html/HTMLElement.cpp
WebCore/html/HTMLLinkElement.cpp
WebCore/html/HTMLLinkElement.h
WebCore/html/HTMLStyleElement.cpp
WebCore/html/HTMLStyleElement.h
WebCore/html/HTMLTableElement.cpp
WebCore/ksvg2/svg/SVGDOMImplementation.cpp
WebCore/ksvg2/svg/SVGDocument.cpp
WebCore/ksvg2/svg/SVGElement.cpp
WebCore/ksvg2/svg/SVGStyleElement.cpp
WebCore/xml/XSLStyleSheet.h