| 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/dom/ActiveDOMObject.h" | 8 #include "core/dom/ActiveDOMObject.h" |
| 9 #include "platform/heap/Handle.h" | 9 #include "platform/heap/Handle.h" |
| 10 #include "wtf/OwnPtr.h" | 10 #include "wtf/OwnPtr.h" |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 SuspendableScriptExecutor(LocalFrame*, int worldID, const WillBeHeapVector<S
criptSourceCode>& sources, int extensionGroup, bool userGesture, WebScriptExecut
ionCallback*); | 31 SuspendableScriptExecutor(LocalFrame*, int worldID, const WillBeHeapVector<S
criptSourceCode>& sources, int extensionGroup, bool userGesture, WebScriptExecut
ionCallback*); |
| 32 | 32 |
| 33 void run(); | 33 void run(); |
| 34 void executeAndDestroySelf(); | 34 void executeAndDestroySelf(); |
| 35 | 35 |
| 36 RawPtrWillBeMember<LocalFrame> m_frame; | 36 RawPtrWillBeMember<LocalFrame> m_frame; |
| 37 int m_worldID; | 37 int m_worldID; |
| 38 WillBeHeapVector<ScriptSourceCode> m_sources; | 38 WillBeHeapVector<ScriptSourceCode> m_sources; |
| 39 int m_extensionGroup; | 39 int m_extensionGroup; |
| 40 bool m_userGesture; | 40 bool m_userGesture; |
| 41 bool m_isStarted; |
| 41 WebScriptExecutionCallback* m_callback; | 42 WebScriptExecutionCallback* m_callback; |
| 42 }; | 43 }; |
| 43 | 44 |
| 44 } // namespace blink | 45 } // namespace blink |
| 45 | 46 |
| 46 #endif // SuspendableScriptExecutor_h | 47 #endif // SuspendableScriptExecutor_h |
| OLD | NEW |