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 23 matching lines...) Expand all Loading... |
34 static bool HasInstance(v8::Handle<v8::Value>, v8::Isolate*, WrapperWorldTyp
e); | 34 static bool HasInstance(v8::Handle<v8::Value>, v8::Isolate*, WrapperWorldTyp
e); |
35 static bool HasInstanceInAnyWorld(v8::Handle<v8::Value>, v8::Isolate*); | 35 static bool HasInstanceInAnyWorld(v8::Handle<v8::Value>, v8::Isolate*); |
36 static v8::Handle<v8::FunctionTemplate> GetTemplate(v8::Isolate*, WrapperWor
ldType); | 36 static v8::Handle<v8::FunctionTemplate> GetTemplate(v8::Isolate*, WrapperWor
ldType); |
37 static TestInterface* toNative(v8::Handle<v8::Object> object) | 37 static TestInterface* toNative(v8::Handle<v8::Object> object) |
38 { | 38 { |
39 return reinterpret_cast<TestInterface*>(object->GetAlignedPointerFromInt
ernalField(v8DOMWrapperObjectIndex)); | 39 return reinterpret_cast<TestInterface*>(object->GetAlignedPointerFromInt
ernalField(v8DOMWrapperObjectIndex)); |
40 } | 40 } |
41 static void derefObject(void*); | 41 static void derefObject(void*); |
42 static WrapperTypeInfo info; | 42 static WrapperTypeInfo info; |
43 static ActiveDOMObject* toActiveDOMObject(v8::Handle<v8::Object>); | 43 static ActiveDOMObject* toActiveDOMObject(v8::Handle<v8::Object>); |
| 44 #if ENABLE(Condition22) || ENABLE(Condition23) |
| 45 static void implementsMethod3MethodCustom(const v8::FunctionCallbackInfo<v8:
:Value>&); |
| 46 #endif // ENABLE(Condition22) || ENABLE(Condition23) |
44 static void constructorCallback(const v8::FunctionCallbackInfo<v8::Value>&); | 47 static void constructorCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
| 48 #if ENABLE(Condition22) || ENABLE(Condition23) |
| 49 static void implementsStr3AttrGetterCustom(v8::Local<v8::String> name, const
v8::PropertyCallbackInfo<v8::Value>&); |
| 50 #endif // ENABLE(Condition22) || ENABLE(Condition23) |
| 51 #if ENABLE(Condition22) || ENABLE(Condition23) |
| 52 static void implementsStr3AttrSetterCustom(v8::Local<v8::String> name, v8::L
ocal<v8::Value>, const v8::PropertyCallbackInfo<void>&); |
| 53 #endif // ENABLE(Condition22) || ENABLE(Condition23) |
45 static void namedPropertyGetter(v8::Local<v8::String>, const v8::PropertyCal
lbackInfo<v8::Value>&); | 54 static void namedPropertyGetter(v8::Local<v8::String>, const v8::PropertyCal
lbackInfo<v8::Value>&); |
46 static void namedPropertySetter(v8::Local<v8::String>, v8::Local<v8::Value>,
const v8::PropertyCallbackInfo<v8::Value>&); | 55 static void namedPropertySetter(v8::Local<v8::String>, v8::Local<v8::Value>,
const v8::PropertyCallbackInfo<v8::Value>&); |
47 static void namedPropertyEnumerator(const v8::PropertyCallbackInfo<v8::Array
>&); | 56 static void namedPropertyEnumerator(const v8::PropertyCallbackInfo<v8::Array
>&); |
48 static void namedPropertyQuery(v8::Local<v8::String>, const v8::PropertyCall
backInfo<v8::Integer>&); | 57 static void namedPropertyQuery(v8::Local<v8::String>, const v8::PropertyCall
backInfo<v8::Integer>&); |
49 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0
; | 58 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0
; |
50 static void installPerContextProperties(v8::Handle<v8::Object>, TestInterfac
e*, v8::Isolate*); | 59 static void installPerContextProperties(v8::Handle<v8::Object>, TestInterfac
e*, v8::Isolate*); |
51 static void installPerContextPrototypeProperties(v8::Handle<v8::Object>, v8:
:Isolate*) { } | 60 static void installPerContextPrototypeProperties(v8::Handle<v8::Object>, v8:
:Isolate*) { } |
52 private: | 61 private: |
53 friend v8::Handle<v8::Object> wrap(TestInterface*, v8::Handle<v8::Object> cr
eationContext, v8::Isolate*); | 62 friend v8::Handle<v8::Object> wrap(TestInterface*, v8::Handle<v8::Object> cr
eationContext, v8::Isolate*); |
54 static v8::Handle<v8::Object> createWrapper(PassRefPtr<TestInterface>, v8::H
andle<v8::Object> creationContext, v8::Isolate*); | 63 static v8::Handle<v8::Object> createWrapper(PassRefPtr<TestInterface>, v8::H
andle<v8::Object> creationContext, v8::Isolate*); |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 inline v8::Handle<v8::Value> toV8(PassRefPtr< TestInterface > impl, v8::Handle<v
8::Object> creationContext, v8::Isolate* isolate) | 143 inline v8::Handle<v8::Value> toV8(PassRefPtr< TestInterface > impl, v8::Handle<v
8::Object> creationContext, v8::Isolate* isolate) |
135 { | 144 { |
136 return toV8(impl.get(), creationContext, isolate); | 145 return toV8(impl.get(), creationContext, isolate); |
137 } | 146 } |
138 | 147 |
139 } | 148 } |
140 | 149 |
141 #endif // ENABLE(Condition1) || ENABLE(Condition2) | 150 #endif // ENABLE(Condition1) || ENABLE(Condition2) |
142 | 151 |
143 #endif // V8TestInterface_h | 152 #endif // V8TestInterface_h |
OLD | NEW |