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 ScriptState_h | 5 #ifndef ScriptState_h |
6 #define ScriptState_h | 6 #define ScriptState_h |
7 | 7 |
| 8 #include <memory> |
| 9 |
8 #include "bindings/core/v8/ScopedPersistent.h" | 10 #include "bindings/core/v8/ScopedPersistent.h" |
9 #include "bindings/core/v8/V8PerContextData.h" | 11 #include "bindings/core/v8/V8PerContextData.h" |
10 #include "core/CoreExport.h" | 12 #include "core/CoreExport.h" |
| 13 #include "v8/include/v8-debug.h" |
| 14 #include "v8/include/v8.h" |
11 #include "wtf/RefCounted.h" | 15 #include "wtf/RefCounted.h" |
12 #include <memory> | |
13 #include <v8-debug.h> | |
14 #include <v8.h> | |
15 | 16 |
16 namespace blink { | 17 namespace blink { |
17 | 18 |
18 class LocalDOMWindow; | 19 class LocalDOMWindow; |
19 class DOMWrapperWorld; | 20 class DOMWrapperWorld; |
20 class ExecutionContext; | 21 class ExecutionContext; |
21 class LocalFrame; | 22 class LocalFrame; |
22 class ScriptValue; | 23 class ScriptValue; |
23 | 24 |
24 // ScriptState is an abstraction class that holds all information about script | 25 // ScriptState is an abstraction class that holds all information about script |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 } | 212 } |
212 | 213 |
213 private: | 214 private: |
214 RefPtr<ScriptState> m_scriptState; | 215 RefPtr<ScriptState> m_scriptState; |
215 ScopedPersistent<v8::Context> m_context; | 216 ScopedPersistent<v8::Context> m_context; |
216 }; | 217 }; |
217 | 218 |
218 } // namespace blink | 219 } // namespace blink |
219 | 220 |
220 #endif // ScriptState_h | 221 #endif // ScriptState_h |
OLD | NEW |