| 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 24 matching lines...) Expand all Loading... |
| 35 static v8::Persistent<v8::FunctionTemplate> GetTemplate(v8::Isolate*, Wrappe
rWorldType); | 35 static v8::Persistent<v8::FunctionTemplate> GetTemplate(v8::Isolate*, Wrappe
rWorldType); |
| 36 static TestObj* toNative(v8::Handle<v8::Object> object) | 36 static TestObj* toNative(v8::Handle<v8::Object> object) |
| 37 { | 37 { |
| 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 v8::Handle<v8::Value> customMethodMethodCustom(const v8::Arguments&); | 42 static v8::Handle<v8::Value> customMethodMethodCustom(const v8::Arguments&); |
| 43 static v8::Handle<v8::Value> customMethodWithArgsMethodCustom(const v8::Argu
ments&); | 43 static v8::Handle<v8::Value> customMethodWithArgsMethodCustom(const v8::Argu
ments&); |
| 44 static v8::Handle<v8::Value> classMethod2MethodCustom(const v8::Arguments&); | 44 static v8::Handle<v8::Value> classMethod2MethodCustom(const v8::Arguments&); |
| 45 static v8::Handle<v8::Value> constructorCallback(const v8::Arguments&); | 45 static void constructorCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
| 46 static v8::Handle<v8::Value> customAttrAttrGetterCustom(v8::Local<v8::String
> name, const v8::AccessorInfo&); | 46 static v8::Handle<v8::Value> customAttrAttrGetterCustom(v8::Local<v8::String
> name, const v8::AccessorInfo&); |
| 47 static void customAttrAttrSetterCustom(v8::Local<v8::String> name, v8::Local
<v8::Value>, const v8::AccessorInfo&); | 47 static void customAttrAttrSetterCustom(v8::Local<v8::String> name, v8::Local
<v8::Value>, const v8::AccessorInfo&); |
| 48 static v8::Handle<v8::Value> indexedPropertyGetter(uint32_t, const v8::Acces
sorInfo&); | 48 static v8::Handle<v8::Value> indexedPropertyGetter(uint32_t, const v8::Acces
sorInfo&); |
| 49 static v8::Handle<v8::Value> namedPropertyGetter(v8::Local<v8::String>, cons
t v8::AccessorInfo&); | 49 static v8::Handle<v8::Value> namedPropertyGetter(v8::Local<v8::String>, cons
t v8::AccessorInfo&); |
| 50 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0
; | 50 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0
; |
| 51 static void installPerContextProperties(v8::Handle<v8::Object>, TestObj*, v8
::Isolate*); | 51 static void installPerContextProperties(v8::Handle<v8::Object>, TestObj*, v8
::Isolate*); |
| 52 static void installPerContextPrototypeProperties(v8::Handle<v8::Object>, v8:
:Isolate*); | 52 static void installPerContextPrototypeProperties(v8::Handle<v8::Object>, v8:
:Isolate*); |
| 53 private: | 53 private: |
| 54 friend v8::Handle<v8::Object> wrap(TestObj*, v8::Handle<v8::Object> creation
Context, v8::Isolate*); | 54 friend v8::Handle<v8::Object> wrap(TestObj*, v8::Handle<v8::Object> creation
Context, v8::Isolate*); |
| 55 static v8::Handle<v8::Object> createWrapper(PassRefPtr<TestObj>, v8::Handle<
v8::Object> creationContext, v8::Isolate*); | 55 static v8::Handle<v8::Object> createWrapper(PassRefPtr<TestObj>, v8::Handle<
v8::Object> creationContext, v8::Isolate*); |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 } | 133 } |
| 134 | 134 |
| 135 inline v8::Handle<v8::Value> toV8(PassRefPtr< TestObj > impl, v8::Handle<v8::Obj
ect> creationContext, v8::Isolate* isolate) | 135 inline v8::Handle<v8::Value> toV8(PassRefPtr< TestObj > impl, v8::Handle<v8::Obj
ect> creationContext, v8::Isolate* isolate) |
| 136 { | 136 { |
| 137 return toV8(impl.get(), creationContext, isolate); | 137 return toV8(impl.get(), creationContext, isolate); |
| 138 } | 138 } |
| 139 | 139 |
| 140 } | 140 } |
| 141 | 141 |
| 142 #endif // V8TestObject_h | 142 #endif // V8TestObject_h |
| OLD | NEW |