OLD | NEW |
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/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(customElementAttached) \ | 17 V(customElementAttached) \ |
18 V(customElementAttributeChanged) \ | 18 V(customElementAttributeChanged) \ |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 | 52 |
53 private: | 53 private: |
54 #define V8_DECLARE_FIELD(name) ScopedPersistent<v8::String> m_##name; | 54 #define V8_DECLARE_FIELD(name) ScopedPersistent<v8::String> m_##name; |
55 V8_HIDDEN_VALUES(V8_DECLARE_FIELD); | 55 V8_HIDDEN_VALUES(V8_DECLARE_FIELD); |
56 #undef V8_DECLARE_FIELD | 56 #undef V8_DECLARE_FIELD |
57 }; | 57 }; |
58 | 58 |
59 } // namespace WebCore | 59 } // namespace WebCore |
60 | 60 |
61 #endif // V8HiddenValue_h | 61 #endif // V8HiddenValue_h |
OLD | NEW |