| 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 SKY_ENGINE_BINDINGS_CORE_V8_V8HIDDENVALUE_H_ | 5 #ifndef SKY_ENGINE_BINDINGS_CORE_V8_V8HIDDENVALUE_H_ |
| 6 #define SKY_ENGINE_BINDINGS_CORE_V8_V8HIDDENVALUE_H_ | 6 #define SKY_ENGINE_BINDINGS_CORE_V8_V8HIDDENVALUE_H_ |
| 7 | 7 |
| 8 #include "sky/engine/bindings/core/v8/ScopedPersistent.h" | 8 #include "sky/engine/bindings/core/v8/ScopedPersistent.h" |
| 9 #include "sky/engine/bindings/core/v8/ScriptPromiseProperties.h" | 9 #include "sky/engine/bindings/core/v8/ScriptPromiseProperties.h" |
| 10 #include "v8/include/v8.h" | 10 #include "v8/include/v8.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 class ScriptWrappable; | 14 class ScriptWrappable; |
| 15 | 15 |
| 16 #define V8_HIDDEN_VALUES(V) \ | 16 #define V8_HIDDEN_VALUES(V) \ |
| 17 V(arrayBufferData) \ | 17 V(arrayBufferData) \ |
| 18 V(customElementAttachedCallback) \ | 18 V(customElementAttachedCallback) \ |
| 19 V(customElementAttributeChangedCallback) \ | 19 V(customElementAttributeChangedCallback) \ |
| 20 V(customElementCreatedCallback) \ | 20 V(customElementCreatedCallback) \ |
| 21 V(customElementDetachedCallback) \ | 21 V(customElementDetachedCallback) \ |
| 22 V(customElementDocument) \ | 22 V(customElementDocument) \ |
| 23 V(customElementIsInterfacePrototypeObject) \ | 23 V(customElementIsInterfacePrototypeObject) \ |
| 24 V(customElementNamespaceURI) \ | 24 V(customElementNamespaceURI) \ |
| 25 V(customElementTagName) \ | 25 V(customElementTagName) \ |
| 26 V(customElementType) \ | |
| 27 V(callback) \ | 26 V(callback) \ |
| 28 V(condition) \ | 27 V(condition) \ |
| 29 V(data) \ | 28 V(data) \ |
| 30 V(detail) \ | 29 V(detail) \ |
| 31 V(document) \ | 30 V(document) \ |
| 32 V(error) \ | 31 V(error) \ |
| 33 V(event) \ | 32 V(event) \ |
| 34 V(idbCursorRequest) \ | 33 V(idbCursorRequest) \ |
| 35 V(port1) \ | 34 V(port1) \ |
| 36 V(port2) \ | 35 V(port2) \ |
| (...skipping 18 matching lines...) Expand all Loading... |
| 55 | 54 |
| 56 private: | 55 private: |
| 57 #define V8_DECLARE_FIELD(name) ScopedPersistent<v8::String> m_##name; | 56 #define V8_DECLARE_FIELD(name) ScopedPersistent<v8::String> m_##name; |
| 58 V8_HIDDEN_VALUES(V8_DECLARE_FIELD); | 57 V8_HIDDEN_VALUES(V8_DECLARE_FIELD); |
| 59 #undef V8_DECLARE_FIELD | 58 #undef V8_DECLARE_FIELD |
| 60 }; | 59 }; |
| 61 | 60 |
| 62 } // namespace blink | 61 } // namespace blink |
| 63 | 62 |
| 64 #endif // SKY_ENGINE_BINDINGS_CORE_V8_V8HIDDENVALUE_H_ | 63 #endif // SKY_ENGINE_BINDINGS_CORE_V8_V8HIDDENVALUE_H_ |
| OLD | NEW |