| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0
; | 43 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0
; |
| 44 static inline void* toInternalPointer(TestOverloadedConstructors* impl) | 44 static inline void* toInternalPointer(TestOverloadedConstructors* impl) |
| 45 { | 45 { |
| 46 return impl; | 46 return impl; |
| 47 } | 47 } |
| 48 | 48 |
| 49 static inline TestOverloadedConstructors* fromInternalPointer(void* object) | 49 static inline TestOverloadedConstructors* fromInternalPointer(void* object) |
| 50 { | 50 { |
| 51 return static_cast<TestOverloadedConstructors*>(object); | 51 return static_cast<TestOverloadedConstructors*>(object); |
| 52 } | 52 } |
| 53 static void installPerContextProperties(v8::Handle<v8::Object>, TestOverload
edConstructors*, v8::Isolate*) { } | 53 static void installPerContextEnabledProperties(v8::Handle<v8::Object>, TestO
verloadedConstructors*, v8::Isolate*) { } |
| 54 static void installPerContextPrototypeProperties(v8::Handle<v8::Object>, v8:
:Isolate*) { } | 54 static void installPerContextEnabledPrototypeProperties(v8::Handle<v8::Objec
t>, v8::Isolate*) { } |
| 55 | 55 |
| 56 private: | 56 private: |
| 57 friend v8::Handle<v8::Object> wrap(TestOverloadedConstructors*, v8::Handle<v
8::Object> creationContext, v8::Isolate*); | 57 friend v8::Handle<v8::Object> wrap(TestOverloadedConstructors*, v8::Handle<v
8::Object> creationContext, v8::Isolate*); |
| 58 static v8::Handle<v8::Object> createWrapper(PassRefPtr<TestOverloadedConstru
ctors>, v8::Handle<v8::Object> creationContext, v8::Isolate*); | 58 static v8::Handle<v8::Object> createWrapper(PassRefPtr<TestOverloadedConstru
ctors>, v8::Handle<v8::Object> creationContext, v8::Isolate*); |
| 59 }; | 59 }; |
| 60 | 60 |
| 61 template<> | 61 template<> |
| 62 class WrapperTypeTraits<TestOverloadedConstructors > { | 62 class WrapperTypeTraits<TestOverloadedConstructors > { |
| 63 public: | 63 public: |
| 64 static WrapperTypeInfo* info() { return &V8TestOverloadedConstructors::info;
} | 64 static WrapperTypeInfo* info() { return &V8TestOverloadedConstructors::info;
} |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 | 140 |
| 141 template<class CallbackInfo, class Wrappable> | 141 template<class CallbackInfo, class Wrappable> |
| 142 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<Te
stOverloadedConstructors > impl, Wrappable* wrappable) | 142 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<Te
stOverloadedConstructors > impl, Wrappable* wrappable) |
| 143 { | 143 { |
| 144 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); | 144 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); |
| 145 } | 145 } |
| 146 | 146 |
| 147 } | 147 } |
| 148 | 148 |
| 149 #endif // V8TestOverloadedConstructors_h | 149 #endif // V8TestOverloadedConstructors_h |
| OLD | NEW |