OLD | NEW |
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2015 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 V8BindingForTesting_h | 5 #ifndef V8BindingForTesting_h |
6 #define V8BindingForTesting_h | 6 #define V8BindingForTesting_h |
7 | 7 |
| 8 #include <v8.h> |
8 #include "bindings/core/v8/ExceptionState.h" | 9 #include "bindings/core/v8/ExceptionState.h" |
9 #include "bindings/core/v8/ScriptState.h" | 10 #include "bindings/core/v8/ScriptState.h" |
10 #include "wtf/Allocator.h" | 11 #include "wtf/Allocator.h" |
11 #include "wtf/Forward.h" | 12 #include "wtf/Forward.h" |
12 #include <v8.h> | |
13 | 13 |
14 namespace blink { | 14 namespace blink { |
15 | 15 |
16 class Document; | 16 class Document; |
17 class DOMWrapperWorld; | 17 class DOMWrapperWorld; |
18 class DummyPageHolder; | 18 class DummyPageHolder; |
19 class ExecutionContext; | 19 class ExecutionContext; |
20 class LocalFrame; | 20 class LocalFrame; |
21 class Page; | 21 class Page; |
22 | 22 |
(...skipping 29 matching lines...) Expand all Loading... |
52 v8::HandleScope m_handleScope; | 52 v8::HandleScope m_handleScope; |
53 v8::Local<v8::Context> m_context; | 53 v8::Local<v8::Context> m_context; |
54 v8::Context::Scope m_contextScope; | 54 v8::Context::Scope m_contextScope; |
55 v8::TryCatch m_tryCatch; | 55 v8::TryCatch m_tryCatch; |
56 DummyExceptionStateForTesting m_exceptionState; | 56 DummyExceptionStateForTesting m_exceptionState; |
57 }; | 57 }; |
58 | 58 |
59 } // namespace blink | 59 } // namespace blink |
60 | 60 |
61 #endif // V8BindingForTesting_h | 61 #endif // V8BindingForTesting_h |
OLD | NEW |