Skip to content
  • akling@apple.com's avatar
    Reduce include graph of JSDOMBinding.h · b15671ac
    akling@apple.com authored
    <http://webkit.org/b/110709>
    
    Reviewed by Antti Koivisto.
    
    Source/WebCore:
    
    Move WebCore::root(Foo*) to the custom JSFooCustom.h headers.
    This reduces the number of headers pulled in by JSDOMBinding.h.
    
    * WebCore.xcodeproj/project.pbxproj:
    * bindings/js/JSCSSRuleCustom.cpp:
    * bindings/js/JSCSSRuleCustom.h: Added.
    (WebCore::root):
    * bindings/js/JSCSSRuleListCustom.cpp:
    * bindings/js/JSCSSStyleDeclarationCustom.h:
    (WebCore::root):
    * bindings/js/JSDOMBinding.h:
    * bindings/js/JSMediaListCustom.h: Added.
    (WebCore::root):
    * bindings/js/JSMutationObserverCustom.cpp:
    * bindings/js/JSNodeCustom.h:
    (WebCore::root):
    * bindings/js/JSSVGElementInstanceCustom.cpp:
    * bindings/js/JSStyleSheetCustom.h: Added.
    (WebCore::root):
    * bindings/js/JSTextTrackCustom.h:
    * bindings/js/JSTextTrackListCustom.cpp:
    * bindings/js/JSXPathResultCustom.cpp:
    * bindings/js/SerializedScriptValue.cpp:
    * bindings/scripts/CodeGeneratorGObject.pm:
    (Generate):
    * bindings/scripts/CodeGeneratorJS.pm:
    (GenerateImplementation):
    * bindings/scripts/CodeGeneratorObjC.pm:
    (AddIncludesForType):
    * css/CSSRule.idl:
    * css/CSSStyleDeclaration.idl:
    * css/MediaList.idl:
    * css/StyleSheet.idl:
    * editing/mac/EditorMac.mm:
    
    Source/WebKit/mac:
    
    * WebView/WebHTMLView.mm:
    
    Source/WebKit2:
    
    * Shared/WebRenderObject.cpp:
    (WebKit::WebRenderObject::WebRenderObject):
    * WebProcess/Storage/StorageAreaProxy.cpp:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143863 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    b15671ac