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, |
11 but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 Library General Public License for more details. | 13 Library General Public License for more details. |
14 | 14 |
15 You should have received a copy of the GNU Library General Public License | 15 You should have received a copy of the GNU Library General Public License |
16 along with this library; see the file COPYING.LIB. If not, write to | 16 along with this library; see the file COPYING.LIB. If not, write to |
17 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 17 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
18 Boston, MA 02111-1307, USA. | 18 Boston, MA 02111-1307, USA. |
19 */ | 19 */ |
20 | 20 |
21 #ifndef V8Float64Array_h | 21 #ifndef V8Float64Array_h |
22 #define V8Float64Array_h | 22 #define V8Float64Array_h |
23 | 23 |
24 #include "V8ArrayBufferView.h" | 24 #include "V8ArrayBufferView.h" |
25 #include "bindings/v8/V8Binding.h" | 25 #include "bindings/v8/V8Binding.h" |
26 #include "bindings/v8/V8DOMWrapper.h" | 26 #include "bindings/v8/V8DOMWrapper.h" |
27 #include "bindings/v8/WrapperTypeInfo.h" | 27 #include "bindings/v8/WrapperTypeInfo.h" |
28 #include "wtf/Float64Array.h" | 28 #include "wtf/Float64Array.h" |
29 #include "wtf/HashMap.h" | |
30 #include "wtf/text/StringHash.h" | |
31 #include <v8.h> | |
32 | 29 |
33 namespace WebCore { | 30 namespace WebCore { |
34 | 31 |
35 class V8Float64Array { | 32 class V8Float64Array { |
36 public: | 33 public: |
37 static const bool hasDependentLifetime = V8ArrayBufferView::hasDependentLife
time; | 34 static const bool hasDependentLifetime = V8ArrayBufferView::hasDependentLife
time; |
38 static bool HasInstance(v8::Handle<v8::Value>, v8::Isolate*, WrapperWorldTyp
e); | 35 static bool HasInstance(v8::Handle<v8::Value>, v8::Isolate*, WrapperWorldTyp
e); |
39 static bool HasInstanceInAnyWorld(v8::Handle<v8::Value>, v8::Isolate*); | 36 static bool HasInstanceInAnyWorld(v8::Handle<v8::Value>, v8::Isolate*); |
40 static v8::Persistent<v8::FunctionTemplate> GetTemplate(v8::Isolate*, Wrappe
rWorldType); | 37 static v8::Persistent<v8::FunctionTemplate> GetTemplate(v8::Isolate*, Wrappe
rWorldType); |
41 static Float64Array* toNative(v8::Handle<v8::Object> object) | 38 static Float64Array* toNative(v8::Handle<v8::Object> object) |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 } | 118 } |
122 | 119 |
123 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) |
124 { | 121 { |
125 return toV8(impl.get(), creationContext, isolate); | 122 return toV8(impl.get(), creationContext, isolate); |
126 } | 123 } |
127 | 124 |
128 } | 125 } |
129 | 126 |
130 #endif // V8Float64Array_h | 127 #endif // V8Float64Array_h |
OLD | NEW |