Index: third_party/WebKit/Source/bindings/templates/web_module_interface.cc.tmpl |
diff --git a/third_party/WebKit/Source/bindings/templates/web_module_interface.cc.tmpl b/third_party/WebKit/Source/bindings/templates/web_module_interface.cc.tmpl |
deleted file mode 100644 |
index 3bcfc3e687d4d6c327991a91795d6fdcf920b4b1..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/Source/bindings/templates/web_module_interface.cc.tmpl |
+++ /dev/null |
@@ -1,48 +0,0 @@ |
-{% filter format_blink_cpp_source_code %} |
- |
-{% include 'copyright_block.txt' %} |
- |
-#include "web/api/{{class_name.snake_case}}.h" |
- |
-// TODO(dglazkov): Properly sort the includes. |
-{% for filename in cpp_includes %} |
-#include "{{filename}}" |
-{% endfor %} |
- |
-namespace web { |
- |
-{{class_name.upper_camel_case}}* {{class_name.upper_camel_case}}::Create(blink::{{class_name.upper_camel_case}}* {{class_name.snake_case}}) { |
- return {{class_name.snake_case}} ? new {{class_name.upper_camel_case}}({{class_name.snake_case}}) : nullptr; |
-} |
- |
-{% if not base_class %} |
-DEFINE_TRACE({{class_name.upper_camel_case}}) { |
- visitor->trace({{class_name.snake_case}}_); |
-} |
-{% endif %} |
- |
-// TODO(dglazkov): Implement constant generation |
-{% for constant in constants %} |
-// {{ constant.name }} |
-{% endfor %} |
- |
-// TODO(dglazkov): Implement attribute getter/setter generation |
-{% for attribute in attributes %} |
-// {{attribute.return_type}} {{attribute.name}} |
-{% endfor %} |
- |
-// TODO(dglazkov): Implement method generation |
-{% for method in methods %} |
-// {{method.return_type}} {{class_name.upper_camel_case}}::{{method.name}} |
-{% endfor %} |
- |
-{{class_name.upper_camel_case}}::{{class_name.upper_camel_case}}(blink::{{class_name.upper_camel_case}}* {{class_name.snake_case}}) |
- : {{class_name.snake_case}}_({{class_name.snake_case}}) {} |
- |
-blink::{{class_name.upper_camel_case}}* {{class_name.upper_camel_case}}::{{class_name.snake_case}}() const { |
- return {{class_name.snake_case}}_; |
-} |
- |
-} // namespace web |
- |
-{% endfilter %} |