| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |