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

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

Issue 2027113003: binding: Makes PrivateScriptRunner use V8PrivateProperty instead of V8HiddenValue. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 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 "bindings/core/v8/ScopedPersistent.h" 8 #include "bindings/core/v8/ScopedPersistent.h"
9 #include "bindings/core/v8/ScriptPromiseProperties.h" 9 #include "bindings/core/v8/ScriptPromiseProperties.h"
10 #include "core/CoreExport.h" 10 #include "core/CoreExport.h"
11 #include "wtf/Allocator.h" 11 #include "wtf/Allocator.h"
12 #include "wtf/PassOwnPtr.h" 12 #include "wtf/PassOwnPtr.h"
13 #include <v8.h> 13 #include <v8.h>
14 14
15 namespace blink { 15 namespace blink {
16 16
17 class ScriptState; 17 class ScriptState;
18 class ScriptWrappable; 18 class ScriptWrappable;
19 19
20 #define V8_HIDDEN_VALUES(V) \ 20 #define V8_HIDDEN_VALUES(V) \
21 V(privateScriptObjectIsInitialized) \
22 V(customElementAttachedCallback) \ 21 V(customElementAttachedCallback) \
23 V(customElementAttributeChangedCallback) \ 22 V(customElementAttributeChangedCallback) \
24 V(customElementCreatedCallback) \ 23 V(customElementCreatedCallback) \
25 V(customElementDetachedCallback) \ 24 V(customElementDetachedCallback) \
26 V(customElementDocument) \ 25 V(customElementDocument) \
27 V(customElementIsInterfacePrototypeObject) \ 26 V(customElementIsInterfacePrototypeObject) \
28 V(customElementNamespaceURI) \ 27 V(customElementNamespaceURI) \
29 V(customElementTagName) \ 28 V(customElementTagName) \
30 V(customElementType) \ 29 V(customElementType) \
31 V(customElementsRegistryMap) \ 30 V(customElementsRegistryMap) \
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 V8HiddenValue() { } 78 V8HiddenValue() { }
80 79
81 #define V8_DECLARE_FIELD(name) ScopedPersistent<v8::String> m_##name; 80 #define V8_DECLARE_FIELD(name) ScopedPersistent<v8::String> m_##name;
82 V8_HIDDEN_VALUES(V8_DECLARE_FIELD); 81 V8_HIDDEN_VALUES(V8_DECLARE_FIELD);
83 #undef V8_DECLARE_FIELD 82 #undef V8_DECLARE_FIELD
84 }; 83 };
85 84
86 } // namespace blink 85 } // namespace blink
87 86
88 #endif // V8HiddenValue_h 87 #endif // V8HiddenValue_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698