| 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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/inspector/V8InspectorString.h" | 59 #include "core/inspector/V8InspectorString.h" |
| 60 #include "core/inspector/protocol/Protocol.h" | 60 #include "core/inspector/protocol/Protocol.h" |
| 61 #include "core/timing/MemoryInfo.h" | 61 #include "core/timing/MemoryInfo.h" |
| 62 #include "core/workers/MainThreadWorkletGlobalScope.h" | 62 #include "core/workers/MainThreadWorkletGlobalScope.h" |
| 63 #include "core/xml/XPathEvaluator.h" | 63 #include "core/xml/XPathEvaluator.h" |
| 64 #include "core/xml/XPathResult.h" | 64 #include "core/xml/XPathResult.h" |
| 65 #include "platform/UserGestureIndicator.h" | 65 #include "platform/UserGestureIndicator.h" |
| 66 #include "platform/v8_inspector/public/V8Inspector.h" | |
| 67 #include "wtf/PtrUtil.h" | 66 #include "wtf/PtrUtil.h" |
| 68 #include "wtf/ThreadingPrimitives.h" | 67 #include "wtf/ThreadingPrimitives.h" |
| 69 #include <memory> | 68 #include <memory> |
| 70 | 69 |
| 71 namespace blink { | 70 namespace blink { |
| 72 | 71 |
| 73 namespace { | 72 namespace { |
| 74 | 73 |
| 75 int frameId(LocalFrame* frame) | 74 int frameId(LocalFrame* frame) |
| 76 { | 75 { |
| (...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 409 if (exceptionState.hadException()) | 408 if (exceptionState.hadException()) |
| 410 return; | 409 return; |
| 411 if (!createDataPropertyInArray(context, nodes, index++, toV8(node, i
nfo.Holder(), info.GetIsolate())).FromMaybe(false)) | 410 if (!createDataPropertyInArray(context, nodes, index++, toV8(node, i
nfo.Holder(), info.GetIsolate())).FromMaybe(false)) |
| 412 return; | 411 return; |
| 413 } | 412 } |
| 414 info.GetReturnValue().Set(nodes); | 413 info.GetReturnValue().Set(nodes); |
| 415 } | 414 } |
| 416 } | 415 } |
| 417 | 416 |
| 418 } // namespace blink | 417 } // namespace blink |
| OLD | NEW |