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

Unified Diff: third_party/mojo/src/mojo/public/tools/bindings/generators/dart_templates/module_definition.tmpl

Issue 1179733005: Update mojo sdk to rev bdbb0c7e396fc4044a8b194058d7a7e529715286 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update CommandBufferImpl (Binding::OnConnectionError is no more) Created 5 years, 6 months 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 side-by-side diff with in-line comments
Download patch
Index: third_party/mojo/src/mojo/public/tools/bindings/generators/dart_templates/module_definition.tmpl
diff --git a/third_party/mojo/src/mojo/public/tools/bindings/generators/dart_templates/module_definition.tmpl b/third_party/mojo/src/mojo/public/tools/bindings/generators/dart_templates/module_definition.tmpl
index 8f6906a92a244d8f9d07ea844f681382b510ff53..0c89b6534362b3c334636d459f2175729cdd4dae 100644
--- a/third_party/mojo/src/mojo/public/tools/bindings/generators/dart_templates/module_definition.tmpl
+++ b/third_party/mojo/src/mojo/public/tools/bindings/generators/dart_templates/module_definition.tmpl
@@ -15,6 +15,12 @@ const {{constant.name}} = {{constant.value|expression_to_text}};
{{ struct_def(struct) }}
{%- endfor -%}
+{#--- Union definitions #}
+{%- from "union_definition.tmpl" import union_def %}
+{% for union in unions %}
+{{ union_def(union) }}
+{%- endfor -%}
+
{#--- Interface definitions #}
{%- for interface in interfaces -%}
{%- include "interface_definition.tmpl" %}

Powered by Google App Engine
This is Rietveld 408576698