| 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 10 matching lines...) Expand all Loading... |
| 21 #include "config.h" | 21 #include "config.h" |
| 22 #include "V8TestCallback.h" | 22 #include "V8TestCallback.h" |
| 23 | 23 |
| 24 #include "V8DOMStringList.h" | 24 #include "V8DOMStringList.h" |
| 25 #include "V8TestObject.h" | 25 #include "V8TestObject.h" |
| 26 #include "bindings/v8/V8Binding.h" | 26 #include "bindings/v8/V8Binding.h" |
| 27 #include "bindings/v8/V8Callback.h" | 27 #include "bindings/v8/V8Callback.h" |
| 28 #include "core/dom/ScriptExecutionContext.h" | 28 #include "core/dom/ScriptExecutionContext.h" |
| 29 #include "wtf/Assertions.h" | 29 #include "wtf/Assertions.h" |
| 30 #include "wtf/GetPtr.h" | 30 #include "wtf/GetPtr.h" |
| 31 #include "wtf/RefCounted.h" | |
| 32 #include "wtf/RefPtr.h" | 31 #include "wtf/RefPtr.h" |
| 33 namespace WebCore { | 32 namespace WebCore { |
| 34 | 33 |
| 35 V8TestCallback::V8TestCallback(v8::Handle<v8::Object> callback, ScriptExecutionC
ontext* context) | 34 V8TestCallback::V8TestCallback(v8::Handle<v8::Object> callback, ScriptExecutionC
ontext* context) |
| 36 : ActiveDOMCallback(context) | 35 : ActiveDOMCallback(context) |
| 37 , m_callback(callback) | 36 , m_callback(callback) |
| 38 , m_world(DOMWrapperWorld::current()) | 37 , m_world(DOMWrapperWorld::current()) |
| 39 { | 38 { |
| 40 } | 39 } |
| 41 | 40 |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 v8::Handle<v8::Value> argv[] = { | 248 v8::Handle<v8::Value> argv[] = { |
| 250 paramHandle | 249 paramHandle |
| 251 }; | 250 }; |
| 252 | 251 |
| 253 bool callbackReturnValue = false; | 252 bool callbackReturnValue = false; |
| 254 return !invokeCallback(m_callback.newLocal(isolate), v8::Handle<v8::Object>:
:Cast(thisHandle), 1, argv, callbackReturnValue, scriptExecutionContext()); | 253 return !invokeCallback(m_callback.newLocal(isolate), v8::Handle<v8::Object>:
:Cast(thisHandle), 1, argv, callbackReturnValue, scriptExecutionContext()); |
| 255 } | 254 } |
| 256 | 255 |
| 257 } // namespace WebCore | 256 } // namespace WebCore |
| 258 | 257 |
| OLD | NEW |