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 Float64Array* toNative(v8::Handle<v8::Object> object) | 37 static Float64Array* toNative(v8::Handle<v8::Object> object) |
38 { | 38 { |
39 return reinterpret_cast<Float64Array*>(object->GetAlignedPointerFromInte
rnalField(v8DOMWrapperObjectIndex)); | 39 return reinterpret_cast<Float64Array*>(object->GetAlignedPointerFromInte
rnalField(v8DOMWrapperObjectIndex)); |
40 } | 40 } |
41 static void derefObject(void*); | 41 static void derefObject(void*); |
42 static WrapperTypeInfo info; | 42 static WrapperTypeInfo info; |
43 static void constructorCallback(const v8::FunctionCallbackInfo<v8::Value>&); | 43 static void constructorCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
44 static v8::Handle<v8::Value> indexedPropertyGetter(uint32_t, const v8::Acces
sorInfo&); | 44 static void indexedPropertyGetter(uint32_t, const v8::PropertyCallbackInfo<v
8::Value>&); |
45 static v8::Handle<v8::Value> indexedPropertySetter(uint32_t, v8::Local<v8::V
alue>, const v8::AccessorInfo&); | 45 static void indexedPropertySetter(uint32_t, v8::Local<v8::Value>, const v8::
PropertyCallbackInfo<v8::Value>&); |
46 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0
; | 46 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0
; |
47 static void installPerContextProperties(v8::Handle<v8::Object>, Float64Array
*, v8::Isolate*) { } | 47 static void installPerContextProperties(v8::Handle<v8::Object>, Float64Array
*, v8::Isolate*) { } |
48 static void installPerContextPrototypeProperties(v8::Handle<v8::Object>, v8:
:Isolate*) { } | 48 static void installPerContextPrototypeProperties(v8::Handle<v8::Object>, v8:
:Isolate*) { } |
49 private: | 49 private: |
50 friend v8::Handle<v8::Object> wrap(Float64Array*, v8::Handle<v8::Object> cre
ationContext, v8::Isolate*); | 50 friend v8::Handle<v8::Object> wrap(Float64Array*, v8::Handle<v8::Object> cre
ationContext, v8::Isolate*); |
51 static v8::Handle<v8::Object> createWrapper(PassRefPtr<Float64Array>, v8::Ha
ndle<v8::Object> creationContext, v8::Isolate*); | 51 static v8::Handle<v8::Object> createWrapper(PassRefPtr<Float64Array>, v8::Ha
ndle<v8::Object> creationContext, v8::Isolate*); |
52 }; | 52 }; |
53 | 53 |
54 template<> | 54 template<> |
55 class WrapperTypeTraits<Float64Array > { | 55 class WrapperTypeTraits<Float64Array > { |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 } | 118 } |
119 | 119 |
120 inline v8::Handle<v8::Value> toV8(PassRefPtr< Float64Array > impl, v8::Handle<v8
::Object> creationContext, v8::Isolate* isolate) | 120 inline v8::Handle<v8::Value> toV8(PassRefPtr< Float64Array > impl, v8::Handle<v8
::Object> creationContext, v8::Isolate* isolate) |
121 { | 121 { |
122 return toV8(impl.get(), creationContext, isolate); | 122 return toV8(impl.get(), creationContext, isolate); |
123 } | 123 } |
124 | 124 |
125 } | 125 } |
126 | 126 |
127 #endif // V8Float64Array_h | 127 #endif // V8Float64Array_h |
OLD | NEW |