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

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

Issue 618373003: [bindings] partial interfaces should not violate componentization (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
(Empty)
1 {% extends 'interface_base.cpp' %}
2
3 {##############################################################################}
4 {% block partial_interface %}
5 void {{actual_v8_class}}::initialize()
6 {
7 // Should be invoked from initModules.
8 {{v8_class}}::updateWrapperTypeInfo(
9 &{{actual_v8_class}}::install{{v8_class}}Template,
10 &{{actual_v8_class}}::installConditionallyEnabledMethods);
11 {% for method in methods %}
12 {% if method.overloads and method.overloads.has_partial_overloads %}
13 {{v8_class}}::register{{method.name | blink_capitalize}}MethodForPartialInte rface(&{{actual_cpp_class}}V8Internal::{{method.name}}Method);
14 {% endif %}
15 {% endfor %}
16 }
17
18 {% endblock %}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698