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 #include "config.h" | 21 #include "config.h" |
22 #include "V8TestCallback.h" | 22 #include "V8TestCallback.h" |
23 | 23 |
24 #include "V8Class1.h" | 24 #include "V8Class1.h" |
25 #include "V8Class2.h" | 25 #include "V8Class2.h" |
26 #include "V8DOMStringList.h" | 26 #include "V8DOMStringList.h" |
27 #include "bindings/v8/V8Binding.h" | 27 #include "bindings/v8/V8Binding.h" |
28 #include "bindings/v8/V8Callback.h" | 28 #include "bindings/v8/V8Callback.h" |
29 #include "core/dom/ScriptExecutionContext.h" | 29 #include "core/dom/ScriptExecutionContext.h" |
30 #include <wtf/GetPtr.h> | 30 #include "wtf/Assertions.h" |
31 #include <wtf/RefCounted.h> | 31 #include "wtf/GetPtr.h" |
32 #include <wtf/RefPtr.h> | 32 #include "wtf/RefCounted.h" |
33 | 33 #include "wtf/RefPtr.h" |
34 #include <wtf/Assertions.h> | |
35 | |
36 namespace WebCore { | 34 namespace WebCore { |
37 | 35 |
38 V8TestCallback::V8TestCallback(v8::Handle<v8::Object> callback, ScriptExecutionC
ontext* context) | 36 V8TestCallback::V8TestCallback(v8::Handle<v8::Object> callback, ScriptExecutionC
ontext* context) |
39 : ActiveDOMCallback(context) | 37 : ActiveDOMCallback(context) |
40 , m_callback(callback) | 38 , m_callback(callback) |
41 , m_world(DOMWrapperWorld::current()) | 39 , m_world(DOMWrapperWorld::current()) |
42 { | 40 { |
43 } | 41 } |
44 | 42 |
45 V8TestCallback::~V8TestCallback() | 43 V8TestCallback::~V8TestCallback() |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 v8::Handle<v8::Value> argv[] = { | 180 v8::Handle<v8::Value> argv[] = { |
183 boolParamHandle | 181 boolParamHandle |
184 }; | 182 }; |
185 | 183 |
186 bool callbackReturnValue = false; | 184 bool callbackReturnValue = false; |
187 return !invokeCallback(m_callback.get(), 1, argv, callbackReturnValue, scrip
tExecutionContext()); | 185 return !invokeCallback(m_callback.get(), 1, argv, callbackReturnValue, scrip
tExecutionContext()); |
188 } | 186 } |
189 | 187 |
190 } // namespace WebCore | 188 } // namespace WebCore |
191 | 189 |
OLD | NEW |