| 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 7a030238623cef01e45cf74dab417ea83c6cbb3a..e76b919e668f589274c16febc9ab123a5fe65043 100644
|
| --- a/mojo/public/tools/bindings/generators/cpp_templates/interface_definition.tmpl
|
| +++ b/mojo/public/tools/bindings/generators/cpp_templates/interface_definition.tmpl
|
| @@ -49,6 +49,13 @@ params->{{param.name}}()
|
| builder.Finish(&message);
|
| {%- endmacro %}
|
|
|
| +{#--- Begin #}
|
| +
|
| +{#--- Constants #}
|
| +{% for constant in interface.constants %}
|
| +const {{constant.kind|cpp_pod_type}} {{interface.name}}::{{constant.name}} = {{constant.value|expression_to_text(module)}};
|
| +{%- endfor %}
|
| +
|
| {#--- ForwardToCallback definition #}
|
| {%- for method in interface.methods -%}
|
| {%- if method.response_parameters != None %}
|
|
|