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

Unified Diff: mojo/public/tools/bindings/generators/dart_templates/module.lib.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/module.lib.tmpl
diff --git a/mojo/public/tools/bindings/generators/dart_templates/module.lib.tmpl b/mojo/public/tools/bindings/generators/dart_templates/module.lib.tmpl
index 6a67a3c2f39c1e2fe9341e60761ac848f056eb3d..617351098614b111dbcb3fede3aa756bca1aac3e 100644
--- a/mojo/public/tools/bindings/generators/dart_templates/module.lib.tmpl
+++ b/mojo/public/tools/bindings/generators/dart_templates/module.lib.tmpl
@@ -9,9 +9,10 @@ import 'dart:async';
{%- endif %}
{%- if should_gen_mojom_types %}
import 'dart:collection';
+import 'dart:typed_data';
{%- endif %}
-{%- if module.structs or module.unions or module.interfaces or module.enums %}
+{%- if module.structs or module.unions or module.interfaces or module.enums or should_gen_mojom_types%}
import 'package:mojo/bindings.dart' as bindings;
{%- endif %}
{%- if module.interfaces or has_handles %}

Powered by Google App Engine
This is Rietveld 408576698