OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2011 Google Inc. All rights reserved. | 2 * Copyright (c) 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 15 matching lines...) Expand all Loading... |
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 "core/inspector/MainThreadDebugger.h" | 31 #include "core/inspector/MainThreadDebugger.h" |
32 | 32 |
33 #include <memory> | 33 #include <memory> |
34 | 34 |
35 #include "bindings/core/v8/BindingSecurity.h" | 35 #include "bindings/core/v8/BindingSecurity.h" |
36 #include "bindings/core/v8/DOMWrapperWorld.h" | |
37 #include "bindings/core/v8/ScriptController.h" | 36 #include "bindings/core/v8/ScriptController.h" |
38 #include "bindings/core/v8/SourceLocation.h" | 37 #include "bindings/core/v8/SourceLocation.h" |
39 #include "bindings/core/v8/V8BindingForCore.h" | 38 #include "bindings/core/v8/V8BindingForCore.h" |
40 #include "bindings/core/v8/V8ErrorHandler.h" | 39 #include "bindings/core/v8/V8ErrorHandler.h" |
41 #include "bindings/core/v8/V8Node.h" | 40 #include "bindings/core/v8/V8Node.h" |
42 #include "bindings/core/v8/V8Window.h" | 41 #include "bindings/core/v8/V8Window.h" |
43 #include "bindings/core/v8/WorkerOrWorkletScriptController.h" | 42 #include "bindings/core/v8/WorkerOrWorkletScriptController.h" |
44 #include "core/dom/ContainerNode.h" | 43 #include "core/dom/ContainerNode.h" |
45 #include "core/dom/Document.h" | 44 #include "core/dom/Document.h" |
46 #include "core/dom/Element.h" | 45 #include "core/dom/Element.h" |
(...skipping 11 matching lines...) Expand all Loading... |
58 #include "core/inspector/IdentifiersFactory.h" | 57 #include "core/inspector/IdentifiersFactory.h" |
59 #include "core/inspector/InspectedFrames.h" | 58 #include "core/inspector/InspectedFrames.h" |
60 #include "core/inspector/InspectorTaskRunner.h" | 59 #include "core/inspector/InspectorTaskRunner.h" |
61 #include "core/inspector/V8InspectorString.h" | 60 #include "core/inspector/V8InspectorString.h" |
62 #include "core/page/Page.h" | 61 #include "core/page/Page.h" |
63 #include "core/timing/MemoryInfo.h" | 62 #include "core/timing/MemoryInfo.h" |
64 #include "core/workers/MainThreadWorkletGlobalScope.h" | 63 #include "core/workers/MainThreadWorkletGlobalScope.h" |
65 #include "core/xml/XPathEvaluator.h" | 64 #include "core/xml/XPathEvaluator.h" |
66 #include "core/xml/XPathResult.h" | 65 #include "core/xml/XPathResult.h" |
67 #include "platform/UserGestureIndicator.h" | 66 #include "platform/UserGestureIndicator.h" |
| 67 #include "platform/bindings/DOMWrapperWorld.h" |
68 #include "platform/wtf/PtrUtil.h" | 68 #include "platform/wtf/PtrUtil.h" |
69 #include "platform/wtf/ThreadingPrimitives.h" | 69 #include "platform/wtf/ThreadingPrimitives.h" |
70 #include "platform/wtf/text/StringBuilder.h" | 70 #include "platform/wtf/text/StringBuilder.h" |
71 | 71 |
72 namespace blink { | 72 namespace blink { |
73 | 73 |
74 namespace { | 74 namespace { |
75 | 75 |
76 int FrameId(LocalFrame* frame) { | 76 int FrameId(LocalFrame* frame) { |
77 ASSERT(frame); | 77 ASSERT(frame); |
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
465 context, nodes, index++, | 465 context, nodes, index++, |
466 ToV8(node, info.Holder(), info.GetIsolate())) | 466 ToV8(node, info.Holder(), info.GetIsolate())) |
467 .FromMaybe(false)) | 467 .FromMaybe(false)) |
468 return; | 468 return; |
469 } | 469 } |
470 info.GetReturnValue().Set(nodes); | 470 info.GetReturnValue().Set(nodes); |
471 } | 471 } |
472 } | 472 } |
473 | 473 |
474 } // namespace blink | 474 } // namespace blink |
OLD | NEW |