| OLD | NEW |
| (Empty) | |
| 1 {% filter format_blink_cpp_source_code %} |
| 2 |
| 3 {% include 'copyright_block.txt' %} |
| 4 // clang-format on |
| 5 |
| 6 #include "Web{{class_name}}.h" |
| 7 |
| 8 // TODO(dglazkov): Implement generating includes. |
| 9 {% for filename in cpp_includes %} |
| 10 #include "{{filename}}" |
| 11 {% endfor %} |
| 12 |
| 13 namespace blink { |
| 14 namespace api { |
| 15 |
| 16 // TODO(dglazkov): Implement constant generation |
| 17 {% for constant in constants %} |
| 18 // {{ constant.name }} |
| 19 {% endfor %} |
| 20 |
| 21 // TODO(dglazkov): Implement constructor generation |
| 22 |
| 23 // TODO(dglazkov): Implement attribute getter/setter generation |
| 24 {% for attribute in attributes %} |
| 25 // {{attribute.name}} |
| 26 {% endfor %} |
| 27 |
| 28 // TODO(dglazkov): Implement method generation |
| 29 {% for method in methods %} |
| 30 // {{method.cpp_type}} Cpp{{class_name}}::{{method.name}} |
| 31 {% endfor %} |
| 32 |
| 33 } // namespace api |
| 34 } // namespace blink |
| 35 |
| 36 {% endfilter %} |
| OLD | NEW |