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 17 matching lines...) Expand all Loading... |
28 | 28 |
29 #include "core/CoreExport.h" | 29 #include "core/CoreExport.h" |
30 #include "platform/heap/Handle.h" | 30 #include "platform/heap/Handle.h" |
31 #include "public/platform/WebTraceLocation.h" | 31 #include "public/platform/WebTraceLocation.h" |
32 #include "wtf/Deque.h" | 32 #include "wtf/Deque.h" |
33 #include "wtf/HashMap.h" | 33 #include "wtf/HashMap.h" |
34 #include "wtf/Noncopyable.h" | 34 #include "wtf/Noncopyable.h" |
35 | 35 |
36 namespace blink { | 36 namespace blink { |
37 | 37 |
38 class CancellableTaskFactory; | |
39 class Document; | 38 class Document; |
40 class ScriptLoader; | 39 class ScriptLoader; |
41 class WebTaskRunner; | 40 class WebTaskRunner; |
42 | 41 |
43 class CORE_EXPORT ScriptRunner final : public GarbageCollected<ScriptRunner> { | 42 class CORE_EXPORT ScriptRunner final : public GarbageCollected<ScriptRunner> { |
44 WTF_MAKE_NONCOPYABLE(ScriptRunner); | 43 WTF_MAKE_NONCOPYABLE(ScriptRunner); |
45 | 44 |
46 public: | 45 public: |
47 static ScriptRunner* create(Document* document) { | 46 static ScriptRunner* create(Document* document) { |
48 return new ScriptRunner(document); | 47 return new ScriptRunner(document); |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 | 96 |
98 bool m_isSuspended; | 97 bool m_isSuspended; |
99 #ifndef NDEBUG | 98 #ifndef NDEBUG |
100 bool m_hasEverBeenSuspended; | 99 bool m_hasEverBeenSuspended; |
101 #endif | 100 #endif |
102 }; | 101 }; |
103 | 102 |
104 } // namespace blink | 103 } // namespace blink |
105 | 104 |
106 #endif // ScriptRunner_h | 105 #endif // ScriptRunner_h |
OLD | NEW |