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