OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * Copyright (C) 2012 Ericsson AB. All rights reserved. | 3 * Copyright (C) 2012 Ericsson AB. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 14 matching lines...) Expand all Loading... |
25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
30 */ | 30 */ |
31 | 31 |
32 #ifndef V8Binding_h | 32 #ifndef V8Binding_h |
33 #define V8Binding_h | 33 #define V8Binding_h |
34 | 34 |
| 35 #include <v8.h> |
35 #include "bindings/core/v8/DOMDataStore.h" | 36 #include "bindings/core/v8/DOMDataStore.h" |
36 #include "bindings/core/v8/DOMWrapperWorld.h" | 37 #include "bindings/core/v8/DOMWrapperWorld.h" |
37 #include "bindings/core/v8/ExceptionMessages.h" | 38 #include "bindings/core/v8/ExceptionMessages.h" |
38 #include "bindings/core/v8/ExceptionState.h" | 39 #include "bindings/core/v8/ExceptionState.h" |
39 #include "bindings/core/v8/NativeValueTraits.h" | 40 #include "bindings/core/v8/NativeValueTraits.h" |
40 #include "bindings/core/v8/ScriptState.h" | 41 #include "bindings/core/v8/ScriptState.h" |
41 #include "bindings/core/v8/ScriptValue.h" | 42 #include "bindings/core/v8/ScriptValue.h" |
42 #include "bindings/core/v8/ScriptWrappable.h" | 43 #include "bindings/core/v8/ScriptWrappable.h" |
43 #include "bindings/core/v8/V8BindingMacros.h" | 44 #include "bindings/core/v8/V8BindingMacros.h" |
44 #include "bindings/core/v8/V8PerIsolateData.h" | 45 #include "bindings/core/v8/V8PerIsolateData.h" |
45 #include "bindings/core/v8/V8ScriptRunner.h" | 46 #include "bindings/core/v8/V8ScriptRunner.h" |
46 #include "bindings/core/v8/V8StringResource.h" | 47 #include "bindings/core/v8/V8StringResource.h" |
47 #include "bindings/core/v8/V8ThrowException.h" | 48 #include "bindings/core/v8/V8ThrowException.h" |
48 #include "bindings/core/v8/V8ValueCache.h" | 49 #include "bindings/core/v8/V8ValueCache.h" |
49 #include "core/CoreExport.h" | 50 #include "core/CoreExport.h" |
50 #include "platform/heap/Handle.h" | 51 #include "platform/heap/Handle.h" |
51 #include "wtf/text/AtomicString.h" | 52 #include "wtf/text/AtomicString.h" |
52 #include "wtf/text/StringView.h" | 53 #include "wtf/text/StringView.h" |
53 #include <v8.h> | |
54 | 54 |
55 namespace blink { | 55 namespace blink { |
56 | 56 |
57 class DOMWindow; | 57 class DOMWindow; |
58 class EventListener; | 58 class EventListener; |
59 class EventTarget; | 59 class EventTarget; |
60 class ExceptionState; | 60 class ExceptionState; |
61 class ExecutionContext; | 61 class ExecutionContext; |
62 class FlexibleArrayBufferView; | 62 class FlexibleArrayBufferView; |
63 class Frame; | 63 class Frame; |
(...skipping 1072 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1136 // If the argument isn't an object, this will crash. | 1136 // If the argument isn't an object, this will crash. |
1137 CORE_EXPORT v8::Local<v8::Value> freezeV8Object(v8::Local<v8::Value>, | 1137 CORE_EXPORT v8::Local<v8::Value> freezeV8Object(v8::Local<v8::Value>, |
1138 v8::Isolate*); | 1138 v8::Isolate*); |
1139 | 1139 |
1140 CORE_EXPORT v8::Local<v8::Value> fromJSONString(v8::Isolate*, | 1140 CORE_EXPORT v8::Local<v8::Value> fromJSONString(v8::Isolate*, |
1141 const String& stringifiedJSON, | 1141 const String& stringifiedJSON, |
1142 ExceptionState&); | 1142 ExceptionState&); |
1143 } // namespace blink | 1143 } // namespace blink |
1144 | 1144 |
1145 #endif // V8Binding_h | 1145 #endif // V8Binding_h |
OLD | NEW |