| OLD | NEW |
| 1 {# FIXME: update copyright and license header #} | 1 {# FIXME: update copyright and license header #} |
| 2 /* | 2 /* |
| 3 This file is part of the Blink open source project. | 3 This file is part of the Blink open source project. |
| 4 This file has been auto-generated by CodeGeneratorV8.pm. DO NOT MODIFY! | 4 This file has been auto-generated by CodeGeneratorV8.pm. DO NOT MODIFY! |
| 5 | 5 |
| 6 This library is free software; you can redistribute it and/or | 6 This library is free software; you can redistribute it and/or |
| 7 modify it under the terms of the GNU Library General Public | 7 modify it under the terms of the GNU Library General Public |
| 8 License as published by the Free Software Foundation; either | 8 License as published by the Free Software Foundation; either |
| 9 version 2 of the License, or (at your option) any later version. | 9 version 2 of the License, or (at your option) any later version. |
| 10 | 10 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 WebCore::initializeScriptWrappableForInterface(object); | 50 WebCore::initializeScriptWrappableForInterface(object); |
| 51 } | 51 } |
| 52 | 52 |
| 53 namespace WebCore { | 53 namespace WebCore { |
| 54 WrapperTypeInfo {{v8_class_name}}::info = { {{v8_class_name}}::GetTemplate, {{v8
_class_name}}::derefObject, 0, 0, 0, {{v8_class_name}}::installPerContextEnabled
PrototypeProperties, 0, WrapperTypeObjectPrototype }; | 54 WrapperTypeInfo {{v8_class_name}}::info = { {{v8_class_name}}::GetTemplate, {{v8
_class_name}}::derefObject, 0, 0, 0, {{v8_class_name}}::installPerContextEnabled
PrototypeProperties, 0, WrapperTypeObjectPrototype }; |
| 55 | 55 |
| 56 namespace {{cpp_class_name}}V8Internal { | 56 namespace {{cpp_class_name}}V8Internal { |
| 57 | 57 |
| 58 template <typename T> void V8_USE(T) { } | 58 template <typename T> void V8_USE(T) { } |
| 59 | 59 |
| 60 {% from 'attributes.cpp' import attribute_getter, attribute_getter_callback | 60 {% from 'attributes.cpp' import attribute_getter, attribute_getter_callback, |
| 61 attribute_setter, attribute_setter_callback |
| 61 with context %} | 62 with context %} |
| 62 {% for attribute in attributes %} | 63 {% for attribute in attributes %} |
| 63 {% for world_suffix in attribute.world_suffixes %} | 64 {% for world_suffix in attribute.world_suffixes %} |
| 64 {% if not attribute.is_custom_getter %} | 65 {% if not attribute.has_custom_getter %} |
| 65 {{attribute_getter(attribute, world_suffix)}} | 66 {{attribute_getter(attribute, world_suffix)}} |
| 66 {% endif %} | 67 {% endif %} |
| 67 {{attribute_getter_callback(attribute, world_suffix)}} | 68 {{attribute_getter_callback(attribute, world_suffix)}} |
| 68 {% endfor %} | 69 {% endfor %} |
| 70 {% if attribute.has_setter %} |
| 71 {{attribute_setter(attribute, world_suffix)}} |
| 72 {{attribute_setter_callback(attribute, world_suffix)}} |
| 73 {% endif %} |
| 69 {% endfor %} | 74 {% endfor %} |
| 70 } // namespace {{cpp_class_name}}V8Internal | 75 } // namespace {{cpp_class_name}}V8Internal |
| 71 | 76 |
| 72 {% block class_attributes %}{% endblock %} | 77 {% block class_attributes %}{% endblock %} |
| 73 {% block configure_class_template %}{% endblock %} | 78 {% block configure_class_template %}{% endblock %} |
| 74 {% block get_template %}{% endblock %} | 79 {% block get_template %}{% endblock %} |
| 75 {% block has_instance_and_has_instance_in_any_world %}{% endblock %} | 80 {% block has_instance_and_has_instance_in_any_world %}{% endblock %} |
| 76 {% block install_per_context_attributes %}{% endblock %} | 81 {% block install_per_context_attributes %}{% endblock %} |
| 77 {% block create_wrapper_and_deref_object %}{% endblock %} | 82 {% block create_wrapper_and_deref_object %}{% endblock %} |
| 78 } // namespace WebCore | 83 } // namespace WebCore |
| 79 {% if conditional_string %} | 84 {% if conditional_string %} |
| 80 | 85 |
| 81 #endif // {{conditional_string}} | 86 #endif // {{conditional_string}} |
| 82 {% endif %} | 87 {% endif %} |
| OLD | NEW |