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

Side by Side Diff: third_party/WebKit/Source/bindings/core/v8/V8HiddenValue.h

Issue 2794453002: [Bindings] Replace V8HiddenValue in generated code with V8PrivateProperty (Closed)
Patch Set: . Created 3 years, 8 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/V8PrivateProperty.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 V8HiddenValue_h 5 #ifndef V8HiddenValue_h
6 #define V8HiddenValue_h 6 #define V8HiddenValue_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 14 matching lines...) Expand all
25 V(customElementCreatedCallback) \ 25 V(customElementCreatedCallback) \
26 V(customElementDetachedCallback) \ 26 V(customElementDetachedCallback) \
27 V(customElementsRegistryMap) \ 27 V(customElementsRegistryMap) \
28 V(event) \ 28 V(event) \
29 V(idbCursorRequest) \ 29 V(idbCursorRequest) \
30 V(internalBodyBuffer) \ 30 V(internalBodyBuffer) \
31 V(internalBodyStream) \ 31 V(internalBodyStream) \
32 V(port1) \ 32 V(port1) \
33 V(port2) \ 33 V(port2) \
34 V(requestInFetchEvent) \ 34 V(requestInFetchEvent) \
35 V(state) \
36 V(testInterfaces) \ 35 V(testInterfaces) \
37 V(thenableHiddenPromise) \ 36 V(thenableHiddenPromise) \
38 V(toStringString) \ 37 V(toStringString) \
39 V(injectedScriptNative) \ 38 V(injectedScriptNative) \
40 SCRIPT_PROMISE_PROPERTIES(V, Promise) \ 39 SCRIPT_PROMISE_PROPERTIES(V, Promise) \
41 SCRIPT_PROMISE_PROPERTIES(V, Resolver) 40 SCRIPT_PROMISE_PROPERTIES(V, Resolver)
42 41
43 class CORE_EXPORT V8HiddenValue { 42 class CORE_EXPORT V8HiddenValue {
44 USING_FAST_MALLOC(V8HiddenValue); 43 USING_FAST_MALLOC(V8HiddenValue);
45 WTF_MAKE_NONCOPYABLE(V8HiddenValue); 44 WTF_MAKE_NONCOPYABLE(V8HiddenValue);
(...skipping 27 matching lines...) Expand all
73 V8HiddenValue() {} 72 V8HiddenValue() {}
74 73
75 #define V8_DECLARE_FIELD(name) ScopedPersistent<v8::String> m_##name; 74 #define V8_DECLARE_FIELD(name) ScopedPersistent<v8::String> m_##name;
76 V8_HIDDEN_VALUES(V8_DECLARE_FIELD); 75 V8_HIDDEN_VALUES(V8_DECLARE_FIELD);
77 #undef V8_DECLARE_FIELD 76 #undef V8_DECLARE_FIELD
78 }; 77 };
79 78
80 } // namespace blink 79 } // namespace blink
81 80
82 #endif // V8HiddenValue_h 81 #endif // V8HiddenValue_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/V8PrivateProperty.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698