| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0
; | 50 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0
; |
| 51 static inline void* toInternalPointer(TestCustomAccessors* impl) | 51 static inline void* toInternalPointer(TestCustomAccessors* impl) |
| 52 { | 52 { |
| 53 return impl; | 53 return impl; |
| 54 } | 54 } |
| 55 | 55 |
| 56 static inline TestCustomAccessors* fromInternalPointer(void* object) | 56 static inline TestCustomAccessors* fromInternalPointer(void* object) |
| 57 { | 57 { |
| 58 return static_cast<TestCustomAccessors*>(object); | 58 return static_cast<TestCustomAccessors*>(object); |
| 59 } | 59 } |
| 60 static void installPerContextProperties(v8::Handle<v8::Object>, TestCustomAc
cessors*, v8::Isolate*) { } | 60 static void installPerContextEnabledProperties(v8::Handle<v8::Object>, TestC
ustomAccessors*, v8::Isolate*) { } |
| 61 static void installPerContextPrototypeProperties(v8::Handle<v8::Object>, v8:
:Isolate*) { } | 61 static void installPerContextEnabledPrototypeProperties(v8::Handle<v8::Objec
t>, v8::Isolate*) { } |
| 62 | 62 |
| 63 private: | 63 private: |
| 64 friend v8::Handle<v8::Object> wrap(TestCustomAccessors*, v8::Handle<v8::Obje
ct> creationContext, v8::Isolate*); | 64 friend v8::Handle<v8::Object> wrap(TestCustomAccessors*, v8::Handle<v8::Obje
ct> creationContext, v8::Isolate*); |
| 65 static v8::Handle<v8::Object> createWrapper(PassRefPtr<TestCustomAccessors>,
v8::Handle<v8::Object> creationContext, v8::Isolate*); | 65 static v8::Handle<v8::Object> createWrapper(PassRefPtr<TestCustomAccessors>,
v8::Handle<v8::Object> creationContext, v8::Isolate*); |
| 66 }; | 66 }; |
| 67 | 67 |
| 68 template<> | 68 template<> |
| 69 class WrapperTypeTraits<TestCustomAccessors > { | 69 class WrapperTypeTraits<TestCustomAccessors > { |
| 70 public: | 70 public: |
| 71 static WrapperTypeInfo* info() { return &V8TestCustomAccessors::info; } | 71 static WrapperTypeInfo* info() { return &V8TestCustomAccessors::info; } |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 | 147 |
| 148 template<class CallbackInfo, class Wrappable> | 148 template<class CallbackInfo, class Wrappable> |
| 149 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<Te
stCustomAccessors > impl, Wrappable* wrappable) | 149 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<Te
stCustomAccessors > impl, Wrappable* wrappable) |
| 150 { | 150 { |
| 151 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); | 151 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); |
| 152 } | 152 } |
| 153 | 153 |
| 154 } | 154 } |
| 155 | 155 |
| 156 #endif // V8TestCustomAccessors_h | 156 #endif // V8TestCustomAccessors_h |
| OLD | NEW |