| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // BSD-style license that can be found in the LICENSE file. | |
| 4 | |
| 5 // WARNING: Do not edit - generated code. | |
| 6 | |
| 7 #ifndef Dart$(INTERFACE)_h | |
| 8 #define Dart$(INTERFACE)_h | |
| 9 | |
| 10 #include "DartDOMWrapper.h" | |
| 11 $WEBCORE_INCLUDES | |
| 12 #include <dart_api.h> | |
| 13 | |
| 14 namespace WebCore { | |
| 15 | |
| 16 struct Dart$INTERFACE { | |
| 17 static const char* const dartImplementationClassName; | |
| 18 typedef $WEBCORE_CLASS_NAME NativeType; | |
| 19 static const bool isNode = $IS_NODE; | |
| 20 static const bool isActive = $IS_ACTIVE; | |
| 21 static const bool isEventTarget = $IS_EVENT_TARGET; | |
| 22 | |
| 23 $TO_NATIVE | |
| 24 $TO_DART | |
| 25 static Dart_Handle toDart(PassRefPtr< $WEBCORE_CLASS_NAME > value) | |
| 26 { | |
| 27 return toDart(value.get()); | |
| 28 } | |
| 29 | |
| 30 static Dart_NativeFunction resolver(Dart_Handle name, int argumentCount); | |
| 31 }; | |
| 32 | |
| 33 namespace Dart$(INTERFACE)Internal { | |
| 34 $DECLARATIONS | |
| 35 } | |
| 36 | |
| 37 } | |
| 38 | |
| 39 #endif // Dart$(INTERFACE)_h | |
| OLD | NEW |