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

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: Fixed patch conflict 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
« no previous file with comments | « Source/bindings/templates/partial_interface.h ('k') | Source/bindings/templates/templates.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 {% extends 'interface_base.cpp' %}
2
3 {##############################################################################}
4 {% block partial_interface %}
5 void {{v8_class_or_partial}}::initialize()
6 {
7 // Should be invoked from initModules.
8 {{v8_class}}::updateWrapperTypeInfo(
9 &{{v8_class_or_partial}}::install{{v8_class}}Template,
10 &{{v8_class_or_partial}}::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(&{{cpp_class_or_partial}}V8Internal::{{method.name}}Method);
14 {% endif %}
15 {% endfor %}
16 }
17
18 {% endblock %}
OLDNEW
« no previous file with comments | « Source/bindings/templates/partial_interface.h ('k') | Source/bindings/templates/templates.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698