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

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

Issue 2573013002: Add inheritance support to Webmodules template. (Closed)
Patch Set: Whoops, forgot 'public'. Created 4 years 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
« no previous file with comments | « third_party/WebKit/Source/bindings/scripts/code_generator_web_module_test.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 4
5 // TODO(dglazkov): Use chromium-style path. 5 // TODO(dglazkov): Use chromium-style path.
6 #ifndef {{class_name}}_h 6 #ifndef {{class_name}}_h
7 #define {{class_name}}_h 7 #define {{class_name}}_h
8 8
9 {% for include_file in header_includes %} 9 {% for include_file in header_includes %}
10 #include "{{include_file}}" 10 #include "{{include_file}}"
11 {% endfor %} 11 {% endfor %}
12 12
13 namespace blink { 13 namespace blink {
14 namespace api { 14 namespace api {
15 15
16 class {{class_name}} { 16 class {{class_name}}{{inherits_expression}} {
17 17
18 }; 18 };
19 19
20 } // namespace api 20 } // namespace api
21 } // namespace blink 21 } // namespace blink
22 22
23 #endif // {{class_name}}_h 23 #endif // {{class_name}}_h
24 24
25 {% endfilter %} 25 {% endfilter %}
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/bindings/scripts/code_generator_web_module_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698