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

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

Issue 1206763002: Really remove config.h (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 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"
8 #include "{{dart_class}}.h" 7 #include "{{dart_class}}.h"
9 8
10 {% for filename in cpp_includes %} 9 {% for filename in cpp_includes %}
11 #include "{{filename}}" 10 #include "{{filename}}"
12 {% endfor %} 11 {% endfor %}
13 12
14 #include "sky/engine/tonic/dart_api_scope.h" 13 #include "sky/engine/tonic/dart_api_scope.h"
15 #include "sky/engine/tonic/dart_converter.h" 14 #include "sky/engine/tonic/dart_converter.h"
16 #include "sky/engine/tonic/dart_isolate_scope.h" 15 #include "sky/engine/tonic/dart_isolate_scope.h"
17 16
(...skipping 22 matching lines...) Expand all
40 Dart_Handle *arguments = 0; 39 Dart_Handle *arguments = 0;
41 {% endif %} 40 {% endif %}
42 41
43 {% set return_with = 'return' 42 {% set return_with = 'return'
44 if method.idl_type == 'boolean' else '' %}{# void #} 43 if method.idl_type == 'boolean' else '' %}{# void #}
45 {{return_with}} callback_.handleEvent({{method.arguments | length}}, argumen ts); 44 {{return_with}} callback_.handleEvent({{method.arguments | length}}, argumen ts);
46 } 45 }
47 46
48 {% endfor %} 47 {% endfor %}
49 } // namespace blink 48 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/bindings/scheduled_action.cc ('k') | sky/engine/bindings/scripts/templates/global_cpp.template » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698