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

Side by Side Diff: sky/engine/bindings/scripts/templates/callback_interface_cpp.template

Issue 915293003: Rename sky/engine/bindings2 to sky/engine/bindings (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: more better Created 5 years, 10 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 // Copyright 2014 The Dartium Authors. All rights reserved. 1 // Copyright 2014 The Dartium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file has been auto-generated by {{code_generator_dart}}. DO NOT MODIFY! 5 // This file has been auto-generated by {{code_generator_dart}}. DO NOT MODIFY!
6 6
7 #include "sky/engine/config.h" 7 #include "sky/engine/config.h"
8 #include "{{dart_class}}.h" 8 #include "{{dart_class}}.h"
9 9
10 {% for filename in cpp_includes %} 10 {% for filename in cpp_includes %}
(...skipping 29 matching lines...) Expand all
40 Dart_Handle *arguments = 0; 40 Dart_Handle *arguments = 0;
41 {% endif %} 41 {% endif %}
42 42
43 {% set return_with = 'return' 43 {% set return_with = 'return'
44 if method.idl_type == 'boolean' else '' %}{# void #} 44 if method.idl_type == 'boolean' else '' %}{# void #}
45 {{return_with}} callback_.handleEvent({{method.arguments | length}}, argumen ts); 45 {{return_with}} callback_.handleEvent({{method.arguments | length}}, argumen ts);
46 } 46 }
47 47
48 {% endfor %} 48 {% endfor %}
49 } // namespace blink 49 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698