OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007-2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2007-2011 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 13 matching lines...) Expand all Loading... |
24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 #include "config.h" | 31 #include "config.h" |
32 #include "bindings/core/v8/V8InjectedScriptHost.h" | 32 #include "bindings/core/v8/V8InjectedScriptHost.h" |
33 | 33 |
| 34 #include "bindings/core/v8/BindingSecurity.h" |
| 35 #include "bindings/core/v8/ExceptionState.h" |
| 36 #include "bindings/core/v8/ScriptDebugServer.h" |
| 37 #include "bindings/core/v8/ScriptValue.h" |
| 38 #include "bindings/core/v8/V8AbstractEventListener.h" |
| 39 #include "bindings/core/v8/V8Binding.h" |
34 #include "bindings/core/v8/V8EventTarget.h" | 40 #include "bindings/core/v8/V8EventTarget.h" |
35 #include "bindings/core/v8/V8HTMLAllCollection.h" | 41 #include "bindings/core/v8/V8HTMLAllCollection.h" |
36 #include "bindings/core/v8/V8HTMLCollection.h" | 42 #include "bindings/core/v8/V8HTMLCollection.h" |
37 #include "bindings/core/v8/V8Node.h" | 43 #include "bindings/core/v8/V8Node.h" |
38 #include "bindings/core/v8/V8NodeList.h" | 44 #include "bindings/core/v8/V8NodeList.h" |
| 45 #include "bindings/core/v8/V8ScriptRunner.h" |
39 #include "bindings/core/v8/V8Storage.h" | 46 #include "bindings/core/v8/V8Storage.h" |
40 #include "bindings/core/v8/custom/V8Float32ArrayCustom.h" | 47 #include "bindings/core/v8/custom/V8Float32ArrayCustom.h" |
41 #include "bindings/core/v8/custom/V8Float64ArrayCustom.h" | 48 #include "bindings/core/v8/custom/V8Float64ArrayCustom.h" |
42 #include "bindings/core/v8/custom/V8Int16ArrayCustom.h" | 49 #include "bindings/core/v8/custom/V8Int16ArrayCustom.h" |
43 #include "bindings/core/v8/custom/V8Int32ArrayCustom.h" | 50 #include "bindings/core/v8/custom/V8Int32ArrayCustom.h" |
44 #include "bindings/core/v8/custom/V8Int8ArrayCustom.h" | 51 #include "bindings/core/v8/custom/V8Int8ArrayCustom.h" |
45 #include "bindings/core/v8/custom/V8Uint16ArrayCustom.h" | 52 #include "bindings/core/v8/custom/V8Uint16ArrayCustom.h" |
46 #include "bindings/core/v8/custom/V8Uint32ArrayCustom.h" | 53 #include "bindings/core/v8/custom/V8Uint32ArrayCustom.h" |
47 #include "bindings/core/v8/custom/V8Uint8ArrayCustom.h" | 54 #include "bindings/core/v8/custom/V8Uint8ArrayCustom.h" |
48 #include "bindings/core/v8/custom/V8Uint8ClampedArrayCustom.h" | 55 #include "bindings/core/v8/custom/V8Uint8ClampedArrayCustom.h" |
49 #include "bindings/modules/v8/V8Database.h" | 56 #include "bindings/modules/v8/V8Database.h" |
50 #include "bindings/v8/BindingSecurity.h" | |
51 #include "bindings/v8/ExceptionState.h" | |
52 #include "bindings/v8/ScriptDebugServer.h" | |
53 #include "bindings/v8/ScriptValue.h" | |
54 #include "bindings/v8/V8AbstractEventListener.h" | |
55 #include "bindings/v8/V8Binding.h" | |
56 #include "bindings/v8/V8ScriptRunner.h" | |
57 #include "core/events/EventTarget.h" | 57 #include "core/events/EventTarget.h" |
58 #include "core/frame/LocalDOMWindow.h" | 58 #include "core/frame/LocalDOMWindow.h" |
59 #include "core/inspector/InjectedScript.h" | 59 #include "core/inspector/InjectedScript.h" |
60 #include "core/inspector/InjectedScriptHost.h" | 60 #include "core/inspector/InjectedScriptHost.h" |
61 #include "core/inspector/InspectorDOMAgent.h" | 61 #include "core/inspector/InspectorDOMAgent.h" |
62 #include "modules/webdatabase/Database.h" | 62 #include "modules/webdatabase/Database.h" |
63 #include "platform/JSONValues.h" | 63 #include "platform/JSONValues.h" |
64 | 64 |
65 namespace WebCore { | 65 namespace WebCore { |
66 | 66 |
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
438 OwnPtr<v8::Handle<v8::Value>[]> argv = adoptArrayPtr(new v8::Handle<v8::Valu
e>[argc]); | 438 OwnPtr<v8::Handle<v8::Value>[]> argv = adoptArrayPtr(new v8::Handle<v8::Valu
e>[argc]); |
439 for (size_t i = 0; i < argc; ++i) | 439 for (size_t i = 0; i < argc; ++i) |
440 argv[i] = info[i + 2]; | 440 argv[i] = info[i + 2]; |
441 | 441 |
442 v8::Local<v8::Value> result = function->Call(receiver, argc, argv.get()); | 442 v8::Local<v8::Value> result = function->Call(receiver, argc, argv.get()); |
443 debugServer.unmuteWarningsAndDeprecations(); | 443 debugServer.unmuteWarningsAndDeprecations(); |
444 v8SetReturnValue(info, result); | 444 v8SetReturnValue(info, result); |
445 } | 445 } |
446 | 446 |
447 } // namespace WebCore | 447 } // namespace WebCore |
OLD | NEW |