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

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

Issue 31503002: IDL compiler: [ActivityLogging] for setters (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 7 years, 2 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 {# FIXME: update copyright and license header #} 1 {# FIXME: update copyright and license header #}
2 /* 2 /*
3 This file is part of the Blink open source project. 3 This file is part of the Blink open source project.
4 This file has been auto-generated by CodeGeneratorV8.pm. DO NOT MODIFY! 4 This file has been auto-generated by CodeGeneratorV8.pm. DO NOT MODIFY!
5 5
6 This library is free software; you can redistribute it and/or 6 This library is free software; you can redistribute it and/or
7 modify it under the terms of the GNU Library General Public 7 modify it under the terms of the GNU Library General Public
8 License as published by the Free Software Foundation; either 8 License as published by the Free Software Foundation; either
9 version 2 of the License, or (at your option) any later version. 9 version 2 of the License, or (at your option) any later version.
10 10
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 {% from 'attributes.cpp' import attribute_getter, attribute_getter_callback, 60 {% from 'attributes.cpp' import attribute_getter, attribute_getter_callback,
61 attribute_setter, attribute_setter_callback 61 attribute_setter, attribute_setter_callback
62 with context %} 62 with context %}
63 {% for attribute in attributes %} 63 {% for attribute in attributes %}
64 {% for world_suffix in attribute.world_suffixes %} 64 {% for world_suffix in attribute.world_suffixes %}
65 {% if not attribute.has_custom_getter %} 65 {% if not attribute.has_custom_getter %}
66 {{attribute_getter(attribute, world_suffix)}} 66 {{attribute_getter(attribute, world_suffix)}}
67 {% endif %} 67 {% endif %}
68 {{attribute_getter_callback(attribute, world_suffix)}} 68 {{attribute_getter_callback(attribute, world_suffix)}}
69 {% endfor %} 69 {% endfor %}
70 {# FIXME: merge these 2 for loops #}
71 {% for world_suffix in attribute.world_suffixes %}
70 {% if attribute.has_setter %} 72 {% if attribute.has_setter %}
71 {% if not attribute.has_custom_setter %} 73 {% if not attribute.has_custom_setter %}
72 {{attribute_setter(attribute, world_suffix)}} 74 {{attribute_setter(attribute, world_suffix)}}
73 {% endif %} 75 {% endif %}
74 {{attribute_setter_callback(attribute, world_suffix)}} 76 {{attribute_setter_callback(attribute, world_suffix)}}
75 {% endif %} 77 {% endif %}
76 {% endfor %} 78 {% endfor %}
79 {% endfor %}
77 } // namespace {{cpp_class_name}}V8Internal 80 } // namespace {{cpp_class_name}}V8Internal
78 81
79 {% block class_attributes %}{% endblock %} 82 {% block class_attributes %}{% endblock %}
80 {% block configure_class_template %}{% endblock %} 83 {% block configure_class_template %}{% endblock %}
81 {% block get_template %}{% endblock %} 84 {% block get_template %}{% endblock %}
82 {% block has_instance_and_has_instance_in_any_world %}{% endblock %} 85 {% block has_instance_and_has_instance_in_any_world %}{% endblock %}
83 {% block install_per_context_attributes %}{% endblock %} 86 {% block install_per_context_attributes %}{% endblock %}
84 {% block create_wrapper_and_deref_object %}{% endblock %} 87 {% block create_wrapper_and_deref_object %}{% endblock %}
85 } // namespace WebCore 88 } // namespace WebCore
86 {% if conditional_string %} 89 {% if conditional_string %}
87 90
88 #endif // {{conditional_string}} 91 #endif // {{conditional_string}}
89 {% endif %} 92 {% endif %}
OLDNEW
« no previous file with comments | « Source/bindings/templates/attributes.cpp ('k') | Source/bindings/tests/idls/TestObjectPython.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698