Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Side by Side Diff: third_party/WebKit/Source/platform/bindings/V8PrivateProperty.h

Issue 2873453004: Shape Detection: add SaveSameObject idl to SameObject annotations (Closed)
Patch Set: Added [SameObject]-specific layout test Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "platform/PlatformExport.h" 10 #include "platform/PlatformExport.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 X(InternalBody, Stream) \ 48 X(InternalBody, Stream) \
49 X(IntersectionObserver, Callback) \ 49 X(IntersectionObserver, Callback) \
50 X(LazyEventListener, ToString) \ 50 X(LazyEventListener, ToString) \
51 X(MessageChannel, Port1) \ 51 X(MessageChannel, Port1) \
52 X(MessageChannel, Port2) \ 52 X(MessageChannel, Port2) \
53 X(MessageEvent, CachedData) \ 53 X(MessageEvent, CachedData) \
54 X(MutationObserver, Callback) \ 54 X(MutationObserver, Callback) \
55 X(NamedConstructor, Initialized) \ 55 X(NamedConstructor, Initialized) \
56 X(PerformanceObserver, Callback) \ 56 X(PerformanceObserver, Callback) \
57 X(PopStateEvent, State) \ 57 X(PopStateEvent, State) \
58 X(SameObject, DetectedBarcodeRawValue) \
59 X(SameObject, DetectedBarcodeBoundingBox) \
60 X(SameObject, DetectedBarcodeCornerPoints) \
61 X(SameObject, DetectedFaceBoundingBox) \
62 X(SameObject, DetectedFaceLandmarks) \
63 X(SameObject, DetectedTextRawValue) \
64 X(SameObject, DetectedTextBoundingBox) \
58 X(SameObject, NotificationActions) \ 65 X(SameObject, NotificationActions) \
59 X(SameObject, NotificationData) \ 66 X(SameObject, NotificationData) \
60 X(SameObject, NotificationVibrate) \ 67 X(SameObject, NotificationVibrate) \
61 X(SameObject, PerformanceLongTaskTimingAttribution) \ 68 X(SameObject, PerformanceLongTaskTimingAttribution) \
62 SCRIPT_PROMISE_PROPERTIES(X, Promise) \ 69 SCRIPT_PROMISE_PROPERTIES(X, Promise) \
63 SCRIPT_PROMISE_PROPERTIES(X, Resolver) 70 SCRIPT_PROMISE_PROPERTIES(X, Resolver)
64 71
65 // The getter's name for a private property. 72 // The getter's name for a private property.
66 #define V8_PRIVATE_PROPERTY_GETTER_NAME(InterfaceName, PrivateKeyName) \ 73 #define V8_PRIVATE_PROPERTY_GETTER_NAME(InterfaceName, PrivateKeyName) \
67 Get##InterfaceName##PrivateKeyName 74 Get##InterfaceName##PrivateKeyName
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 // TODO(peria): Do not use this specialized hack for 220 // TODO(peria): Do not use this specialized hack for
214 // Window#DocumentCachedAccessor. This is required to put v8::Private key in 221 // Window#DocumentCachedAccessor. This is required to put v8::Private key in
215 // a snapshot, and it cannot be a v8::Eternal<> due to V8 serializer's 222 // a snapshot, and it cannot be a v8::Eternal<> due to V8 serializer's
216 // requirement. 223 // requirement.
217 ScopedPersistent<v8::Private> symbol_window_document_cached_accessor_; 224 ScopedPersistent<v8::Private> symbol_window_document_cached_accessor_;
218 }; 225 };
219 226
220 } // namespace blink 227 } // namespace blink
221 228
222 #endif // V8PrivateProperty_h 229 #endif // V8PrivateProperty_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698