Index: mojo/public/tools/bindings/generators/cpp_templates/interface_definition.tmpl |
diff --git a/mojo/public/tools/bindings/generators/cpp_templates/interface_definition.tmpl b/mojo/public/tools/bindings/generators/cpp_templates/interface_definition.tmpl |
index df2ee80ab5a4207f83df0a3a5c6ae7af3574e8fd..0b49e9a318199aa7980df24f44a686443cdc6356 100644 |
--- a/mojo/public/tools/bindings/generators/cpp_templates/interface_definition.tmpl |
+++ b/mojo/public/tools/bindings/generators/cpp_templates/interface_definition.tmpl |
@@ -1,6 +1,5 @@ |
{%- import "interface_macros.tmpl" as interface_macros %} |
{%- import "struct_macros.tmpl" as struct_macros %} |
-{%- from "enum_macros.tmpl" import is_valid_enum_def %} |
{%- set class_name = interface.name %} |
{%- set proxy_name = interface.name ~ "Proxy" %} |
@@ -45,11 +44,6 @@ MOJO_STATIC_CONST_MEMBER_DEFINITION const {{constant.kind|cpp_pod_type}} {{inter |
{%- endif %} |
{%- endfor %} |
-{#--- Enums #} |
-{%- for enum in interface.enums %} |
- {{is_valid_enum_def(enum, class_name=interface.name)|indent(2)}} |
-{%- endfor %} |
- |
{#--- ForwardToCallback definition #} |
{%- for method in interface.methods -%} |
{%- if method.response_parameters != None %} |