Reviewed by Eric.
authorthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 29 Aug 2006 21:58:08 +0000 (21:58 +0000)
committerthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 29 Aug 2006 21:58:08 +0000 (21:58 +0000)
commit6bd18e83d005f81eda22bb59aebaad7a3cdaf285
tree1f085f8b609d0ee777c60609564260f176ca6ca4
parent393f7ce78148ce07565ce41a279c5a9050543505
    Reviewed by Eric.

        Bug 10632: Objective-C DOM should use the @property syntax for DOM attributes
        http://bugzilla.opendarwin.org/show_bug.cgi?id=10632

        Generate @property when MACOSX_DEPLOYMENT_TARGET is >= 10.5.
        This is backwards compatible with the getter/setter methods.
        Generate setter arguments with a "new" prefix to avoid the property
        name conflict warning. Also removes some whitespace and the comments
        that we added to the headers. This makes the headers look like what we ship now.

        * bindings/objc/DOMCSS.mm:
        (-[DOMDocument getComputedStyle::]): renamed a local variable to avoid the property name conflict.
        (-[DOMDocument getMatchedCSSRules::]): ditto.
        * bindings/scripts/CodeGeneratorObjC.pm: generate @property in the headers.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16100 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/bindings/objc/DOMCSS.mm
WebCore/bindings/scripts/CodeGeneratorObjC.pm