| 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/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" |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 V(callback) \ | 32 V(callback) \ |
| 33 V(condition) \ | 33 V(condition) \ |
| 34 V(data) \ | 34 V(data) \ |
| 35 V(detail) \ | 35 V(detail) \ |
| 36 V(document) \ | 36 V(document) \ |
| 37 V(error) \ | 37 V(error) \ |
| 38 V(event) \ | 38 V(event) \ |
| 39 V(idbCursorRequest) \ | 39 V(idbCursorRequest) \ |
| 40 V(port1) \ | 40 V(port1) \ |
| 41 V(port2) \ | 41 V(port2) \ |
| 42 V(readableStreamReaderInResponse) \ |
| 42 V(state) \ | 43 V(state) \ |
| 43 V(stringData) \ | 44 V(stringData) \ |
| 44 V(testInterfaces) \ | 45 V(testInterfaces) \ |
| 45 V(thenableHiddenPromise) \ | 46 V(thenableHiddenPromise) \ |
| 46 V(toStringString) \ | 47 V(toStringString) \ |
| 47 V(injectedScriptNative) \ | 48 V(injectedScriptNative) \ |
| 48 SCRIPT_PROMISE_PROPERTIES(V, Promise) \ | 49 SCRIPT_PROMISE_PROPERTIES(V, Promise) \ |
| 49 SCRIPT_PROMISE_PROPERTIES(V, Resolver) | 50 SCRIPT_PROMISE_PROPERTIES(V, Resolver) |
| 50 | 51 |
| 51 class CORE_EXPORT V8HiddenValue { | 52 class CORE_EXPORT V8HiddenValue { |
| (...skipping 15 matching lines...) Expand all Loading... |
| 67 V8HiddenValue() { } | 68 V8HiddenValue() { } |
| 68 | 69 |
| 69 #define V8_DECLARE_FIELD(name) ScopedPersistent<v8::String> m_##name; | 70 #define V8_DECLARE_FIELD(name) ScopedPersistent<v8::String> m_##name; |
| 70 V8_HIDDEN_VALUES(V8_DECLARE_FIELD); | 71 V8_HIDDEN_VALUES(V8_DECLARE_FIELD); |
| 71 #undef V8_DECLARE_FIELD | 72 #undef V8_DECLARE_FIELD |
| 72 }; | 73 }; |
| 73 | 74 |
| 74 } // namespace blink | 75 } // namespace blink |
| 75 | 76 |
| 76 #endif // V8HiddenValue_h | 77 #endif // V8HiddenValue_h |
| OLD | NEW |