| OLD | NEW |
| 1 {% include 'copyright_block.txt' %} | 1 {% include 'copyright_block.txt' %} |
| 2 #include "config.h" | 2 #include "config.h" |
| 3 {% filter conditional(conditional_string) %} | 3 {% filter conditional(conditional_string) %} |
| 4 #include "{{v8_class_or_partial}}.h" | 4 #include "{{v8_class_or_partial}}.h" |
| 5 | 5 |
| 6 {% for filename in cpp_includes if filename != '%s.h' % cpp_class_or_partial %} | 6 {% for filename in cpp_includes if filename != '%s.h' % cpp_class_or_partial %} |
| 7 #include "{{filename}}" | 7 #include "{{filename}}" |
| 8 {% endfor %} | 8 {% endfor %} |
| 9 | 9 |
| 10 namespace blink { | 10 namespace blink { |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 {##############################################################################} | 136 {##############################################################################} |
| 137 {# Methods #} | 137 {# Methods #} |
| 138 {% from 'methods.cpp' import generate_method, overload_resolution_method, | 138 {% from 'methods.cpp' import generate_method, overload_resolution_method, |
| 139 method_callback, origin_safe_method_getter, generate_constructor, | 139 method_callback, origin_safe_method_getter, generate_constructor, |
| 140 method_implemented_in_private_script, runtime_determined_length_method, | 140 method_implemented_in_private_script, runtime_determined_length_method, |
| 141 runtime_determined_maxarg_method | 141 runtime_determined_maxarg_method |
| 142 with context %} | 142 with context %} |
| 143 {% for method in methods %} | 143 {% for method in methods %} |
| 144 {% if method.should_be_exposed_to_script %} | 144 {% if method.should_be_exposed_to_script %} |
| 145 {% for world_suffix in method.world_suffixes %} | 145 {% for world_suffix in method.world_suffixes %} |
| 146 {% if not method.is_custom and method.visible %} | 146 {% if not method.is_custom and not method.is_post_message and method.visible %} |
| 147 {{generate_method(method, world_suffix)}} | 147 {{generate_method(method, world_suffix)}} |
| 148 {% endif %} | 148 {% endif %} |
| 149 {% if method.overloads and method.overloads.visible %} | 149 {% if method.overloads and method.overloads.visible %} |
| 150 {% if method.overloads.runtime_determined_lengths %} | 150 {% if method.overloads.runtime_determined_lengths %} |
| 151 {{runtime_determined_length_method(method.overloads)}} | 151 {{runtime_determined_length_method(method.overloads)}} |
| 152 {% endif %} | 152 {% endif %} |
| 153 {% if method.overloads.runtime_determined_maxargs %} | 153 {% if method.overloads.runtime_determined_maxargs %} |
| 154 {{runtime_determined_maxarg_method(method.overloads)}} | 154 {{runtime_determined_maxarg_method(method.overloads)}} |
| 155 {% endif %} | 155 {% endif %} |
| 156 {{overload_resolution_method(method.overloads, world_suffix)}} | 156 {{overload_resolution_method(method.overloads, world_suffix)}} |
| (...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 491 {% endfor %} | 491 {% endfor %} |
| 492 {% for attribute in attributes if attribute.is_implemented_in_private_script %} | 492 {% for attribute in attributes if attribute.is_implemented_in_private_script %} |
| 493 {{attribute_getter_implemented_in_private_script(attribute)}} | 493 {{attribute_getter_implemented_in_private_script(attribute)}} |
| 494 {% if attribute.has_setter %} | 494 {% if attribute.has_setter %} |
| 495 {{attribute_setter_implemented_in_private_script(attribute)}} | 495 {{attribute_setter_implemented_in_private_script(attribute)}} |
| 496 {% endif %} | 496 {% endif %} |
| 497 {% endfor %} | 497 {% endfor %} |
| 498 {% block partial_interface %}{% endblock %} | 498 {% block partial_interface %}{% endblock %} |
| 499 } // namespace blink | 499 } // namespace blink |
| 500 {% endfilter %} | 500 {% endfilter %} |
| OLD | NEW |