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

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

Issue 2301993002: binding: Introduces ExceptionToPromiseScope. (Closed)
Patch Set: . Created 4 years, 3 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
OLDNEW
1 {% filter format_blink_cpp_source_code %} 1 {% filter format_blink_cpp_source_code %}
2 2
3 {% include 'copyright_block.txt' %} 3 {% include 'copyright_block.txt' %}
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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 method_callback, origin_safe_method_getter, generate_constructor, 144 method_callback, origin_safe_method_getter, generate_constructor,
145 method_implemented_in_private_script, generate_post_message_impl, 145 method_implemented_in_private_script, generate_post_message_impl,
146 runtime_determined_length_method, runtime_determined_maxarg_method 146 runtime_determined_length_method, runtime_determined_maxarg_method
147 with context %} 147 with context %}
148 {% for method in methods if method.should_be_exposed_to_script %} 148 {% for method in methods if method.should_be_exposed_to_script %}
149 {% for world_suffix in method.world_suffixes %} 149 {% for world_suffix in method.world_suffixes %}
150 {% if not method.is_custom and not method.is_post_message and method.visible %} 150 {% if not method.is_custom and not method.is_post_message and method.visible %}
151 {{generate_method(method, world_suffix)}} 151 {{generate_method(method, world_suffix)}}
152 {% endif %} 152 {% endif %}
153 {% if method.is_post_message %} 153 {% if method.is_post_message %}
154 {{generate_post_message_impl()}} 154 {{generate_post_message_impl(method)}}
155 {% endif %} 155 {% endif %}
156 {% if method.overloads and method.overloads.visible %} 156 {% if method.overloads and method.overloads.visible %}
157 {% if method.overloads.runtime_determined_lengths %} 157 {% if method.overloads.runtime_determined_lengths %}
158 {{runtime_determined_length_method(method.overloads)}} 158 {{runtime_determined_length_method(method.overloads)}}
159 {% endif %} 159 {% endif %}
160 {% if method.overloads.runtime_determined_maxargs %} 160 {% if method.overloads.runtime_determined_maxargs %}
161 {{runtime_determined_maxarg_method(method.overloads)}} 161 {{runtime_determined_maxarg_method(method.overloads)}}
162 {% endif %} 162 {% endif %}
163 {{overload_resolution_method(method.overloads, world_suffix)}} 163 {{overload_resolution_method(method.overloads, world_suffix)}}
164 {% endif %} 164 {% endif %}
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 {% for attribute in attributes if attribute.is_implemented_in_private_script %} 457 {% for attribute in attributes if attribute.is_implemented_in_private_script %}
458 {{attribute_getter_implemented_in_private_script(attribute)}} 458 {{attribute_getter_implemented_in_private_script(attribute)}}
459 {% if attribute.has_setter %} 459 {% if attribute.has_setter %}
460 {{attribute_setter_implemented_in_private_script(attribute)}} 460 {{attribute_setter_implemented_in_private_script(attribute)}}
461 {% endif %} 461 {% endif %}
462 {% endfor %} 462 {% endfor %}
463 {% block partial_interface %}{% endblock %} 463 {% block partial_interface %}{% endblock %}
464 } // namespace blink 464 } // namespace blink
465 465
466 {% endfilter %}{# format_blink_cpp_source_code #} 466 {% endfilter %}{# format_blink_cpp_source_code #}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698