Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // This file has been auto-generated by {{code_generator}}. DO NOT MODIFY! | 5 // This file has been auto-generated by {{code_generator}}. DO NOT MODIFY! |
| 6 | 6 |
| 7 #include "config.h" | 7 #include "config.h" |
| 8 {% filter conditional(conditional_string) %} | 8 {% filter conditional(conditional_string) %} |
| 9 #include "{{v8_class}}.h" | 9 #include "{{v8_class}}.h" |
| 10 | 10 |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 102 {% if not method.overload_index or method.overloads %} | 102 {% if not method.overload_index or method.overloads %} |
| 103 {# A single callback is generated for overloaded methods #} | 103 {# A single callback is generated for overloaded methods #} |
| 104 {{method_callback(method, world_suffix)}} | 104 {{method_callback(method, world_suffix)}} |
| 105 {% endif %} | 105 {% endif %} |
| 106 {% if method.is_do_not_check_security %} | 106 {% if method.is_do_not_check_security %} |
| 107 {{origin_safe_method_getter(method, world_suffix)}} | 107 {{origin_safe_method_getter(method, world_suffix)}} |
| 108 {% endif %} | 108 {% endif %} |
| 109 {% endfor %} | 109 {% endfor %} |
| 110 {% endif %} | 110 {% endif %} |
| 111 {% endfor %} | 111 {% endfor %} |
| 112 {% if iterator_method %} | |
| 113 {% for world_suffix in iterator_method.world_suffixes %} | |
|
haraken
2014/08/25 06:22:00
Ditto. You don't need to support per-world-binding
yhirano
2014/08/25 06:54:58
Done.
| |
| 114 {{generate_method(iterator_method, world_suffix)}} | |
| 115 {{method_callback(iterator_method, world_suffix)}} | |
| 116 {% endfor %} | |
| 117 {% endif %} | |
| 112 {% block origin_safe_method_setter %}{% endblock %} | 118 {% block origin_safe_method_setter %}{% endblock %} |
| 113 {# Constructors #} | 119 {# Constructors #} |
| 114 {% for constructor in constructors %} | 120 {% for constructor in constructors %} |
| 115 {{generate_constructor(constructor)}} | 121 {{generate_constructor(constructor)}} |
| 116 {% endfor %} | 122 {% endfor %} |
| 117 {% block overloaded_constructor %}{% endblock %} | 123 {% block overloaded_constructor %}{% endblock %} |
| 118 {% block event_constructor %}{% endblock %} | 124 {% block event_constructor %}{% endblock %} |
| 119 {# Special operations (methods) #} | 125 {# Special operations (methods) #} |
| 120 {% block indexed_property_getter %}{% endblock %} | 126 {% block indexed_property_getter %}{% endblock %} |
| 121 {% block indexed_property_getter_callback %}{% endblock %} | 127 {% block indexed_property_getter_callback %}{% endblock %} |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 160 {{method_implemented_in_private_script(method)}} | 166 {{method_implemented_in_private_script(method)}} |
| 161 {% endfor %} | 167 {% endfor %} |
| 162 {% for attribute in attributes if attribute.is_implemented_in_private_script %} | 168 {% for attribute in attributes if attribute.is_implemented_in_private_script %} |
| 163 {{attribute_getter_implemented_in_private_script(attribute)}} | 169 {{attribute_getter_implemented_in_private_script(attribute)}} |
| 164 {% if not attribute.is_read_only or attribute.put_forwards %} | 170 {% if not attribute.is_read_only or attribute.put_forwards %} |
| 165 {{attribute_setter_implemented_in_private_script(attribute)}} | 171 {{attribute_setter_implemented_in_private_script(attribute)}} |
| 166 {% endif %} | 172 {% endif %} |
| 167 {% endfor %} | 173 {% endfor %} |
| 168 } // namespace blink | 174 } // namespace blink |
| 169 {% endfilter %} | 175 {% endfilter %} |
| OLD | NEW |