| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium 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 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
| 6 part of sky.core; | 6 part of sky.core; |
| 7 | 7 |
| 8 abstract class {{interface_name}} extends {{ parent_interface if parent_interfac
e else 'NativeFieldWrapperClass2' }} { | 8 abstract class {{interface_name}} extends {{ parent_interface if parent_interfac
e else 'NativeFieldWrapperClass2' }} { |
| 9 | 9 |
| 10 {% macro args_macro(args) -%} | 10 {% macro args_macro(args) -%} |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 {{ attribute.dart_type }} get {{ attribute.name }} native "{{interface_name}
}_{{ attribute.name }}_Getter"; | 34 {{ attribute.dart_type }} get {{ attribute.name }} native "{{interface_name}
}_{{ attribute.name }}_Getter"; |
| 35 {% if not attribute.is_read_only %} | 35 {% if not attribute.is_read_only %} |
| 36 void set {{ attribute.name }}({{ attribute.dart_type }} value) native "{{int
erface_name}}_{{ attribute.name }}_Setter"; | 36 void set {{ attribute.name }}({{ attribute.dart_type }} value) native "{{int
erface_name}}_{{ attribute.name }}_Setter"; |
| 37 {% endif %} | 37 {% endif %} |
| 38 {% endfor %} | 38 {% endfor %} |
| 39 | 39 |
| 40 {% for method in methods %} | 40 {% for method in methods %} |
| 41 {{method.dart_type}} {{method.name}}({{ args_macro(method.arguments)}} ) nat
ive "{{interface_name}}_{{ method.name }}_Callback"; | 41 {{method.dart_type}} {{method.name}}({{ args_macro(method.arguments)}} ) nat
ive "{{interface_name}}_{{ method.name }}_Callback"; |
| 42 {% endfor %} | 42 {% endfor %} |
| 43 } | 43 } |
| OLD | NEW |