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

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

Issue 1876383003: Introduce infrastructure for tracing ScriptWrappables. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Incorporate Haraken's wonderful comments Created 4 years, 8 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 {% 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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 {% block named_property_setter_callback %}{% endblock %} 167 {% block named_property_setter_callback %}{% endblock %}
168 {% block named_property_query %}{% endblock %} 168 {% block named_property_query %}{% endblock %}
169 {% block named_property_query_callback %}{% endblock %} 169 {% block named_property_query_callback %}{% endblock %}
170 {% block named_property_deleter %}{% endblock %} 170 {% block named_property_deleter %}{% endblock %}
171 {% block named_property_deleter_callback %}{% endblock %} 171 {% block named_property_deleter_callback %}{% endblock %}
172 {% block named_property_enumerator %}{% endblock %} 172 {% block named_property_enumerator %}{% endblock %}
173 {% block named_property_enumerator_callback %}{% endblock %} 173 {% block named_property_enumerator_callback %}{% endblock %}
174 } // namespace {{cpp_class_or_partial}}V8Internal 174 } // namespace {{cpp_class_or_partial}}V8Internal
175 175
176 {% block visit_dom_wrapper %}{% endblock %} 176 {% block visit_dom_wrapper %}{% endblock %}
177 {% block trace_wrapper_references %}{% endblock %}
177 {##############################################################################} 178 {##############################################################################}
178 {% block install_attributes %} 179 {% block install_attributes %}
179 {% from 'attributes.cpp' import attribute_configuration with context %} 180 {% from 'attributes.cpp' import attribute_configuration with context %}
180 {% if has_attribute_configuration %} 181 {% if has_attribute_configuration %}
181 // Suppress warning: global constructors, because AttributeConfiguration is triv ial 182 // Suppress warning: global constructors, because AttributeConfiguration is triv ial
182 // and does not depend on another global objects. 183 // and does not depend on another global objects.
183 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) 184 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG)
184 #pragma clang diagnostic push 185 #pragma clang diagnostic push
185 #pragma clang diagnostic ignored "-Wglobal-constructors" 186 #pragma clang diagnostic ignored "-Wglobal-constructors"
186 #endif 187 #endif
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 {{method_implemented_in_private_script(method)}} 402 {{method_implemented_in_private_script(method)}}
402 {% endfor %} 403 {% endfor %}
403 {% for attribute in attributes if attribute.is_implemented_in_private_script %} 404 {% for attribute in attributes if attribute.is_implemented_in_private_script %}
404 {{attribute_getter_implemented_in_private_script(attribute)}} 405 {{attribute_getter_implemented_in_private_script(attribute)}}
405 {% if attribute.has_setter %} 406 {% if attribute.has_setter %}
406 {{attribute_setter_implemented_in_private_script(attribute)}} 407 {{attribute_setter_implemented_in_private_script(attribute)}}
407 {% endif %} 408 {% endif %}
408 {% endfor %} 409 {% endfor %}
409 {% block partial_interface %}{% endblock %} 410 {% block partial_interface %}{% endblock %}
410 } // namespace blink 411 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698