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