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

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

Issue 226243003: Mojo: Get rid of some EOL whitespace in C++ .tmpl files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « mojo/public/tools/bindings/generators/cpp_templates/interface_stub_declaration.tmpl ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 class {{struct.name}} { 1 class {{struct.name}} {
2 public: 2 public:
3 typedef internal::{{struct.name}}_Data Data; 3 typedef internal::{{struct.name}}_Data Data;
4 4
5 {#--- Enums #} 5 {#--- Enums #}
6 {%- for enum in struct.enums -%} 6 {%- for enum in struct.enums -%}
7 {% macro enum_def() %}{% include "enum_declaration.tmpl" %}{% endmacro %} 7 {% macro enum_def() %}{% include "enum_declaration.tmpl" %}{% endmacro %}
8 {{enum_def()|indent(2)}} 8 {{enum_def()|indent(2)}}
9 {%- endfor %} 9 {%- endfor %}
10 10
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 MOJO_DISALLOW_COPY_AND_ASSIGN(Builder); 77 MOJO_DISALLOW_COPY_AND_ASSIGN(Builder);
78 }; 78 };
79 79
80 private: 80 private:
81 friend class mojo::internal::WrapperHelper<{{struct.name}}>; 81 friend class mojo::internal::WrapperHelper<{{struct.name}}>;
82 82
83 struct Wrap {}; 83 struct Wrap {};
84 {{struct.name}}(Wrap, const Data* data) : data_(data) {} 84 {{struct.name}}(Wrap, const Data* data) : data_(data) {}
85 85
86 const Data* data_; 86 const Data* data_;
87 }; 87 };
OLDNEW
« no previous file with comments | « mojo/public/tools/bindings/generators/cpp_templates/interface_stub_declaration.tmpl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698