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

Side by Side Diff: third_party/WebKit/Source/bindings/templates/web_module_interface.cpp.tmpl

Issue 2495033003: Stop using v8_interface.interface_context in Web modules bindings. (Closed)
Patch Set: Removed the comment. Created 4 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
OLDNEW
1 {% filter format_blink_cpp_source_code %} 1 {% filter format_blink_cpp_source_code %}
2 2
3 {% include 'copyright_block.txt' %} 3 {% include 'copyright_block.txt' %}
4 // clang-format on 4 // clang-format on
5 5
6 #include "Web{{class_name}}.h" 6 #include "Web{{class_name}}.h"
7 7
8 // TODO(dglazkov): Implement generating includes. 8 // TODO(dglazkov): Implement generating includes.
9 {% for filename in cpp_includes %} 9 {% for filename in cpp_includes %}
10 #include "{{filename}}" 10 #include "Web{{filename}}.h"
11 {% endfor %} 11 {% endfor %}
12 12
13 namespace blink { 13 namespace blink {
14 namespace api { 14 namespace api {
15 15
16 // TODO(dglazkov): Implement constant generation 16 // TODO(dglazkov): Implement constant generation
17 {% for constant in constants %} 17 {% for constant in constants %}
18 // {{ constant.name }} 18 // {{ constant.name }}
19 {% endfor %} 19 {% endfor %}
20 20
21 // TODO(dglazkov): Implement constructor generation 21 // TODO(dglazkov): Implement constructor generation
22 22
23 // TODO(dglazkov): Implement attribute getter/setter generation 23 // TODO(dglazkov): Implement attribute getter/setter generation
24 {% for attribute in attributes %} 24 {% for attribute in attributes %}
25 // {{attribute.name}} 25 // {{attribute.return_type}} {{attribute.name}}
26 {% endfor %} 26 {% endfor %}
27 27
28 // TODO(dglazkov): Implement method generation 28 // TODO(dglazkov): Implement method generation
29 {% for method in methods %} 29 {% for method in methods %}
30 // {{method.cpp_type}} Cpp{{class_name}}::{{method.name}} 30 // {{method.return_type}} Cpp{{class_name}}::{{method.name}}
31 {% endfor %} 31 {% endfor %}
32 32
33 } // namespace api 33 } // namespace api
34 } // namespace blink 34 } // namespace blink
35 35
36 {% endfilter %} 36 {% endfilter %}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698