| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 1
; | 51 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 1
; |
| 52 static inline void* toInternalPointer(TestObj* impl) | 52 static inline void* toInternalPointer(TestObj* impl) |
| 53 { | 53 { |
| 54 return V8EventTarget::toInternalPointer(impl); | 54 return V8EventTarget::toInternalPointer(impl); |
| 55 } | 55 } |
| 56 | 56 |
| 57 static inline TestObj* fromInternalPointer(void* object) | 57 static inline TestObj* fromInternalPointer(void* object) |
| 58 { | 58 { |
| 59 return static_cast<TestObj*>(V8EventTarget::fromInternalPointer(object))
; | 59 return static_cast<TestObj*>(V8EventTarget::fromInternalPointer(object))
; |
| 60 } | 60 } |
| 61 static void installPerContextProperties(v8::Handle<v8::Object>, TestObj*, v8
::Isolate*); | 61 static void installPerContextEnabledProperties(v8::Handle<v8::Object>, TestO
bj*, v8::Isolate*); |
| 62 static void installPerContextPrototypeProperties(v8::Handle<v8::Object>, v8:
:Isolate*); | 62 static void installPerContextEnabledPrototypeProperties(v8::Handle<v8::Objec
t>, v8::Isolate*); |
| 63 | 63 |
| 64 private: | 64 private: |
| 65 friend v8::Handle<v8::Object> wrap(TestObj*, v8::Handle<v8::Object> creation
Context, v8::Isolate*); | 65 friend v8::Handle<v8::Object> wrap(TestObj*, v8::Handle<v8::Object> creation
Context, v8::Isolate*); |
| 66 static v8::Handle<v8::Object> createWrapper(PassRefPtr<TestObj>, v8::Handle<
v8::Object> creationContext, v8::Isolate*); | 66 static v8::Handle<v8::Object> createWrapper(PassRefPtr<TestObj>, v8::Handle<
v8::Object> creationContext, v8::Isolate*); |
| 67 }; | 67 }; |
| 68 | 68 |
| 69 template<> | 69 template<> |
| 70 class WrapperTypeTraits<TestObj > { | 70 class WrapperTypeTraits<TestObj > { |
| 71 public: | 71 public: |
| 72 static WrapperTypeInfo* info() { return &V8TestObject::info; } | 72 static WrapperTypeInfo* info() { return &V8TestObject::info; } |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 | 148 |
| 149 template<class CallbackInfo, class Wrappable> | 149 template<class CallbackInfo, class Wrappable> |
| 150 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<Te
stObj > impl, Wrappable* wrappable) | 150 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<Te
stObj > impl, Wrappable* wrappable) |
| 151 { | 151 { |
| 152 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); | 152 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); |
| 153 } | 153 } |
| 154 | 154 |
| 155 } | 155 } |
| 156 | 156 |
| 157 #endif // V8TestObject_h | 157 #endif // V8TestObject_h |
| OLD | NEW |