| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef SuspendableScriptExecutor_h | 5 #ifndef SuspendableScriptExecutor_h |
| 6 #define SuspendableScriptExecutor_h | 6 #define SuspendableScriptExecutor_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/DOMWrapperWorld.h" | 8 #include "bindings/core/v8/DOMWrapperWorld.h" |
| 9 #include "core/frame/SuspendableTimer.h" | 9 #include "core/frame/SuspendableTimer.h" |
| 10 #include "platform/heap/Handle.h" | 10 #include "platform/heap/Handle.h" |
| 11 #include "platform/heap/SelfKeepAlive.h" | 11 #include "platform/heap/SelfKeepAlive.h" |
| 12 #include "platform/wtf/RefPtr.h" |
| 13 #include "platform/wtf/Vector.h" |
| 12 #include "v8/include/v8.h" | 14 #include "v8/include/v8.h" |
| 13 #include "wtf/RefPtr.h" | |
| 14 #include "wtf/Vector.h" | |
| 15 | 15 |
| 16 namespace blink { | 16 namespace blink { |
| 17 | 17 |
| 18 class LocalFrame; | 18 class LocalFrame; |
| 19 class ScriptSourceCode; | 19 class ScriptSourceCode; |
| 20 class ScriptState; | 20 class ScriptState; |
| 21 class WebScriptExecutionCallback; | 21 class WebScriptExecutionCallback; |
| 22 | 22 |
| 23 class SuspendableScriptExecutor final | 23 class SuspendableScriptExecutor final |
| 24 : public GarbageCollectedFinalized<SuspendableScriptExecutor>, | 24 : public GarbageCollectedFinalized<SuspendableScriptExecutor>, |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 BlockingOption m_blockingOption; | 75 BlockingOption m_blockingOption; |
| 76 | 76 |
| 77 SelfKeepAlive<SuspendableScriptExecutor> m_keepAlive; | 77 SelfKeepAlive<SuspendableScriptExecutor> m_keepAlive; |
| 78 | 78 |
| 79 Member<Executor> m_executor; | 79 Member<Executor> m_executor; |
| 80 }; | 80 }; |
| 81 | 81 |
| 82 } // namespace blink | 82 } // namespace blink |
| 83 | 83 |
| 84 #endif // SuspendableScriptExecutor_h | 84 #endif // SuspendableScriptExecutor_h |
| OLD | NEW |