OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 11 matching lines...) Expand all Loading... |
22 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF | 22 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF |
23 * THE POSSIBILITY OF SUCH DAMAGE. | 23 * THE POSSIBILITY OF SUCH DAMAGE. |
24 */ | 24 */ |
25 | 25 |
26 #ifndef V8ScriptRunner_h | 26 #ifndef V8ScriptRunner_h |
27 #define V8ScriptRunner_h | 27 #define V8ScriptRunner_h |
28 | 28 |
29 #include <stdint.h> | 29 #include <stdint.h> |
30 | 30 |
31 #include "bindings/core/v8/ScriptValue.h" | 31 #include "bindings/core/v8/ScriptValue.h" |
32 #include "bindings/core/v8/V8BindingMacros.h" | |
33 #include "bindings/core/v8/V8CacheOptions.h" | 32 #include "bindings/core/v8/V8CacheOptions.h" |
34 #include "core/CoreExport.h" | 33 #include "core/CoreExport.h" |
35 #include "platform/bindings/ScriptState.h" | 34 #include "platform/bindings/ScriptState.h" |
| 35 #include "platform/bindings/V8BindingMacros.h" |
36 #include "platform/loader/fetch/AccessControlStatus.h" | 36 #include "platform/loader/fetch/AccessControlStatus.h" |
37 #include "platform/wtf/Allocator.h" | 37 #include "platform/wtf/Allocator.h" |
38 #include "platform/wtf/text/TextPosition.h" | 38 #include "platform/wtf/text/TextPosition.h" |
39 #include "platform/wtf/text/WTFString.h" | 39 #include "platform/wtf/text/WTFString.h" |
40 #include "v8/include/v8.h" | 40 #include "v8/include/v8.h" |
41 | 41 |
42 namespace blink { | 42 namespace blink { |
43 | 43 |
44 class CachedMetadataHandler; | 44 class CachedMetadataHandler; |
45 class ScriptResource; | 45 class ScriptResource; |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 private: | 150 private: |
151 static v8::MaybeLocal<v8::Value> CallExtraHelper(ScriptState*, | 151 static v8::MaybeLocal<v8::Value> CallExtraHelper(ScriptState*, |
152 const char* name, | 152 const char* name, |
153 size_t num_args, | 153 size_t num_args, |
154 v8::Local<v8::Value>* args); | 154 v8::Local<v8::Value>* args); |
155 }; | 155 }; |
156 | 156 |
157 } // namespace blink | 157 } // namespace blink |
158 | 158 |
159 #endif // V8ScriptRunner_h | 159 #endif // V8ScriptRunner_h |
OLD | NEW |