| OLD | NEW |
| 1 /* | 1 /* |
| 2 This file is part of the Blink open source project. | 2 This file is part of the Blink open source project. |
| 3 This file has been auto-generated by CodeGeneratorV8.pm. DO NOT MODIFY! | 3 This file has been auto-generated by CodeGeneratorV8.pm. DO NOT MODIFY! |
| 4 | 4 |
| 5 This library is free software; you can redistribute it and/or | 5 This library is free software; you can redistribute it and/or |
| 6 modify it under the terms of the GNU Library General Public | 6 modify it under the terms of the GNU Library General Public |
| 7 License as published by the Free Software Foundation; either | 7 License as published by the Free Software Foundation; either |
| 8 version 2 of the License, or (at your option) any later version. | 8 version 2 of the License, or (at your option) any later version. |
| 9 | 9 |
| 10 This library is distributed in the hope that it will be useful, | 10 This library is distributed in the hope that it will be useful, |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 1
; | 45 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 1
; |
| 46 static inline void* toInternalPointer(TestEventTarget* impl) | 46 static inline void* toInternalPointer(TestEventTarget* impl) |
| 47 { | 47 { |
| 48 return V8EventTarget::toInternalPointer(impl); | 48 return V8EventTarget::toInternalPointer(impl); |
| 49 } | 49 } |
| 50 | 50 |
| 51 static inline TestEventTarget* fromInternalPointer(void* object) | 51 static inline TestEventTarget* fromInternalPointer(void* object) |
| 52 { | 52 { |
| 53 return static_cast<TestEventTarget*>(V8EventTarget::fromInternalPointer(
object)); | 53 return static_cast<TestEventTarget*>(V8EventTarget::fromInternalPointer(
object)); |
| 54 } | 54 } |
| 55 static void installPerContextProperties(v8::Handle<v8::Object>, TestEventTar
get*, v8::Isolate*) { } | 55 static void installPerContextEnabledProperties(v8::Handle<v8::Object>, TestE
ventTarget*, v8::Isolate*) { } |
| 56 static void installPerContextPrototypeProperties(v8::Handle<v8::Object>, v8:
:Isolate*) { } | 56 static void installPerContextEnabledPrototypeProperties(v8::Handle<v8::Objec
t>, v8::Isolate*) { } |
| 57 | 57 |
| 58 private: | 58 private: |
| 59 friend v8::Handle<v8::Object> wrap(TestEventTarget*, v8::Handle<v8::Object>
creationContext, v8::Isolate*); | 59 friend v8::Handle<v8::Object> wrap(TestEventTarget*, v8::Handle<v8::Object>
creationContext, v8::Isolate*); |
| 60 static v8::Handle<v8::Object> createWrapper(PassRefPtr<TestEventTarget>, v8:
:Handle<v8::Object> creationContext, v8::Isolate*); | 60 static v8::Handle<v8::Object> createWrapper(PassRefPtr<TestEventTarget>, v8:
:Handle<v8::Object> creationContext, v8::Isolate*); |
| 61 }; | 61 }; |
| 62 | 62 |
| 63 template<> | 63 template<> |
| 64 class WrapperTypeTraits<TestEventTarget > { | 64 class WrapperTypeTraits<TestEventTarget > { |
| 65 public: | 65 public: |
| 66 static WrapperTypeInfo* info() { return &V8TestEventTarget::info; } | 66 static WrapperTypeInfo* info() { return &V8TestEventTarget::info; } |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 | 142 |
| 143 template<class CallbackInfo, class Wrappable> | 143 template<class CallbackInfo, class Wrappable> |
| 144 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<Te
stEventTarget > impl, Wrappable* wrappable) | 144 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<Te
stEventTarget > impl, Wrappable* wrappable) |
| 145 { | 145 { |
| 146 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); | 146 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); |
| 147 } | 147 } |
| 148 | 148 |
| 149 } | 149 } |
| 150 | 150 |
| 151 #endif // V8TestEventTarget_h | 151 #endif // V8TestEventTarget_h |
| OLD | NEW |