OLD | NEW |
| (Empty) |
1 {#- Copyright 2014 The Chromium Authors. All rights reserved. -#} | |
2 {#- Use of this source code is governed by a BSD-style license that can be -#} | |
3 {#- found in the LICENSE file. -#} | |
4 // WARNING: DO NOT EDIT. This file was generated by a program. | |
5 // See $MOJO_SDK/tools/bindings/mojom_bindings_generator.py. | |
6 | |
7 library {{module.name|dot_to_underscore}}; | |
8 | |
9 {%- if needs_dart_async %} | |
10 import 'dart:async'; | |
11 {%- endif %} | |
12 {%- if should_gen_mojom_types %} | |
13 import 'dart:collection'; | |
14 import 'dart:convert'; | |
15 import 'dart:io'; | |
16 import 'dart:typed_data'; | |
17 {%- endif %} | |
18 | |
19 {%- if module.structs or module.unions or module.interfaces or module.enums or s
hould_gen_mojom_types%} | |
20 import 'package:mojo/bindings.dart' as bindings; | |
21 {%- endif %} | |
22 {%- if module.interfaces or has_handles %} | |
23 import 'package:mojo/core.dart' as core; | |
24 {%- endif %} | |
25 {%- if should_gen_mojom_types %} | |
26 {{mojom_types_import}} | |
27 {%- endif %} | |
28 {{service_describer_import}} | |
29 | |
30 {%- for import in imports %} | |
31 import 'package:{{import.rebased_path}}.dart' as {{import.unique_name}}; | |
32 {%- endfor %} | |
33 | |
34 {%- include "module_definition.tmpl" %} | |
OLD | NEW |