Skip to content
  • commit-queue@webkit.org's avatar
    Add [CallWith] support for attributes in JSC/V8 idl code generators. · 7bfd285b
    commit-queue@webkit.org authored
    Part of https://bugs.webkit.org/show_bug.cgi?id=76035
    
    Patch by Pablo Flouret <pablof@motorola.com> on 2012-01-18
    Reviewed by Adam Barth.
    
    * bindings/scripts/CodeGeneratorJS.pm:
    (GenerateImplementation):
    (GenerateAttributeCallWith):
    * bindings/scripts/CodeGeneratorV8.pm:
    (GenerateNormalAttrGetter):
    (GenerateNormalAttrSetter):
    (GenerateAttributeCallWith):
    * bindings/scripts/test/CPP/WebDOMTestObj.cpp:
    (WebDOMTestObj::withScriptStateAttribute):
    (WebDOMTestObj::setWithScriptStateAttribute):
    (WebDOMTestObj::withScriptExecutionContextAttribute):
    (WebDOMTestObj::setWithScriptExecutionContextAttribute):
    (WebDOMTestObj::withScriptStateAttributeRaises):
    (WebDOMTestObj::setWithScriptStateAttributeRaises):
    (WebDOMTestObj::withScriptExecutionContextAttributeRaises):
    (WebDOMTestObj::setWithScriptExecutionContextAttributeRaises):
    * bindings/scripts/test/CPP/WebDOMTestObj.h:
    * bindings/scripts/test/GObject/WebKitDOMTestObj.cpp:
    (webkit_dom_test_obj_get_with_script_state_attribute):
    (webkit_dom_test_obj_set_with_script_state_attribute):
    (webkit_dom_test_obj_get_with_script_execution_context_attribute):
    (webkit_dom_test_obj_set_with_script_execution_context_attribute):
    (webkit_dom_test_obj_get_with_script_state_attribute_raises):
    (webkit_dom_test_obj_set_with_script_state_attribute_raises):
    (webkit_dom_test_obj_get_with_script_execution_context_attribute_raises):
    (webkit_dom_test_obj_set_with_script_execution_context_attribute_raises):
    (webkit_dom_test_obj_set_property):
    (webkit_dom_test_obj_get_property):
    (webkit_dom_test_obj_class_init):
    * bindings/scripts/test/GObject/WebKitDOMTestObj.h:
    * bindings/scripts/test/JS/JSTestObj.cpp:
    (WebCore::jsTestObjWithScriptStateAttribute):
    (WebCore::jsTestObjWithScriptExecutionContextAttribute):
    (WebCore::jsTestObjWithScriptStateAttributeRaises):
    (WebCore::jsTestObjWithScriptExecutionContextAttributeRaises):
    (WebCore::setJSTestObjWithScriptStateAttribute):
    (WebCore::setJSTestObjWithScriptExecutionContextAttribute):
    (WebCore::setJSTestObjWithScriptStateAttributeRaises):
    (WebCore::setJSTestObjWithScriptExecutionContextAttributeRaises):
    * bindings/scripts/test/JS/JSTestObj.h:
    * bindings/scripts/test/ObjC/DOMTestObj.h:
    * bindings/scripts/test/ObjC/DOMTestObj.mm:
    (-[DOMTestObj withScriptStateAttribute]):
    (-[DOMTestObj setWithScriptStateAttribute:]):
    (-[DOMTestObj withScriptExecutionContextAttribute]):
    (-[DOMTestObj setWithScriptExecutionContextAttribute:]):
    (-[DOMTestObj withScriptStateAttributeRaises]):
    (-[DOMTestObj setWithScriptStateAttributeRaises:]):
    (-[DOMTestObj withScriptExecutionContextAttributeRaises]):
    (-[DOMTestObj setWithScriptExecutionContextAttributeRaises:]):
    * bindings/scripts/test/TestObj.idl:
    * bindings/scripts/test/V8/V8TestObj.cpp:
    (WebCore::TestObjInternal::withScriptStateAttributeAttrGetter):
    (WebCore::TestObjInternal::withScriptStateAttributeAttrSetter):
    (WebCore::TestObjInternal::withScriptExecutionContextAttributeAttrGetter):
    (WebCore::TestObjInternal::withScriptExecutionContextAttributeAttrSetter):
    (WebCore::TestObjInternal::withScriptStateAttributeRaisesAttrGetter):
    (WebCore::TestObjInternal::withScriptStateAttributeRaisesAttrSetter):
    (WebCore::TestObjInternal::withScriptExecutionContextAttributeRaisesAttrGetter):
    (WebCore::TestObjInternal::withScriptExecutionContextAttributeRaisesAttrSetter):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@105308 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    7bfd285b