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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 #include "core/inspector/ConsoleMessage.h" | 54 #include "core/inspector/ConsoleMessage.h" |
55 #include "core/inspector/ConsoleMessageStorage.h" | 55 #include "core/inspector/ConsoleMessageStorage.h" |
56 #include "core/inspector/IdentifiersFactory.h" | 56 #include "core/inspector/IdentifiersFactory.h" |
57 #include "core/inspector/InspectedFrames.h" | 57 #include "core/inspector/InspectedFrames.h" |
58 #include "core/inspector/InspectorTaskRunner.h" | 58 #include "core/inspector/InspectorTaskRunner.h" |
59 #include "core/timing/MemoryInfo.h" | 59 #include "core/timing/MemoryInfo.h" |
60 #include "core/workers/MainThreadWorkletGlobalScope.h" | 60 #include "core/workers/MainThreadWorkletGlobalScope.h" |
61 #include "core/xml/XPathEvaluator.h" | 61 #include "core/xml/XPathEvaluator.h" |
62 #include "core/xml/XPathResult.h" | 62 #include "core/xml/XPathResult.h" |
63 #include "platform/UserGestureIndicator.h" | 63 #include "platform/UserGestureIndicator.h" |
64 #include "platform/inspector_protocol/Values.h" | |
65 #include "platform/v8_inspector/public/V8Inspector.h" | 64 #include "platform/v8_inspector/public/V8Inspector.h" |
66 #include "wtf/PtrUtil.h" | 65 #include "wtf/PtrUtil.h" |
67 #include "wtf/ThreadingPrimitives.h" | 66 #include "wtf/ThreadingPrimitives.h" |
68 #include <memory> | 67 #include <memory> |
69 | 68 |
70 namespace blink { | 69 namespace blink { |
71 | 70 |
72 namespace { | 71 namespace { |
73 | 72 |
74 int frameId(LocalFrame* frame) | 73 int frameId(LocalFrame* frame) |
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
404 return; | 403 return; |
405 if (!nodes->Set(context, index++, toV8(node, info.Holder(), info.Get
Isolate())).FromMaybe(false)) | 404 if (!nodes->Set(context, index++, toV8(node, info.Holder(), info.Get
Isolate())).FromMaybe(false)) |
406 return; | 405 return; |
407 } | 406 } |
408 info.GetReturnValue().Set(nodes); | 407 info.GetReturnValue().Set(nodes); |
409 } | 408 } |
410 exceptionState.throwIfNeeded(); | 409 exceptionState.throwIfNeeded(); |
411 } | 410 } |
412 | 411 |
413 } // namespace blink | 412 } // namespace blink |
OLD | NEW |