Skip to content
  • commit-queue@webkit.org's avatar
    <http://webkit.org/b/82419> Web Inspector: Create -[DOMNode inspect] from IDL · a34ace4b
    commit-queue@webkit.org authored
    Source/WebCore:
    
    Instead of manually creating the method in DOM.mm we can specify it in
    Node.idl and autogenerate part of the interface.
    
    Patch by Joseph Pecoraro <pecoraro@apple.com> on 2012-03-28
    Reviewed by Timothy Hatcher.
    
    * bindings/objc/DOM.mm:
    * bindings/objc/DOMPrivate.h:
    Move the call to InspectorController::inspect from here ...
    
    * dom/Node.h:
    * dom/Node.idl: IDL only in an ObjC block.
    * dom/Node.cpp:
    (WebCore::Node::inspect):
    ... to here.
    
    * WebCore.xcodeproj/project.pbxproj:
    Add the new generated file so we can Copy it in the build phase.
    
    Source/WebKit/mac:
    
    Patch by Joseph Pecoraro <pecoraro@apple.com> on 2012-03-28
    Reviewed by Timothy Hatcher.
    
    * MigrateHeaders.make: Copy DOMNodePrivate.h to PrivateHeaders.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112424 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    a34ace4b