| 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 #include "config.h" | 7 #include "config.h" |
| 8 #include "DartWebkitClassIds.h" |
| 8 #include "Dart$(INTERFACE).h" | 9 #include "Dart$(INTERFACE).h" |
| 9 | 10 |
| 10 $INCLUDES | 11 $INCLUDES |
| 11 namespace WebCore { | 12 namespace WebCore { |
| 12 | 13 |
| 13 Dart_Handle $(WEBCORE_CLASS_NAME_ESCAPED)_toDart(PassRefPtr< $WEBCORE_CLASS_NAME
> value) { | 14 Dart_Handle $(WEBCORE_CLASS_NAME_ESCAPED)_toDart(PassRefPtr< $WEBCORE_CLASS_NAME
> value) { |
| 14 return Dart$INTERFACE::toDart(value); | 15 return Dart$INTERFACE::toDart(value); |
| 15 } | 16 } |
| 16 | 17 |
| 17 namespace Dart$(INTERFACE)Internal { | 18 namespace Dart$(INTERFACE)Internal { |
| 18 $CALLBACKS | 19 $CALLBACKS |
| 19 } | 20 } |
| 20 | 21 |
| 21 Dart_NativeFunction Dart$(INTERFACE)::resolver(Dart_Handle nameHandle, int argum
entCount) | 22 Dart_NativeFunction Dart$(INTERFACE)::resolver(Dart_Handle nameHandle, int argum
entCount) |
| 22 { | 23 { |
| 23 String name = DartUtilities::toString(nameHandle); | 24 String name = DartUtilities::toString(nameHandle); |
| 24 | 25 |
| 25 $RESOLVER | 26 $RESOLVER |
| 26 return 0; | 27 return 0; |
| 27 } | 28 } |
| 28 | 29 |
| 29 const char* const Dart$(INTERFACE)::dartImplementationClassName = "$DART_IMPLEME
NTATION_CLASS"; | 30 const char* const Dart$(INTERFACE)::dartImplementationClassName = "$DART_IMPLEME
NTATION_CLASS"; |
| 30 const char* const Dart$(INTERFACE)::dartImplementationLibraryName = "$DART_IMPLE
MENTATION_LIBRARY"; | 31 const char* const Dart$(INTERFACE)::dartImplementationLibraryName = "$DART_IMPLE
MENTATION_LIBRARY"; |
| 31 | 32 const int Dart$(INTERFACE)::dartClassId = $(INTERFACE)ClassId; |
| 32 } | 33 } |
| OLD | NEW |