| 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" |
| 11 $WEBCORE_INCLUDES | 11 $WEBCORE_INCLUDES |
| 12 |
| 12 // FIXME: We need this to access the WrapperTypeInfo. | 13 // FIXME: We need this to access the WrapperTypeInfo. |
| 13 #include "V8$(INTERFACE).h" | 14 $V8_INTERFACE_INCLUDE |
| 15 |
| 14 #include <dart_api.h> | 16 #include <dart_api.h> |
| 15 | 17 |
| 16 namespace WebCore { | 18 namespace WebCore { |
| 17 | 19 |
| 18 struct Dart$INTERFACE { | 20 struct Dart$INTERFACE { |
| 19 static const char* const dartImplementationClassName; | 21 static const char* const dartImplementationClassName; |
| 20 static const int dartImplementationLibraryId; | 22 static const int dartImplementationLibraryId; |
| 21 static const int dartClassId; | 23 static const int dartClassId; |
| 22 typedef $WEBCORE_CLASS_NAME NativeType; | 24 typedef $WEBCORE_CLASS_NAME NativeType; |
| 23 static const bool isNode = $IS_NODE; | 25 static const bool isNode = $IS_NODE; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 44 | 46 |
| 45 Dart_Handle $(WEBCORE_CLASS_NAME_ESCAPED)_toDart(PassRefPtr< $WEBCORE_CLASS_NAME
> value); | 47 Dart_Handle $(WEBCORE_CLASS_NAME_ESCAPED)_toDart(PassRefPtr< $WEBCORE_CLASS_NAME
> value); |
| 46 | 48 |
| 47 namespace Dart$(INTERFACE)Internal { | 49 namespace Dart$(INTERFACE)Internal { |
| 48 $DECLARATIONS | 50 $DECLARATIONS |
| 49 } | 51 } |
| 50 | 52 |
| 51 } | 53 } |
| 52 | 54 |
| 53 #endif // Dart$(INTERFACE)_h | 55 #endif // Dart$(INTERFACE)_h |
| OLD | NEW |