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

Side by Side Diff: Source/core/html/parser/HTMLScriptRunner.h

Issue 611593003: Clean up forward declarations in Source/core/html (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « Source/core/html/parser/HTMLElementStack.h ('k') | Source/core/html/parser/HTMLTreeBuilder.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 18 matching lines...) Expand all
29 #include "core/dom/PendingScript.h" 29 #include "core/dom/PendingScript.h"
30 #include "core/fetch/ResourceClient.h" 30 #include "core/fetch/ResourceClient.h"
31 #include "platform/heap/Handle.h" 31 #include "platform/heap/Handle.h"
32 #include "wtf/Deque.h" 32 #include "wtf/Deque.h"
33 #include "wtf/PassRefPtr.h" 33 #include "wtf/PassRefPtr.h"
34 #include "wtf/text/TextPosition.h" 34 #include "wtf/text/TextPosition.h"
35 35
36 namespace blink { 36 namespace blink {
37 37
38 class Resource; 38 class Resource;
39 class ScriptResource;
40 class Document; 39 class Document;
41 class Element; 40 class Element;
42 class LocalFrame;
43 class HTMLScriptRunnerHost; 41 class HTMLScriptRunnerHost;
44 class ScriptSourceCode;
45 42
46 class HTMLScriptRunner FINAL : public NoBaseWillBeGarbageCollectedFinalized<HTML ScriptRunner>, private ScriptResourceClient { 43 class HTMLScriptRunner FINAL : public NoBaseWillBeGarbageCollectedFinalized<HTML ScriptRunner>, private ScriptResourceClient {
47 WTF_MAKE_NONCOPYABLE(HTMLScriptRunner); WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMO VED; 44 WTF_MAKE_NONCOPYABLE(HTMLScriptRunner); WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMO VED;
48 public: 45 public:
49 static PassOwnPtrWillBeRawPtr<HTMLScriptRunner> create(Document* document, H TMLScriptRunnerHost* host) 46 static PassOwnPtrWillBeRawPtr<HTMLScriptRunner> create(Document* document, H TMLScriptRunnerHost* host)
50 { 47 {
51 return adoptPtrWillBeNoop(new HTMLScriptRunner(document, host)); 48 return adoptPtrWillBeNoop(new HTMLScriptRunner(document, host));
52 } 49 }
53 ~HTMLScriptRunner(); 50 ~HTMLScriptRunner();
54 51
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 96
100 // For tracking the times between script load and compilation, we need to 97 // For tracking the times between script load and compilation, we need to
101 // know whether a parser blocking script was loaded previously, or whether 98 // know whether a parser blocking script was loaded previously, or whether
102 // it's really loaded when requested. 99 // it's really loaded when requested.
103 bool m_parserBlockingScriptAlreadyLoaded; 100 bool m_parserBlockingScriptAlreadyLoaded;
104 }; 101 };
105 102
106 } 103 }
107 104
108 #endif 105 #endif
OLDNEW
« no previous file with comments | « Source/core/html/parser/HTMLElementStack.h ('k') | Source/core/html/parser/HTMLTreeBuilder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698