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 25 matching lines...) Expand all Loading... |
36 namespace blink { | 36 namespace blink { |
37 | 37 |
38 class Resource; | 38 class Resource; |
39 class ScriptResource; | 39 class ScriptResource; |
40 class Document; | 40 class Document; |
41 class Element; | 41 class Element; |
42 class LocalFrame; | 42 class LocalFrame; |
43 class HTMLScriptRunnerHost; | 43 class HTMLScriptRunnerHost; |
44 class ScriptSourceCode; | 44 class ScriptSourceCode; |
45 | 45 |
46 class HTMLScriptRunner FINAL : public NoBaseWillBeGarbageCollectedFinalized<HTML
ScriptRunner>, private ResourceClient { | 46 class HTMLScriptRunner FINAL : public NoBaseWillBeGarbageCollectedFinalized<HTML
ScriptRunner>, private ScriptResourceClient { |
47 WTF_MAKE_NONCOPYABLE(HTMLScriptRunner); WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMO
VED; | 47 WTF_MAKE_NONCOPYABLE(HTMLScriptRunner); WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMO
VED; |
48 public: | 48 public: |
49 static PassOwnPtrWillBeRawPtr<HTMLScriptRunner> create(Document* document, H
TMLScriptRunnerHost* host) | 49 static PassOwnPtrWillBeRawPtr<HTMLScriptRunner> create(Document* document, H
TMLScriptRunnerHost* host) |
50 { | 50 { |
51 return adoptPtrWillBeNoop(new HTMLScriptRunner(document, host)); | 51 return adoptPtrWillBeNoop(new HTMLScriptRunner(document, host)); |
52 } | 52 } |
53 ~HTMLScriptRunner(); | 53 ~HTMLScriptRunner(); |
54 | 54 |
55 void detach(); | 55 void detach(); |
56 | 56 |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 | 104 |
105 // For tracking the times between script load and compilation, we need to | 105 // For tracking the times between script load and compilation, we need to |
106 // know whether a parser blocking script was loaded previously, or whether | 106 // know whether a parser blocking script was loaded previously, or whether |
107 // it's really loaded when requested. | 107 // it's really loaded when requested. |
108 bool m_parserBlockingScriptAlreadyLoaded; | 108 bool m_parserBlockingScriptAlreadyLoaded; |
109 }; | 109 }; |
110 | 110 |
111 } | 111 } |
112 | 112 |
113 #endif | 113 #endif |
OLD | NEW |