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

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

Issue 58963002: IDL compiler: [ActivityLogging] for methods (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 {% endif %} 86 {% endif %}
87 {{attribute_setter_callback(attribute, world_suffix)}} 87 {{attribute_setter_callback(attribute, world_suffix)}}
88 {% endif %} 88 {% endif %}
89 {% endfor %} 89 {% endfor %}
90 {% endfor %} 90 {% endfor %}
91 {% block constructor_getter %}{% endblock %} 91 {% block constructor_getter %}{% endblock %}
92 {% block replaceable_attribute_setter_and_callback %}{% endblock %} 92 {% block replaceable_attribute_setter_and_callback %}{% endblock %}
93 {# Methods #} 93 {# Methods #}
94 {% from 'methods.cpp' import generate_method, method_callback with context %} 94 {% from 'methods.cpp' import generate_method, method_callback with context %}
95 {% for method in methods %} 95 {% for method in methods %}
96 {% set world_suffix = '' %}
Nils Barth (inactive) 2013/11/05 05:18:42 I'll do [PerWorldBindings] later; using this |set|
96 {{generate_method(method)}} 97 {{generate_method(method)}}
97 {{method_callback(method)}} 98 {{method_callback(method, world_suffix)}}
98 {% endfor %} 99 {% endfor %}
99 } // namespace {{cpp_class_name}}V8Internal 100 } // namespace {{cpp_class_name}}V8Internal
100 101
101 {% block class_attributes %}{% endblock %} 102 {% block class_attributes %}{% endblock %}
102 {% block class_methods %}{% endblock %} 103 {% block class_methods %}{% endblock %}
103 {% block configure_class_template %}{% endblock %} 104 {% block configure_class_template %}{% endblock %}
104 {% block get_template %}{% endblock %} 105 {% block get_template %}{% endblock %}
105 {% block has_instance_and_has_instance_in_any_world %}{% endblock %} 106 {% block has_instance_and_has_instance_in_any_world %}{% endblock %}
106 {% block install_per_context_attributes %}{% endblock %} 107 {% block install_per_context_attributes %}{% endblock %}
107 {% block create_wrapper_and_deref_object %}{% endblock %} 108 {% block create_wrapper_and_deref_object %}{% endblock %}
108 } // namespace WebCore 109 } // namespace WebCore
109 {% if conditional_string %} 110 {% if conditional_string %}
110 111
111 #endif // {{conditional_string}} 112 #endif // {{conditional_string}}
112 {% endif %} 113 {% endif %}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698