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

Side by Side Diff: mojo/public/tools/bindings/generators/dart_templates/module_definition.tmpl

Issue 830593003: Update mojo sdk to rev 9fbbc4f0fef1187312316c0ed992342474e139f1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cherry-pick mojo 9d3b8dd17f12d20035a14737fdc38dd926890ff8 Created 5 years, 11 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 unified diff | Download patch
OLDNEW
1 {#--- Constants #} 1 {#--- Constants #}
2 {%- for constant in module.constants %} 2 {%- for constant in module.constants %}
3 final {{constant.name}} = {{constant.value|expression_to_text}}; 3 final {{constant.name}} = {{constant.value|expression_to_text}};
4 {%- endfor %} 4 {%- endfor %}
5 5
6 {#--- Enums #} 6 {#--- Enums #}
7 {%- from "enum_definition.tmpl" import enum_def %} 7 {%- from "enum_definition.tmpl" import enum_def %}
8 {%- for enum in enums %} 8 {%- for enum in enums %}
9 {{ enum_def("", enum) }} 9 {{ enum_def("", enum) }}
10 {%- endfor %} 10 {%- endfor %}
11 11
12 {#--- Struct definitions #} 12 {#--- Struct definitions #}
13 {%- from "struct_definition.tmpl" import struct_def %}
13 {% for struct in structs %} 14 {% for struct in structs %}
14 {%- include "struct_definition.tmpl" %} 15 {{ struct_def(struct) }}
15 {%- endfor -%} 16 {%- endfor -%}
16 17
17 {#--- Interface definitions #} 18 {#--- Interface definitions #}
18 {%- for interface in interfaces -%} 19 {%- for interface in interfaces -%}
19 {%- include "interface_definition.tmpl" %} 20 {%- include "interface_definition.tmpl" %}
20 {%- endfor %} 21 {%- endfor %}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698