| 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 "core/frame/SuspendableTimer.h" | 8 #include "core/frame/SuspendableTimer.h" |
| 9 #include "platform/heap/Handle.h" | 9 #include "platform/heap/Handle.h" |
| 10 #include "platform/heap/SelfKeepAlive.h" |
| 10 #include "wtf/Vector.h" | 11 #include "wtf/Vector.h" |
| 11 | 12 |
| 12 namespace blink { | 13 namespace blink { |
| 13 | 14 |
| 14 class LocalFrame; | 15 class LocalFrame; |
| 15 class ScriptSourceCode; | 16 class ScriptSourceCode; |
| 16 class WebScriptExecutionCallback; | 17 class WebScriptExecutionCallback; |
| 17 | 18 |
| 18 class SuspendableScriptExecutor final : public GarbageCollectedFinalized<Suspend
ableScriptExecutor>, public SuspendableTimer { | 19 class SuspendableScriptExecutor final : public GarbageCollectedFinalized<Suspend
ableScriptExecutor>, public SuspendableTimer { |
| 19 USING_GARBAGE_COLLECTED_MIXIN(SuspendableScriptExecutor); | 20 USING_GARBAGE_COLLECTED_MIXIN(SuspendableScriptExecutor); |
| (...skipping 22 matching lines...) Expand all Loading... |
| 42 | 43 |
| 43 int m_worldID; | 44 int m_worldID; |
| 44 int m_extensionGroup; | 45 int m_extensionGroup; |
| 45 | 46 |
| 46 bool m_userGesture; | 47 bool m_userGesture; |
| 47 }; | 48 }; |
| 48 | 49 |
| 49 } // namespace blink | 50 } // namespace blink |
| 50 | 51 |
| 51 #endif // SuspendableScriptExecutor_h | 52 #endif // SuspendableScriptExecutor_h |
| OLD | NEW |