| 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 27 matching lines...) Expand all Loading... |
| 38 return reinterpret_cast<TestObj*>(object->GetAlignedPointerFromInternalF
ield(v8DOMWrapperObjectIndex)); | 38 return reinterpret_cast<TestObj*>(object->GetAlignedPointerFromInternalF
ield(v8DOMWrapperObjectIndex)); |
| 39 } | 39 } |
| 40 static void derefObject(void*); | 40 static void derefObject(void*); |
| 41 static WrapperTypeInfo info; | 41 static WrapperTypeInfo info; |
| 42 static void customMethodMethodCustom(const v8::FunctionCallbackInfo<v8::Valu
e>&); | 42 static void customMethodMethodCustom(const v8::FunctionCallbackInfo<v8::Valu
e>&); |
| 43 static void customMethodWithArgsMethodCustom(const v8::FunctionCallbackInfo<
v8::Value>&); | 43 static void customMethodWithArgsMethodCustom(const v8::FunctionCallbackInfo<
v8::Value>&); |
| 44 static void classMethod2MethodCustom(const v8::FunctionCallbackInfo<v8::Valu
e>&); | 44 static void classMethod2MethodCustom(const v8::FunctionCallbackInfo<v8::Valu
e>&); |
| 45 static void constructorCallback(const v8::FunctionCallbackInfo<v8::Value>&); | 45 static void constructorCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
| 46 static void customAttrAttrGetterCustom(v8::Local<v8::String> name, const v8:
:PropertyCallbackInfo<v8::Value>&); | 46 static void customAttrAttrGetterCustom(v8::Local<v8::String> name, const v8:
:PropertyCallbackInfo<v8::Value>&); |
| 47 static void customAttrAttrSetterCustom(v8::Local<v8::String> name, v8::Local
<v8::Value>, const v8::PropertyCallbackInfo<void>&); | 47 static void customAttrAttrSetterCustom(v8::Local<v8::String> name, v8::Local
<v8::Value>, const v8::PropertyCallbackInfo<void>&); |
| 48 static v8::Handle<v8::Value> indexedPropertyGetter(uint32_t, const v8::Acces
sorInfo&); | 48 static void indexedPropertyGetter(uint32_t, const v8::PropertyCallbackInfo<v
8::Value>&); |
| 49 static v8::Handle<v8::Value> namedPropertyGetter(v8::Local<v8::String>, cons
t v8::AccessorInfo&); | 49 static void namedPropertyGetter(v8::Local<v8::String>, const v8::PropertyCal
lbackInfo<v8::Value>&); |
| 50 static v8::Handle<v8::Array> namedPropertyEnumerator(const v8::AccessorInfo&
); | 50 static void namedPropertyEnumerator(const v8::PropertyCallbackInfo<v8::Array
>&); |
| 51 static v8::Handle<v8::Integer> namedPropertyQuery(v8::Local<v8::String>, con
st v8::AccessorInfo&); | 51 static void namedPropertyQuery(v8::Local<v8::String>, const v8::PropertyCall
backInfo<v8::Integer>&); |
| 52 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0
; | 52 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0
; |
| 53 static void installPerContextProperties(v8::Handle<v8::Object>, TestObj*, v8
::Isolate*); | 53 static void installPerContextProperties(v8::Handle<v8::Object>, TestObj*, v8
::Isolate*); |
| 54 static void installPerContextPrototypeProperties(v8::Handle<v8::Object>, v8:
:Isolate*); | 54 static void installPerContextPrototypeProperties(v8::Handle<v8::Object>, v8:
:Isolate*); |
| 55 private: | 55 private: |
| 56 friend v8::Handle<v8::Object> wrap(TestObj*, v8::Handle<v8::Object> creation
Context, v8::Isolate*); | 56 friend v8::Handle<v8::Object> wrap(TestObj*, v8::Handle<v8::Object> creation
Context, v8::Isolate*); |
| 57 static v8::Handle<v8::Object> createWrapper(PassRefPtr<TestObj>, v8::Handle<
v8::Object> creationContext, v8::Isolate*); | 57 static v8::Handle<v8::Object> createWrapper(PassRefPtr<TestObj>, v8::Handle<
v8::Object> creationContext, v8::Isolate*); |
| 58 }; | 58 }; |
| 59 | 59 |
| 60 template<> | 60 template<> |
| 61 class WrapperTypeTraits<TestObj > { | 61 class WrapperTypeTraits<TestObj > { |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 } | 135 } |
| 136 | 136 |
| 137 inline v8::Handle<v8::Value> toV8(PassRefPtr< TestObj > impl, v8::Handle<v8::Obj
ect> creationContext, v8::Isolate* isolate) | 137 inline v8::Handle<v8::Value> toV8(PassRefPtr< TestObj > impl, v8::Handle<v8::Obj
ect> creationContext, v8::Isolate* isolate) |
| 138 { | 138 { |
| 139 return toV8(impl.get(), creationContext, isolate); | 139 return toV8(impl.get(), creationContext, isolate); |
| 140 } | 140 } |
| 141 | 141 |
| 142 } | 142 } |
| 143 | 143 |
| 144 #endif // V8TestObject_h | 144 #endif // V8TestObject_h |
| OLD | NEW |