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

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

Issue 226263002: Mojo: Move mojo/public/bindings to mojo/public/tools/bindings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 years, 8 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 | Annotate | Revision Log
OLDNEW
1 enum {{enum.name}} { 1 enum {{enum.name}} {
2 {%- for field in enum.fields %} 2 {%- for field in enum.fields %}
3 {%- if field.value %} 3 {%- if field.value %}
4 {{field.name}} = {{field.value|expression_to_text(module)}}, 4 {{field.name}} = {{field.value|expression_to_text(module)}},
5 {%- else %} 5 {%- else %}
6 {{field.name}}, 6 {{field.name}},
7 {%- endif %} 7 {%- endif %}
8 {%- endfor %} 8 {%- endfor %}
9 }; 9 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698