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

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

Issue 362993004: Implement Blink-in-JS for DOM attributes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
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 <v8.h> 9 #include <v8.h>
10 10
11 namespace WebCore { 11 namespace WebCore {
12 12
13 class ScriptWrappable; 13 class ScriptWrappable;
14 14
15 #define V8_HIDDEN_VALUES(V) \ 15 #define V8_HIDDEN_VALUES(V) \
16 V(arrayBufferData) \ 16 V(arrayBufferData) \
17 V(privateScriptObjectIsInitialized) \
17 V(customElementAttached) \ 18 V(customElementAttached) \
18 V(customElementAttributeChanged) \ 19 V(customElementAttributeChanged) \
19 V(customElementCreated) \ 20 V(customElementCreated) \
20 V(customElementDetached) \ 21 V(customElementDetached) \
21 V(customElementDocument) \ 22 V(customElementDocument) \
22 V(customElementIsInterfacePrototypeObject) \ 23 V(customElementIsInterfacePrototypeObject) \
23 V(customElementNamespaceURI) \ 24 V(customElementNamespaceURI) \
24 V(customElementTagName) \ 25 V(customElementTagName) \
25 V(customElementType) \ 26 V(customElementType) \
26 V(callback) \ 27 V(callback) \
(...skipping 25 matching lines...) Expand all
52 53
53 private: 54 private:
54 #define V8_DECLARE_FIELD(name) ScopedPersistent<v8::String> m_##name; 55 #define V8_DECLARE_FIELD(name) ScopedPersistent<v8::String> m_##name;
55 V8_HIDDEN_VALUES(V8_DECLARE_FIELD); 56 V8_HIDDEN_VALUES(V8_DECLARE_FIELD);
56 #undef V8_DECLARE_FIELD 57 #undef V8_DECLARE_FIELD
57 }; 58 };
58 59
59 } // namespace WebCore 60 } // namespace WebCore
60 61
61 #endif // V8HiddenValue_h 62 #endif // V8HiddenValue_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698