OLD | NEW |
1 /* | 1 /* |
2 This file is part of the WebKit open source project. | 2 This file is part of the WebKit open source project. |
3 This file has been generated by generate-bindings.pl. DO NOT MODIFY! | 3 This file has been generated by generate-bindings.pl. 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 #include "config.h" | 21 #include "config.h" |
22 #include "V8TestMediaQueryListListener.h" | 22 #include "V8TestMediaQueryListListener.h" |
23 | 23 |
24 #include "BindingState.h" | 24 #include "BindingState.h" |
25 #include "ContextFeatures.h" | 25 #include "ContextFeatures.h" |
26 #include "ExceptionCode.h" | 26 #include "ExceptionCode.h" |
27 #include "Frame.h" | 27 #include "Frame.h" |
28 #include "MediaQueryListListener.h" | 28 #include "MediaQueryListListener.h" |
29 #include "RuntimeEnabledFeatures.h" | 29 #include "RuntimeEnabledFeatures.h" |
| 30 #include "ScriptController.h" |
30 #include "V8Binding.h" | 31 #include "V8Binding.h" |
31 #include "V8DOMWrapper.h" | 32 #include "V8DOMWrapper.h" |
32 #include <wtf/UnusedParam.h> | 33 #include <wtf/UnusedParam.h> |
33 | 34 |
34 #if ENABLE(BINDING_INTEGRITY) | 35 #if ENABLE(BINDING_INTEGRITY) |
35 #if defined(OS_WIN) | 36 #if defined(OS_WIN) |
36 #pragma warning(disable: 4483) | 37 #pragma warning(disable: 4483) |
37 extern "C" { extern void (*const __identifier("??_7TestMediaQueryListListener@We
bCore@@6B@")[])(); } | 38 extern "C" { extern void (*const __identifier("??_7TestMediaQueryListListener@We
bCore@@6B@")[])(); } |
38 #else | 39 #else |
39 extern "C" { extern void* _ZTVN7WebCore26TestMediaQueryListListenerE[]; } | 40 extern "C" { extern void* _ZTVN7WebCore26TestMediaQueryListListenerE[]; } |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 } | 83 } |
83 | 84 |
84 static v8::Handle<v8::Value> methodMethodCallback(const v8::Arguments& args) | 85 static v8::Handle<v8::Value> methodMethodCallback(const v8::Arguments& args) |
85 { | 86 { |
86 return TestMediaQueryListListenerV8Internal::methodMethod(args); | 87 return TestMediaQueryListListenerV8Internal::methodMethod(args); |
87 } | 88 } |
88 | 89 |
89 } // namespace TestMediaQueryListListenerV8Internal | 90 } // namespace TestMediaQueryListListenerV8Internal |
90 | 91 |
91 static const V8DOMConfiguration::BatchedMethod V8TestMediaQueryListListenerMetho
ds[] = { | 92 static const V8DOMConfiguration::BatchedMethod V8TestMediaQueryListListenerMetho
ds[] = { |
92 {"method", TestMediaQueryListListenerV8Internal::methodMethodCallback, 0}, | 93 {"method", TestMediaQueryListListenerV8Internal::methodMethodCallback, 0, 1}
, |
93 }; | 94 }; |
94 | 95 |
95 static v8::Persistent<v8::FunctionTemplate> ConfigureV8TestMediaQueryListListene
rTemplate(v8::Persistent<v8::FunctionTemplate> desc, v8::Isolate* isolate, Wrapp
erWorldType currentWorldType) | 96 static v8::Persistent<v8::FunctionTemplate> ConfigureV8TestMediaQueryListListene
rTemplate(v8::Persistent<v8::FunctionTemplate> desc, v8::Isolate* isolate, Wrapp
erWorldType currentWorldType) |
96 { | 97 { |
97 desc->ReadOnlyPrototype(); | 98 desc->ReadOnlyPrototype(); |
98 | 99 |
99 v8::Local<v8::Signature> defaultSignature; | 100 v8::Local<v8::Signature> defaultSignature; |
100 defaultSignature = V8DOMConfiguration::configureTemplate(desc, "TestMediaQue
ryListListener", v8::Persistent<v8::FunctionTemplate>(), V8TestMediaQueryListLis
tener::internalFieldCount, | 101 defaultSignature = V8DOMConfiguration::configureTemplate(desc, "TestMediaQue
ryListListener", v8::Persistent<v8::FunctionTemplate>(), V8TestMediaQueryListLis
tener::internalFieldCount, |
101 0, 0, | 102 0, 0, |
102 V8TestMediaQueryListListenerMethods, WTF_ARRAY_LENGTH(V8TestMediaQueryLi
stListenerMethods), isolate, currentWorldType); | 103 V8TestMediaQueryListListenerMethods, WTF_ARRAY_LENGTH(V8TestMediaQueryLi
stListenerMethods), isolate, currentWorldType); |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 installPerContextProperties(wrapper, impl.get(), isolate); | 155 installPerContextProperties(wrapper, impl.get(), isolate); |
155 V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, hasD
ependentLifetime ? WrapperConfiguration::Dependent : WrapperConfiguration::Indep
endent); | 156 V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, hasD
ependentLifetime ? WrapperConfiguration::Dependent : WrapperConfiguration::Indep
endent); |
156 return wrapper; | 157 return wrapper; |
157 } | 158 } |
158 void V8TestMediaQueryListListener::derefObject(void* object) | 159 void V8TestMediaQueryListListener::derefObject(void* object) |
159 { | 160 { |
160 static_cast<TestMediaQueryListListener*>(object)->deref(); | 161 static_cast<TestMediaQueryListListener*>(object)->deref(); |
161 } | 162 } |
162 | 163 |
163 } // namespace WebCore | 164 } // namespace WebCore |
OLD | NEW |