| 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 "ActiveDOMCallback.h" | 10 #include "bindings/v8/ActiveDOMCallback.h" |
| 11 #include "DartCallback.h" | 11 #include "bindings/dart/DartCallback.h" |
| 12 #include "DartDOMWrapper.h" | 12 #include "bindings/dart/DartDOMWrapper.h" |
| 13 #include "$(INTERFACE).h" | 13 #include "$(INTERFACE).h" |
| 14 | 14 |
| 15 namespace WebCore { | 15 namespace WebCore { |
| 16 | 16 |
| 17 class Dart$(INTERFACE) : public $(INTERFACE), public ActiveDOMCallback { | 17 class Dart$(INTERFACE) : public $(INTERFACE), public ActiveDOMCallback { |
| 18 public: | 18 public: |
| 19 typedef $(INTERFACE) NativeType; | 19 typedef $(INTERFACE) NativeType; |
| 20 | 20 |
| 21 static PassRefPtr<NativeType> create(Dart_Handle object, Dart_Handle& except
ion) | 21 static PassRefPtr<NativeType> create(Dart_Handle object, Dart_Handle& except
ion) |
| 22 { | 22 { |
| (...skipping 14 matching lines...) Expand all Loading... |
| 37 , m_callback(object, exception) | 37 , m_callback(object, exception) |
| 38 { | 38 { |
| 39 } | 39 } |
| 40 | 40 |
| 41 DartCallback m_callback; | 41 DartCallback m_callback; |
| 42 }; | 42 }; |
| 43 | 43 |
| 44 } | 44 } |
| 45 | 45 |
| 46 #endif // Dart$(INTERFACE)_h | 46 #endif // Dart$(INTERFACE)_h |
| OLD | NEW |