Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(359)

Side by Side Diff: Source/bindings/templates/interface_base.cpp

Issue 1154943009: bindings: Remove [EventConstructor] and [InitializedByEventConstructor] (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 {{method_configuration(method)}}, 256 {{method_configuration(method)}},
257 {% endfilter %} 257 {% endfilter %}
258 {% endfor %} 258 {% endfor %}
259 }; 259 };
260 260
261 {% endif %} 261 {% endif %}
262 {% endblock %} 262 {% endblock %}
263 {% endif %}{# not is_array_buffer_or_view #} 263 {% endif %}{# not is_array_buffer_or_view #}
264 {##############################################################################} 264 {##############################################################################}
265 {% block named_constructor %}{% endblock %} 265 {% block named_constructor %}{% endblock %}
266 {% block initialize_event %}{% endblock %}
267 {% block constructor_callback %}{% endblock %} 266 {% block constructor_callback %}{% endblock %}
268 {% block configure_shadow_object_template %}{% endblock %} 267 {% block configure_shadow_object_template %}{% endblock %}
269 {##############################################################################} 268 {##############################################################################}
270 {% block install_dom_template %} 269 {% block install_dom_template %}
271 {% if not is_array_buffer_or_view %} 270 {% if not is_array_buffer_or_view %}
272 {% from 'methods.cpp' import install_custom_signature with context %} 271 {% from 'methods.cpp' import install_custom_signature with context %}
273 {% from 'attributes.cpp' import attribute_configuration with context %} 272 {% from 'attributes.cpp' import attribute_configuration with context %}
274 {% from 'constants.cpp' import install_constants with context %} 273 {% from 'constants.cpp' import install_constants with context %}
275 {% if has_partial_interface or is_partial %} 274 {% if has_partial_interface or is_partial %}
276 void {{v8_class_or_partial}}::install{{v8_class}}Template(v8::Local<v8::Function Template> functionTemplate, v8::Isolate* isolate) 275 void {{v8_class_or_partial}}::install{{v8_class}}Template(v8::Local<v8::Function Template> functionTemplate, v8::Isolate* isolate)
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 {% endfor %} 493 {% endfor %}
495 {% for attribute in attributes if attribute.is_implemented_in_private_script %} 494 {% for attribute in attributes if attribute.is_implemented_in_private_script %}
496 {{attribute_getter_implemented_in_private_script(attribute)}} 495 {{attribute_getter_implemented_in_private_script(attribute)}}
497 {% if attribute.has_setter %} 496 {% if attribute.has_setter %}
498 {{attribute_setter_implemented_in_private_script(attribute)}} 497 {{attribute_setter_implemented_in_private_script(attribute)}}
499 {% endif %} 498 {% endif %}
500 {% endfor %} 499 {% endfor %}
501 {% block partial_interface %}{% endblock %} 500 {% block partial_interface %}{% endblock %}
502 } // namespace blink 501 } // namespace blink
503 {% endfilter %} 502 {% endfilter %}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698