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

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

Issue 2724673002: [WIP] Introduce ScriptResourceData
Patch Set: Fix Created 3 years, 7 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 26 matching lines...) Expand all
37 #include "core/dom/Element.h" 37 #include "core/dom/Element.h"
38 #include "core/dom/IgnoreDestructiveWriteCountIncrementer.h" 38 #include "core/dom/IgnoreDestructiveWriteCountIncrementer.h"
39 #include "core/dom/ScriptLoader.h" 39 #include "core/dom/ScriptLoader.h"
40 #include "core/dom/TaskRunnerHelper.h" 40 #include "core/dom/TaskRunnerHelper.h"
41 #include "core/events/Event.h" 41 #include "core/events/Event.h"
42 #include "core/frame/LocalFrame.h" 42 #include "core/frame/LocalFrame.h"
43 #include "core/html/parser/HTMLInputStream.h" 43 #include "core/html/parser/HTMLInputStream.h"
44 #include "core/html/parser/HTMLParserScriptRunnerHost.h" 44 #include "core/html/parser/HTMLParserScriptRunnerHost.h"
45 #include "core/html/parser/NestingLevelIncrementer.h" 45 #include "core/html/parser/NestingLevelIncrementer.h"
46 #include "core/inspector/ConsoleMessage.h" 46 #include "core/inspector/ConsoleMessage.h"
47 #include "core/loader/resource/ScriptResource.h"
48 #include "platform/Histogram.h" 47 #include "platform/Histogram.h"
49 #include "platform/WebFrameScheduler.h" 48 #include "platform/WebFrameScheduler.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
56 namespace { 55 namespace {
57 56
(...skipping 620 matching lines...) Expand 10 before | Expand all | Expand 10 after
678 677
679 DEFINE_TRACE(HTMLParserScriptRunner) { 678 DEFINE_TRACE(HTMLParserScriptRunner) {
680 visitor->Trace(document_); 679 visitor->Trace(document_);
681 visitor->Trace(host_); 680 visitor->Trace(host_);
682 visitor->Trace(parser_blocking_script_); 681 visitor->Trace(parser_blocking_script_);
683 visitor->Trace(scripts_to_execute_after_parsing_); 682 visitor->Trace(scripts_to_execute_after_parsing_);
684 PendingScriptClient::Trace(visitor); 683 PendingScriptClient::Trace(visitor);
685 } 684 }
686 685
687 } // namespace blink 686 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698