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 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 {% from 'attributes.cpp' import attribute_configuration with context %} | 226 {% from 'attributes.cpp' import attribute_configuration with context %} |
227 {% if has_accessor_configuration %} | 227 {% if has_accessor_configuration %} |
228 static const V8DOMConfiguration::AccessorConfiguration {{v8_class}}Accessors[] =
{ | 228 static const V8DOMConfiguration::AccessorConfiguration {{v8_class}}Accessors[] =
{ |
229 {% for attribute in attributes | 229 {% for attribute in attributes |
230 if (attribute.is_expose_js_accessors and | 230 if (attribute.is_expose_js_accessors and |
231 not (attribute.is_static or | 231 not (attribute.is_static or |
232 attribute.runtime_enabled_function or | 232 attribute.runtime_enabled_function or |
233 attribute.per_context_enabled_function or | 233 attribute.per_context_enabled_function or |
234 attribute.exposed_test) and | 234 attribute.exposed_test) and |
235 attribute.should_be_exposed_to_script) %} | 235 attribute.should_be_exposed_to_script) %} |
| 236 {% filter conditional(attribute.conditional_string) %} |
236 {{attribute_configuration(attribute)}}, | 237 {{attribute_configuration(attribute)}}, |
| 238 {% endfilter %} |
237 {% endfor %} | 239 {% endfor %} |
238 }; | 240 }; |
239 | 241 |
240 {% endif %} | 242 {% endif %} |
241 {% endblock %} | 243 {% endblock %} |
242 {##############################################################################} | 244 {##############################################################################} |
243 {% block install_methods %} | 245 {% block install_methods %} |
244 {% from 'methods.cpp' import method_configuration with context %} | 246 {% from 'methods.cpp' import method_configuration with context %} |
245 {% if method_configuration_methods %} | 247 {% if method_configuration_methods %} |
246 static const V8DOMConfiguration::MethodConfiguration {{v8_class}}Methods[] = { | 248 static const V8DOMConfiguration::MethodConfiguration {{v8_class}}Methods[] = { |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
501 {% endfor %} | 503 {% endfor %} |
502 {% for attribute in attributes if attribute.is_implemented_in_private_script %} | 504 {% for attribute in attributes if attribute.is_implemented_in_private_script %} |
503 {{attribute_getter_implemented_in_private_script(attribute)}} | 505 {{attribute_getter_implemented_in_private_script(attribute)}} |
504 {% if attribute.has_setter %} | 506 {% if attribute.has_setter %} |
505 {{attribute_setter_implemented_in_private_script(attribute)}} | 507 {{attribute_setter_implemented_in_private_script(attribute)}} |
506 {% endif %} | 508 {% endif %} |
507 {% endfor %} | 509 {% endfor %} |
508 {% block partial_interface %}{% endblock %} | 510 {% block partial_interface %}{% endblock %} |
509 } // namespace blink | 511 } // namespace blink |
510 {% endfilter %} | 512 {% endfilter %} |
OLD | NEW |