OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 V8InternalValueType_h | 5 #ifndef V8InternalValueType_h |
6 #define V8InternalValueType_h | 6 #define V8InternalValueType_h |
7 | 7 |
| 8 #include "platform/inspector_protocol/InspectorProtocol.h" |
8 #include <v8.h> | 9 #include <v8.h> |
9 | 10 |
10 namespace blink { | 11 namespace blink { |
11 | 12 |
12 enum class V8InternalValueType { kEntry, kLocation, kScope, kScopeList }; | 13 enum class V8InternalValueType { kEntry, kLocation, kScope, kScopeList }; |
13 | 14 |
14 bool markAsInternal(v8::Local<v8::Context>, v8::Local<v8::Object>, V8InternalVal
ueType); | 15 bool markAsInternal(v8::Local<v8::Context>, v8::Local<v8::Object>, V8InternalVal
ueType); |
15 bool markArrayEntriesAsInternal(v8::Local<v8::Context>, v8::Local<v8::Array>, V8
InternalValueType); | 16 bool markArrayEntriesAsInternal(v8::Local<v8::Context>, v8::Local<v8::Array>, V8
InternalValueType); |
16 v8::Local<v8::Value> v8InternalValueTypeFrom(v8::Local<v8::Context>, v8::Local<v
8::Object>); | 17 v8::Local<v8::Value> v8InternalValueTypeFrom(v8::Local<v8::Context>, v8::Local<v
8::Object>); |
17 | 18 |
18 | 19 |
19 } // namespace blink | 20 } // namespace blink |
20 | 21 |
21 #endif // V8InternalValueType_h | 22 #endif // V8InternalValueType_h |
OLD | NEW |