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 22 matching lines...) Expand all Loading... |
33 static bool HasInstance(v8::Handle<v8::Value>, v8::Isolate*, WrapperWorldTyp
e); | 33 static bool HasInstance(v8::Handle<v8::Value>, v8::Isolate*, WrapperWorldTyp
e); |
34 static bool HasInstanceInAnyWorld(v8::Handle<v8::Value>, v8::Isolate*); | 34 static bool HasInstanceInAnyWorld(v8::Handle<v8::Value>, v8::Isolate*); |
35 static v8::Handle<v8::FunctionTemplate> GetTemplate(v8::Isolate*, WrapperWor
ldType); | 35 static v8::Handle<v8::FunctionTemplate> GetTemplate(v8::Isolate*, WrapperWor
ldType); |
36 static TestEventTarget* toNative(v8::Handle<v8::Object> object) | 36 static TestEventTarget* toNative(v8::Handle<v8::Object> object) |
37 { | 37 { |
38 return reinterpret_cast<TestEventTarget*>(object->GetAlignedPointerFromI
nternalField(v8DOMWrapperObjectIndex)); | 38 return reinterpret_cast<TestEventTarget*>(object->GetAlignedPointerFromI
nternalField(v8DOMWrapperObjectIndex)); |
39 } | 39 } |
40 static void derefObject(void*); | 40 static void derefObject(void*); |
41 static WrapperTypeInfo info; | 41 static WrapperTypeInfo info; |
42 static EventTarget* toEventTarget(v8::Handle<v8::Object>); | 42 static EventTarget* toEventTarget(v8::Handle<v8::Object>); |
43 static v8::Handle<v8::Value> indexedPropertyGetter(uint32_t, const v8::Acces
sorInfo&); | 43 static void indexedPropertyGetter(uint32_t, const v8::PropertyCallbackInfo<v
8::Value>&); |
44 static v8::Handle<v8::Boolean> indexedPropertyDeleter(uint32_t, const v8::Ac
cessorInfo&); | 44 static void indexedPropertyDeleter(uint32_t, const v8::PropertyCallbackInfo<
v8::Boolean>&); |
45 static v8::Handle<v8::Value> namedPropertyGetter(v8::Local<v8::String>, cons
t v8::AccessorInfo&); | 45 static void namedPropertyGetter(v8::Local<v8::String>, const v8::PropertyCal
lbackInfo<v8::Value>&); |
46 static v8::Handle<v8::Value> namedPropertySetter(v8::Local<v8::String>, v8::
Local<v8::Value>, const v8::AccessorInfo&); | 46 static void namedPropertySetter(v8::Local<v8::String>, v8::Local<v8::Value>,
const v8::PropertyCallbackInfo<v8::Value>&); |
47 static v8::Handle<v8::Boolean> namedPropertyDeleter(v8::Local<v8::String>, c
onst v8::AccessorInfo&); | 47 static void namedPropertyDeleter(v8::Local<v8::String>, const v8::PropertyCa
llbackInfo<v8::Boolean>&); |
48 static v8::Handle<v8::Array> namedPropertyEnumerator(const v8::AccessorInfo&
); | 48 static void namedPropertyEnumerator(const v8::PropertyCallbackInfo<v8::Array
>&); |
49 static v8::Handle<v8::Integer> namedPropertyQuery(v8::Local<v8::String>, con
st v8::AccessorInfo&); | 49 static void namedPropertyQuery(v8::Local<v8::String>, const v8::PropertyCall
backInfo<v8::Integer>&); |
50 static const int eventListenerCacheIndex = v8DefaultWrapperInternalFieldCoun
t + 0; | 50 static const int eventListenerCacheIndex = v8DefaultWrapperInternalFieldCoun
t + 0; |
51 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 1
; | 51 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 1
; |
52 static void installPerContextProperties(v8::Handle<v8::Object>, TestEventTar
get*, v8::Isolate*) { } | 52 static void installPerContextProperties(v8::Handle<v8::Object>, TestEventTar
get*, v8::Isolate*) { } |
53 static void installPerContextPrototypeProperties(v8::Handle<v8::Object>, v8:
:Isolate*) { } | 53 static void installPerContextPrototypeProperties(v8::Handle<v8::Object>, v8:
:Isolate*) { } |
54 private: | 54 private: |
55 friend v8::Handle<v8::Object> wrap(TestEventTarget*, v8::Handle<v8::Object>
creationContext, v8::Isolate*); | 55 friend v8::Handle<v8::Object> wrap(TestEventTarget*, v8::Handle<v8::Object>
creationContext, v8::Isolate*); |
56 static v8::Handle<v8::Object> createWrapper(PassRefPtr<TestEventTarget>, v8:
:Handle<v8::Object> creationContext, v8::Isolate*); | 56 static v8::Handle<v8::Object> createWrapper(PassRefPtr<TestEventTarget>, v8:
:Handle<v8::Object> creationContext, v8::Isolate*); |
57 }; | 57 }; |
58 | 58 |
59 template<> | 59 template<> |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 } | 134 } |
135 | 135 |
136 inline v8::Handle<v8::Value> toV8(PassRefPtr< TestEventTarget > impl, v8::Handle
<v8::Object> creationContext, v8::Isolate* isolate) | 136 inline v8::Handle<v8::Value> toV8(PassRefPtr< TestEventTarget > impl, v8::Handle
<v8::Object> creationContext, v8::Isolate* isolate) |
137 { | 137 { |
138 return toV8(impl.get(), creationContext, isolate); | 138 return toV8(impl.get(), creationContext, isolate); |
139 } | 139 } |
140 | 140 |
141 } | 141 } |
142 | 142 |
143 #endif // V8TestEventTarget_h | 143 #endif // V8TestEventTarget_h |
OLD | NEW |