| OLD | NEW |
| 1 {% include 'copyright_block.txt' %} | 1 {% include 'copyright_block.txt' %} |
| 2 #include "{{v8_class_or_partial}}.h" | 2 #include "{{v8_class_or_partial}}.h" |
| 3 | 3 |
| 4 {% for filename in cpp_includes if filename != '%s.h' % cpp_class_or_partial %} | 4 {% for filename in cpp_includes if filename != '%s.h' % cpp_class_or_partial %} |
| 5 #include "{{filename}}" | 5 #include "{{filename}}" |
| 6 {% endfor %} | 6 {% endfor %} |
| 7 | 7 |
| 8 namespace blink { | 8 namespace blink { |
| 9 {% set to_active_scriptwrappable = '%s::toActiveScriptWrappable' % v8_class | 9 {% set to_active_scriptwrappable = '%s::toActiveScriptWrappable' % v8_class |
| 10 if active_scriptwrappable else '0' %} | 10 if active_scriptwrappable else '0' %} |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 {% block named_property_setter_callback %}{% endblock %} | 179 {% block named_property_setter_callback %}{% endblock %} |
| 180 {% block named_property_query %}{% endblock %} | 180 {% block named_property_query %}{% endblock %} |
| 181 {% block named_property_query_callback %}{% endblock %} | 181 {% block named_property_query_callback %}{% endblock %} |
| 182 {% block named_property_deleter %}{% endblock %} | 182 {% block named_property_deleter %}{% endblock %} |
| 183 {% block named_property_deleter_callback %}{% endblock %} | 183 {% block named_property_deleter_callback %}{% endblock %} |
| 184 {% block named_property_enumerator %}{% endblock %} | 184 {% block named_property_enumerator %}{% endblock %} |
| 185 {% block named_property_enumerator_callback %}{% endblock %} | 185 {% block named_property_enumerator_callback %}{% endblock %} |
| 186 } // namespace {{cpp_class_or_partial}}V8Internal | 186 } // namespace {{cpp_class_or_partial}}V8Internal |
| 187 | 187 |
| 188 {% block visit_dom_wrapper %}{% endblock %} | 188 {% block visit_dom_wrapper %}{% endblock %} |
| 189 {% block trace_wrappers %}{% endblock %} | |
| 190 {##############################################################################} | 189 {##############################################################################} |
| 191 {% block install_attributes %} | 190 {% block install_attributes %} |
| 192 {% from 'attributes.cpp' import attribute_configuration with context %} | 191 {% from 'attributes.cpp' import attribute_configuration with context %} |
| 193 {% if has_attribute_configuration %} | 192 {% if has_attribute_configuration %} |
| 194 // Suppress warning: global constructors, because AttributeConfiguration is triv
ial | 193 // Suppress warning: global constructors, because AttributeConfiguration is triv
ial |
| 195 // and does not depend on another global objects. | 194 // and does not depend on another global objects. |
| 196 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) | 195 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) |
| 197 #pragma clang diagnostic push | 196 #pragma clang diagnostic push |
| 198 #pragma clang diagnostic ignored "-Wglobal-constructors" | 197 #pragma clang diagnostic ignored "-Wglobal-constructors" |
| 199 #endif | 198 #endif |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 409 {{method_implemented_in_private_script(method)}} | 408 {{method_implemented_in_private_script(method)}} |
| 410 {% endfor %} | 409 {% endfor %} |
| 411 {% for attribute in attributes if attribute.is_implemented_in_private_script %} | 410 {% for attribute in attributes if attribute.is_implemented_in_private_script %} |
| 412 {{attribute_getter_implemented_in_private_script(attribute)}} | 411 {{attribute_getter_implemented_in_private_script(attribute)}} |
| 413 {% if attribute.has_setter %} | 412 {% if attribute.has_setter %} |
| 414 {{attribute_setter_implemented_in_private_script(attribute)}} | 413 {{attribute_setter_implemented_in_private_script(attribute)}} |
| 415 {% endif %} | 414 {% endif %} |
| 416 {% endfor %} | 415 {% endfor %} |
| 417 {% block partial_interface %}{% endblock %} | 416 {% block partial_interface %}{% endblock %} |
| 418 } // namespace blink | 417 } // namespace blink |
| OLD | NEW |