OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google, Inc. All Rights Reserved. | 2 * Copyright (C) 2010 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 16 matching lines...) Expand all Loading... |
27 | 27 |
28 #include "bindings/core/v8/Microtask.h" | 28 #include "bindings/core/v8/Microtask.h" |
29 #include "bindings/core/v8/ScriptSourceCode.h" | 29 #include "bindings/core/v8/ScriptSourceCode.h" |
30 #include "bindings/core/v8/V8PerIsolateData.h" | 30 #include "bindings/core/v8/V8PerIsolateData.h" |
31 #include "core/dom/DocumentParserTiming.h" | 31 #include "core/dom/DocumentParserTiming.h" |
32 #include "core/dom/Element.h" | 32 #include "core/dom/Element.h" |
33 #include "core/dom/IgnoreDestructiveWriteCountIncrementer.h" | 33 #include "core/dom/IgnoreDestructiveWriteCountIncrementer.h" |
34 #include "core/dom/ScriptLoader.h" | 34 #include "core/dom/ScriptLoader.h" |
35 #include "core/dom/TaskRunnerHelper.h" | 35 #include "core/dom/TaskRunnerHelper.h" |
36 #include "core/events/Event.h" | 36 #include "core/events/Event.h" |
37 #include "core/fetch/MemoryCache.h" | |
38 #include "core/frame/LocalFrame.h" | 37 #include "core/frame/LocalFrame.h" |
39 #include "core/html/parser/HTMLInputStream.h" | 38 #include "core/html/parser/HTMLInputStream.h" |
40 #include "core/html/parser/HTMLParserScriptRunnerHost.h" | 39 #include "core/html/parser/HTMLParserScriptRunnerHost.h" |
41 #include "core/html/parser/NestingLevelIncrementer.h" | 40 #include "core/html/parser/NestingLevelIncrementer.h" |
42 #include "core/loader/resource/ScriptResource.h" | 41 #include "core/loader/resource/ScriptResource.h" |
43 #include "platform/Histogram.h" | 42 #include "platform/Histogram.h" |
44 #include "platform/WebFrameScheduler.h" | 43 #include "platform/WebFrameScheduler.h" |
45 #include "platform/instrumentation/tracing/TraceEvent.h" | 44 #include "platform/instrumentation/tracing/TraceEvent.h" |
46 #include "platform/instrumentation/tracing/TracedValue.h" | 45 #include "platform/instrumentation/tracing/TracedValue.h" |
| 46 #include "platform/loader/fetch/MemoryCache.h" |
47 #include "public/platform/Platform.h" | 47 #include "public/platform/Platform.h" |
48 #include <inttypes.h> | 48 #include <inttypes.h> |
49 #include <memory> | 49 #include <memory> |
50 | 50 |
51 namespace blink { | 51 namespace blink { |
52 | 52 |
53 namespace { | 53 namespace { |
54 | 54 |
55 // TODO(bmcquade): move this to a shared location if we find ourselves wanting | 55 // TODO(bmcquade): move this to a shared location if we find ourselves wanting |
56 // to trace similar data elsewhere in the codebase. | 56 // to trace similar data elsewhere in the codebase. |
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
515 | 515 |
516 DEFINE_TRACE(HTMLParserScriptRunner) { | 516 DEFINE_TRACE(HTMLParserScriptRunner) { |
517 visitor->trace(m_document); | 517 visitor->trace(m_document); |
518 visitor->trace(m_host); | 518 visitor->trace(m_host); |
519 visitor->trace(m_parserBlockingScript); | 519 visitor->trace(m_parserBlockingScript); |
520 visitor->trace(m_scriptsToExecuteAfterParsing); | 520 visitor->trace(m_scriptsToExecuteAfterParsing); |
521 PendingScriptClient::trace(visitor); | 521 PendingScriptClient::trace(visitor); |
522 } | 522 } |
523 | 523 |
524 } // namespace blink | 524 } // namespace blink |
OLD | NEW |