| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
| 6 | 6 |
| 7 #ifndef Dart$(INTERFACE)_h | 7 #ifndef Dart$(INTERFACE)_h |
| 8 #define Dart$(INTERFACE)_h | 8 #define Dart$(INTERFACE)_h |
| 9 | 9 |
| 10 #include "bindings/dart/DartDOMWrapper.h" | 10 #include "bindings/dart/DartDOMWrapper.h" |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 static const bool isNode = $IS_NODE; | 21 static const bool isNode = $IS_NODE; |
| 22 static const bool isActive = $IS_ACTIVE; | 22 static const bool isActive = $IS_ACTIVE; |
| 23 static const bool isEventTarget = $IS_EVENT_TARGET; | 23 static const bool isEventTarget = $IS_EVENT_TARGET; |
| 24 | 24 |
| 25 $TO_NATIVE | 25 $TO_NATIVE |
| 26 $TO_DART | 26 $TO_DART |
| 27 static Dart_Handle toDart(PassRefPtr< $WEBCORE_CLASS_NAME > value) | 27 static Dart_Handle toDart(PassRefPtr< $WEBCORE_CLASS_NAME > value) |
| 28 { | 28 { |
| 29 return toDart(value.get()); | 29 return toDart(value.get()); |
| 30 } | 30 } |
| 31 static Dart_Handle createWrapper(PassRefPtr< $WEBCORE_CLASS_NAME > value) |
| 32 { |
| 33 return createWrapper(value.get()); |
| 34 } |
| 35 static void returnToDart(Dart_NativeArguments args, PassRefPtr< $WEBCORE_CLA
SS_NAME > value) |
| 36 { |
| 37 return returnToDart(args, value.get()); |
| 38 } |
| 31 | 39 |
| 32 static Dart_NativeFunction resolver(Dart_Handle name, int argumentCount); | 40 static Dart_NativeFunction resolver(Dart_Handle name, int argumentCount); |
| 33 }; | 41 }; |
| 34 | 42 |
| 35 Dart_Handle $(WEBCORE_CLASS_NAME_ESCAPED)_toDart(PassRefPtr< $WEBCORE_CLASS_NAME
> value); | 43 Dart_Handle $(WEBCORE_CLASS_NAME_ESCAPED)_toDart(PassRefPtr< $WEBCORE_CLASS_NAME
> value); |
| 36 | 44 |
| 37 namespace Dart$(INTERFACE)Internal { | 45 namespace Dart$(INTERFACE)Internal { |
| 38 $DECLARATIONS | 46 $DECLARATIONS |
| 39 } | 47 } |
| 40 | 48 |
| 41 } | 49 } |
| 42 | 50 |
| 43 #endif // Dart$(INTERFACE)_h | 51 #endif // Dart$(INTERFACE)_h |
| OLD | NEW |