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

Side by Side Diff: mojo/public/bindings/generators/cpp_templates/enum_declaration.tmpl

Issue 99623010: Add support for enums within structs and interfaces to mojom. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 enum {{enum.name}} {
2 {%- for field in enum.fields %}
3 {%- if field.value %}
4 {{field.name}} = {{field.value}},
5 {%- else %}
6 {{field.name}},
7 {%- endif %}
8 {%- endfor %}
9 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698