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 28 matching lines...) Expand all Loading... |
39 static bool HasInstanceInAnyWorld(v8::Handle<v8::Value>, v8::Isolate*); | 39 static bool HasInstanceInAnyWorld(v8::Handle<v8::Value>, v8::Isolate*); |
40 static v8::Persistent<v8::FunctionTemplate> GetTemplate(v8::Isolate*, Wrappe
rWorldType); | 40 static v8::Persistent<v8::FunctionTemplate> GetTemplate(v8::Isolate*, Wrappe
rWorldType); |
41 static TestInterface* toNative(v8::Handle<v8::Object> object) | 41 static TestInterface* toNative(v8::Handle<v8::Object> object) |
42 { | 42 { |
43 return reinterpret_cast<TestInterface*>(object->GetAlignedPointerFromInt
ernalField(v8DOMWrapperObjectIndex)); | 43 return reinterpret_cast<TestInterface*>(object->GetAlignedPointerFromInt
ernalField(v8DOMWrapperObjectIndex)); |
44 } | 44 } |
45 static void derefObject(void*); | 45 static void derefObject(void*); |
46 static WrapperTypeInfo info; | 46 static WrapperTypeInfo info; |
47 static ActiveDOMObject* toActiveDOMObject(v8::Handle<v8::Object>); | 47 static ActiveDOMObject* toActiveDOMObject(v8::Handle<v8::Object>); |
48 static v8::Handle<v8::Value> constructorCallback(const v8::Arguments&); | 48 static v8::Handle<v8::Value> constructorCallback(const v8::Arguments&); |
| 49 static v8::Handle<v8::Value> namedPropertyGetter(v8::Local<v8::String>, cons
t v8::AccessorInfo&); |
49 static v8::Handle<v8::Value> namedPropertySetter(v8::Local<v8::String>, v8::
Local<v8::Value>, const v8::AccessorInfo&); | 50 static v8::Handle<v8::Value> namedPropertySetter(v8::Local<v8::String>, v8::
Local<v8::Value>, const v8::AccessorInfo&); |
50 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0
; | 51 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0
; |
51 static void installPerContextProperties(v8::Handle<v8::Object>, TestInterfac
e*, v8::Isolate*); | 52 static void installPerContextProperties(v8::Handle<v8::Object>, TestInterfac
e*, v8::Isolate*); |
52 static void installPerContextPrototypeProperties(v8::Handle<v8::Object>, v8:
:Isolate*) { } | 53 static void installPerContextPrototypeProperties(v8::Handle<v8::Object>, v8:
:Isolate*) { } |
53 private: | 54 private: |
54 friend v8::Handle<v8::Object> wrap(TestInterface*, v8::Handle<v8::Object> cr
eationContext, v8::Isolate*); | 55 friend v8::Handle<v8::Object> wrap(TestInterface*, v8::Handle<v8::Object> cr
eationContext, v8::Isolate*); |
55 static v8::Handle<v8::Object> createWrapper(PassRefPtr<TestInterface>, v8::H
andle<v8::Object> creationContext, v8::Isolate*); | 56 static v8::Handle<v8::Object> createWrapper(PassRefPtr<TestInterface>, v8::H
andle<v8::Object> creationContext, v8::Isolate*); |
56 }; | 57 }; |
57 | 58 |
58 template<> | 59 template<> |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 inline v8::Handle<v8::Value> toV8(PassRefPtr< TestInterface > impl, v8::Handle<v
8::Object> creationContext, v8::Isolate* isolate) | 136 inline v8::Handle<v8::Value> toV8(PassRefPtr< TestInterface > impl, v8::Handle<v
8::Object> creationContext, v8::Isolate* isolate) |
136 { | 137 { |
137 return toV8(impl.get(), creationContext, isolate); | 138 return toV8(impl.get(), creationContext, isolate); |
138 } | 139 } |
139 | 140 |
140 } | 141 } |
141 | 142 |
142 #endif // ENABLE(Condition1) || ENABLE(Condition2) | 143 #endif // ENABLE(Condition1) || ENABLE(Condition2) |
143 | 144 |
144 #endif // V8TestInterface_h | 145 #endif // V8TestInterface_h |
OLD | NEW |