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

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

Issue 2856173004: Clean up bindings/core/v8 (Part 5) (Closed)
Patch Set: Fix build 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 11 matching lines...) Expand all
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 */ 24 */
25 25
26 #include "core/html/parser/HTMLParserScriptRunner.h" 26 #include "core/html/parser/HTMLParserScriptRunner.h"
27 27
28 #include <inttypes.h> 28 #include <inttypes.h>
29 #include <memory> 29 #include <memory>
30 #include "bindings/core/v8/ScriptSourceCode.h" 30 #include "bindings/core/v8/ScriptSourceCode.h"
31 #include "bindings/core/v8/V8BindingForCore.h" 31 #include "bindings/core/v8/V8BindingForCore.h"
32 #include "bindings/core/v8/V8PerIsolateData.h"
33 #include "core/dom/ClassicPendingScript.h" 32 #include "core/dom/ClassicPendingScript.h"
34 #include "core/dom/ClassicScript.h" 33 #include "core/dom/ClassicScript.h"
35 #include "core/dom/DocumentParserTiming.h" 34 #include "core/dom/DocumentParserTiming.h"
36 #include "core/dom/Element.h" 35 #include "core/dom/Element.h"
37 #include "core/dom/IgnoreDestructiveWriteCountIncrementer.h" 36 #include "core/dom/IgnoreDestructiveWriteCountIncrementer.h"
38 #include "core/dom/ScriptLoader.h" 37 #include "core/dom/ScriptLoader.h"
39 #include "core/dom/TaskRunnerHelper.h" 38 #include "core/dom/TaskRunnerHelper.h"
40 #include "core/events/Event.h" 39 #include "core/events/Event.h"
41 #include "core/frame/LocalFrame.h" 40 #include "core/frame/LocalFrame.h"
42 #include "core/html/parser/HTMLInputStream.h" 41 #include "core/html/parser/HTMLInputStream.h"
43 #include "core/html/parser/HTMLParserScriptRunnerHost.h" 42 #include "core/html/parser/HTMLParserScriptRunnerHost.h"
44 #include "core/html/parser/NestingLevelIncrementer.h" 43 #include "core/html/parser/NestingLevelIncrementer.h"
45 #include "core/inspector/ConsoleMessage.h" 44 #include "core/inspector/ConsoleMessage.h"
46 #include "core/loader/resource/ScriptResource.h" 45 #include "core/loader/resource/ScriptResource.h"
47 #include "platform/Histogram.h" 46 #include "platform/Histogram.h"
48 #include "platform/WebFrameScheduler.h" 47 #include "platform/WebFrameScheduler.h"
49 #include "platform/bindings/Microtask.h" 48 #include "platform/bindings/Microtask.h"
49 #include "platform/bindings/V8PerIsolateData.h"
50 #include "platform/instrumentation/tracing/TraceEvent.h" 50 #include "platform/instrumentation/tracing/TraceEvent.h"
51 #include "platform/instrumentation/tracing/TracedValue.h" 51 #include "platform/instrumentation/tracing/TracedValue.h"
52 #include "public/platform/Platform.h" 52 #include "public/platform/Platform.h"
53 53
54 namespace blink { 54 namespace blink {
55 55
56 namespace { 56 namespace {
57 57
58 // TODO(bmcquade): move this to a shared location if we find ourselves wanting 58 // TODO(bmcquade): move this to a shared location if we find ourselves wanting
59 // to trace similar data elsewhere in the codebase. 59 // to trace similar data elsewhere in the codebase.
(...skipping 618 matching lines...) Expand 10 before | Expand all | Expand 10 after
678 678
679 DEFINE_TRACE(HTMLParserScriptRunner) { 679 DEFINE_TRACE(HTMLParserScriptRunner) {
680 visitor->Trace(document_); 680 visitor->Trace(document_);
681 visitor->Trace(host_); 681 visitor->Trace(host_);
682 visitor->Trace(parser_blocking_script_); 682 visitor->Trace(parser_blocking_script_);
683 visitor->Trace(scripts_to_execute_after_parsing_); 683 visitor->Trace(scripts_to_execute_after_parsing_);
684 PendingScriptClient::Trace(visitor); 684 PendingScriptClient::Trace(visitor);
685 } 685 }
686 686
687 } // namespace blink 687 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698