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

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

Issue 148083004: IDL compiler: anonymous indexed property getters (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 6 years, 11 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 {# http://www.chromium.org/blink/coding-style#TOC-License #} 1 {# http://www.chromium.org/blink/coding-style#TOC-License #}
2 /* 2 /*
3 * Copyright (C) 2013 Google Inc. All rights reserved. 3 * Copyright (C) 2013 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 {% if not attribute.has_custom_setter %} 92 {% if not attribute.has_custom_setter %}
93 {{attribute_setter(attribute, world_suffix)}} 93 {{attribute_setter(attribute, world_suffix)}}
94 {% endif %} 94 {% endif %}
95 {{attribute_setter_callback(attribute, world_suffix)}} 95 {{attribute_setter_callback(attribute, world_suffix)}}
96 {% endif %} 96 {% endif %}
97 {% endfor %} 97 {% endfor %}
98 {% endfor %} 98 {% endfor %}
99 {% block constructor_getter %}{% endblock %} 99 {% block constructor_getter %}{% endblock %}
100 {% block replaceable_attribute_setter_and_callback %}{% endblock %} 100 {% block replaceable_attribute_setter_and_callback %}{% endblock %}
101 {% block security_check_functions %}{% endblock %} 101 {% block security_check_functions %}{% endblock %}
102 {# Special operations (methods) #}
103 {% block anonymous_indexed_property_getter_and_callback %}{% endblock %}
102 {# Methods #} 104 {# Methods #}
103 {% from 'methods.cpp' import generate_method, overload_resolution_method, 105 {% from 'methods.cpp' import generate_method, overload_resolution_method,
104 method_callback, origin_safe_method_getter, generate_constructor 106 method_callback, origin_safe_method_getter, generate_constructor
105 with context %} 107 with context %}
106 {% for method in methods %} 108 {% for method in methods %}
107 {% for world_suffix in method.world_suffixes %} 109 {% for world_suffix in method.world_suffixes %}
108 {% if not method.is_custom %} 110 {% if not method.is_custom %}
109 {{generate_method(method, world_suffix)}} 111 {{generate_method(method, world_suffix)}}
110 {% endif %} 112 {% endif %}
111 {% if method.overloads %} 113 {% if method.overloads %}
(...skipping 29 matching lines...) Expand all
141 {% block has_instance %}{% endblock %} 143 {% block has_instance %}{% endblock %}
142 {% block install_per_context_attributes %}{% endblock %} 144 {% block install_per_context_attributes %}{% endblock %}
143 {% block install_per_context_methods %}{% endblock %} 145 {% block install_per_context_methods %}{% endblock %}
144 {% block to_active_dom_object %}{% endblock %} 146 {% block to_active_dom_object %}{% endblock %}
145 {% block to_event_target %}{% endblock %} 147 {% block to_event_target %}{% endblock %}
146 {% block wrap %}{% endblock %} 148 {% block wrap %}{% endblock %}
147 {% block create_wrapper %}{% endblock %} 149 {% block create_wrapper %}{% endblock %}
148 {% block deref_object_and_to_v8_no_inline %}{% endblock %} 150 {% block deref_object_and_to_v8_no_inline %}{% endblock %}
149 } // namespace WebCore 151 } // namespace WebCore
150 {% endfilter %} 152 {% endfilter %}
OLDNEW
« no previous file with comments | « Source/bindings/templates/interface.cpp ('k') | Source/bindings/tests/idls/TestSpecialOperations.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698