Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(99)

Side by Side Diff: third_party/WebKit/Source/core/html/parser/HTMLParserScriptRunner.cpp

Issue 2724673002: [WIP] Introduce ScriptResourceData
Patch Set: Compile fix Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 24 matching lines...) Expand all
35 #include "core/dom/Element.h" 35 #include "core/dom/Element.h"
36 #include "core/dom/IgnoreDestructiveWriteCountIncrementer.h" 36 #include "core/dom/IgnoreDestructiveWriteCountIncrementer.h"
37 #include "core/dom/ScriptLoader.h" 37 #include "core/dom/ScriptLoader.h"
38 #include "core/dom/TaskRunnerHelper.h" 38 #include "core/dom/TaskRunnerHelper.h"
39 #include "core/events/Event.h" 39 #include "core/events/Event.h"
40 #include "core/frame/LocalFrame.h" 40 #include "core/frame/LocalFrame.h"
41 #include "core/html/parser/HTMLInputStream.h" 41 #include "core/html/parser/HTMLInputStream.h"
42 #include "core/html/parser/HTMLParserScriptRunnerHost.h" 42 #include "core/html/parser/HTMLParserScriptRunnerHost.h"
43 #include "core/html/parser/NestingLevelIncrementer.h" 43 #include "core/html/parser/NestingLevelIncrementer.h"
44 #include "core/inspector/ConsoleMessage.h" 44 #include "core/inspector/ConsoleMessage.h"
45 #include "core/loader/resource/ScriptResource.h"
46 #include "platform/Histogram.h" 45 #include "platform/Histogram.h"
47 #include "platform/WebFrameScheduler.h" 46 #include "platform/WebFrameScheduler.h"
48 #include "platform/bindings/Microtask.h" 47 #include "platform/bindings/Microtask.h"
49 #include "platform/bindings/V8PerIsolateData.h" 48 #include "platform/bindings/V8PerIsolateData.h"
50 #include "platform/instrumentation/tracing/TraceEvent.h" 49 #include "platform/instrumentation/tracing/TraceEvent.h"
51 #include "platform/instrumentation/tracing/TracedValue.h" 50 #include "platform/instrumentation/tracing/TracedValue.h"
52 #include "public/platform/Platform.h" 51 #include "public/platform/Platform.h"
53 52
54 namespace blink { 53 namespace blink {
55 54
(...skipping 602 matching lines...) Expand 10 before | Expand all | Expand 10 after
658 visitor->Trace(scripts_to_execute_after_parsing_); 657 visitor->Trace(scripts_to_execute_after_parsing_);
659 PendingScriptClient::Trace(visitor); 658 PendingScriptClient::Trace(visitor);
660 } 659 }
661 DEFINE_TRACE_WRAPPERS(HTMLParserScriptRunner) { 660 DEFINE_TRACE_WRAPPERS(HTMLParserScriptRunner) {
662 visitor->TraceWrappers(parser_blocking_script_); 661 visitor->TraceWrappers(parser_blocking_script_);
663 for (const auto& member : scripts_to_execute_after_parsing_) 662 for (const auto& member : scripts_to_execute_after_parsing_)
664 visitor->TraceWrappers(member); 663 visitor->TraceWrappers(member);
665 } 664 }
666 665
667 } // namespace blink 666 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/ClassicScript.cpp ('k') | third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698