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

Unified Diff: mojo/public/tools/bindings/generators/dart_templates/union_definition.tmpl

Issue 1753013002: Mojom runtime type info: New implementation for Dart. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: No changes to sha1s Created 4 years, 10 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: mojo/public/tools/bindings/generators/dart_templates/union_definition.tmpl
diff --git a/mojo/public/tools/bindings/generators/dart_templates/union_definition.tmpl b/mojo/public/tools/bindings/generators/dart_templates/union_definition.tmpl
index 19c8f94071a5e134cb25dea4d63689e30f66b43a..61b4391572c11e43dcee002a73b74258a3fdc084 100644
--- a/mojo/public/tools/bindings/generators/dart_templates/union_definition.tmpl
+++ b/mojo/public/tools/bindings/generators/dart_templates/union_definition.tmpl
@@ -1,7 +1,6 @@
{#--- Begin #}
{%- import "encoding_macros.tmpl" as encoding_macros %}
-{%- import "mojom_type_macros.tmpl" as mojom_type_macros %}
{%- macro enum_def(union) %}
enum {{union|name}}Tag {
{%- for field in union.fields %}
@@ -112,7 +111,4 @@ class {{union|name}} extends bindings.Union {
{{enum_def(union)}}
{{wrapper_def(union)}}
-{% if should_gen_mojom_types -%}
-{{ mojom_type_macros.writeMojomTypeDef(union, typepkg, package) }}
-{%- endif -%}
{%- endmacro %}

Powered by Google App Engine
This is Rietveld 408576698