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

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

Issue 483163003: Introduce ES6 iterator for DOM objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
« no previous file with comments | « Source/bindings/templates/interface.cpp ('k') | Source/bindings/tests/idls/TestInterface.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 {% if not method.overload_index or method.overloads %} 109 {% if not method.overload_index or method.overloads %}
110 {# A single callback is generated for overloaded methods #} 110 {# A single callback is generated for overloaded methods #}
111 {{method_callback(method, world_suffix)}} 111 {{method_callback(method, world_suffix)}}
112 {% endif %} 112 {% endif %}
113 {% if method.is_do_not_check_security %} 113 {% if method.is_do_not_check_security %}
114 {{origin_safe_method_getter(method, world_suffix)}} 114 {{origin_safe_method_getter(method, world_suffix)}}
115 {% endif %} 115 {% endif %}
116 {% endfor %} 116 {% endfor %}
117 {% endif %} 117 {% endif %}
118 {% endfor %} 118 {% endfor %}
119 {% if iterator_method %}
120 {{generate_method(iterator_method)}}
121 {{method_callback(iterator_method)}}
122 {% endif %}
119 {% block origin_safe_method_setter %}{% endblock %} 123 {% block origin_safe_method_setter %}{% endblock %}
120 {# Constructors #} 124 {# Constructors #}
121 {% for constructor in constructors %} 125 {% for constructor in constructors %}
122 {{generate_constructor(constructor)}} 126 {{generate_constructor(constructor)}}
123 {% endfor %} 127 {% endfor %}
124 {% block overloaded_constructor %}{% endblock %} 128 {% block overloaded_constructor %}{% endblock %}
125 {% block event_constructor %}{% endblock %} 129 {% block event_constructor %}{% endblock %}
126 {# Special operations (methods) #} 130 {# Special operations (methods) #}
127 {% block indexed_property_getter %}{% endblock %} 131 {% block indexed_property_getter %}{% endblock %}
128 {% block indexed_property_getter_callback %}{% endblock %} 132 {% block indexed_property_getter_callback %}{% endblock %}
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 {{method_implemented_in_private_script(method)}} 171 {{method_implemented_in_private_script(method)}}
168 {% endfor %} 172 {% endfor %}
169 {% for attribute in attributes if attribute.is_implemented_in_private_script %} 173 {% for attribute in attributes if attribute.is_implemented_in_private_script %}
170 {{attribute_getter_implemented_in_private_script(attribute)}} 174 {{attribute_getter_implemented_in_private_script(attribute)}}
171 {% if not attribute.is_read_only or attribute.put_forwards %} 175 {% if not attribute.is_read_only or attribute.put_forwards %}
172 {{attribute_setter_implemented_in_private_script(attribute)}} 176 {{attribute_setter_implemented_in_private_script(attribute)}}
173 {% endif %} 177 {% endif %}
174 {% endfor %} 178 {% endfor %}
175 } // namespace blink 179 } // namespace blink
176 {% endfilter %} 180 {% endfilter %}
OLDNEW
« no previous file with comments | « Source/bindings/templates/interface.cpp ('k') | Source/bindings/tests/idls/TestInterface.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698