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 V8PrivateProperty_h | 5 #ifndef V8PrivateProperty_h |
6 #define V8PrivateProperty_h | 6 #define V8PrivateProperty_h |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "bindings/core/v8/ScopedPersistent.h" | 10 #include "bindings/core/v8/ScopedPersistent.h" |
(...skipping 16 matching lines...) Expand all Loading... |
27 X(CustomElement, ConnectedCallback) \ | 27 X(CustomElement, ConnectedCallback) \ |
28 X(CustomElement, DisconnectedCallback) \ | 28 X(CustomElement, DisconnectedCallback) \ |
29 X(CustomElement, AdoptedCallback) \ | 29 X(CustomElement, AdoptedCallback) \ |
30 X(CustomElement, AttributeChangedCallback) \ | 30 X(CustomElement, AttributeChangedCallback) \ |
31 X(DOMException, Error) \ | 31 X(DOMException, Error) \ |
32 X(ErrorEvent, Error) \ | 32 X(ErrorEvent, Error) \ |
33 X(IDBObserver, Callback) \ | 33 X(IDBObserver, Callback) \ |
34 X(IntersectionObserver, Callback) \ | 34 X(IntersectionObserver, Callback) \ |
35 X(MessageEvent, CachedData) \ | 35 X(MessageEvent, CachedData) \ |
36 X(MutationObserver, Callback) \ | 36 X(MutationObserver, Callback) \ |
| 37 X(NamedConstructor, Initialized) \ |
37 X(PerformanceObserver, Callback) \ | 38 X(PerformanceObserver, Callback) \ |
38 X(SameObject, NotificationActions) \ | 39 X(SameObject, NotificationActions) \ |
39 X(SameObject, NotificationData) \ | 40 X(SameObject, NotificationData) \ |
40 X(SameObject, NotificationVibrate) \ | 41 X(SameObject, NotificationVibrate) \ |
41 X(SameObject, PerformanceLongTaskTimingAttribution) \ | 42 X(SameObject, PerformanceLongTaskTimingAttribution) \ |
42 X(V8NodeFilterCondition, Filter) \ | 43 X(V8NodeFilterCondition, Filter) \ |
43 X(Window, DocumentCachedAccessor) | 44 X(Window, DocumentCachedAccessor) |
44 | 45 |
45 // The getter's name for a private property. | 46 // The getter's name for a private property. |
46 #define V8_PRIVATE_PROPERTY_GETTER_NAME(InterfaceName, PrivateKeyName) \ | 47 #define V8_PRIVATE_PROPERTY_GETTER_NAME(InterfaceName, PrivateKeyName) \ |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 #define V8_PRIVATE_PROPERTY_DECLARE_MEMBER(InterfaceName, KeyName) \ | 176 #define V8_PRIVATE_PROPERTY_DECLARE_MEMBER(InterfaceName, KeyName) \ |
176 ScopedPersistent<v8::Private> V8_PRIVATE_PROPERTY_MEMBER_NAME( \ | 177 ScopedPersistent<v8::Private> V8_PRIVATE_PROPERTY_MEMBER_NAME( \ |
177 InterfaceName, KeyName); // NOLINT(readability/naming/underscores) | 178 InterfaceName, KeyName); // NOLINT(readability/naming/underscores) |
178 V8_PRIVATE_PROPERTY_FOR_EACH(V8_PRIVATE_PROPERTY_DECLARE_MEMBER) | 179 V8_PRIVATE_PROPERTY_FOR_EACH(V8_PRIVATE_PROPERTY_DECLARE_MEMBER) |
179 #undef V8_PRIVATE_PROPERTY_DECLARE_MEMBER | 180 #undef V8_PRIVATE_PROPERTY_DECLARE_MEMBER |
180 }; | 181 }; |
181 | 182 |
182 } // namespace blink | 183 } // namespace blink |
183 | 184 |
184 #endif // V8PrivateProperty_h | 185 #endif // V8PrivateProperty_h |
OLD | NEW |