| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 V(toStringString) \ | 49 V(toStringString) \ |
| 50 V(injectedScriptNative) \ | 50 V(injectedScriptNative) \ |
| 51 V(webgl2DTextures) \ | 51 V(webgl2DTextures) \ |
| 52 V(webgl2DArrayTextures) \ | 52 V(webgl2DArrayTextures) \ |
| 53 V(webgl3DTextures) \ | 53 V(webgl3DTextures) \ |
| 54 V(webglAttachments) \ | 54 V(webglAttachments) \ |
| 55 V(webglBuffers) \ | 55 V(webglBuffers) \ |
| 56 V(webglCubeMapTextures) \ | 56 V(webglCubeMapTextures) \ |
| 57 V(webglExtensions) \ | 57 V(webglExtensions) \ |
| 58 V(webglMisc) \ | 58 V(webglMisc) \ |
| 59 V(webglQueries) \ |
| 60 V(webglSamplers) \ |
| 59 V(webglShaders) \ | 61 V(webglShaders) \ |
| 60 SCRIPT_PROMISE_PROPERTIES(V, Promise) \ | 62 SCRIPT_PROMISE_PROPERTIES(V, Promise) \ |
| 61 SCRIPT_PROMISE_PROPERTIES(V, Resolver) | 63 SCRIPT_PROMISE_PROPERTIES(V, Resolver) |
| 62 | 64 |
| 63 class CORE_EXPORT V8HiddenValue { | 65 class CORE_EXPORT V8HiddenValue { |
| 64 USING_FAST_MALLOC(V8HiddenValue); | 66 USING_FAST_MALLOC(V8HiddenValue); |
| 65 WTF_MAKE_NONCOPYABLE(V8HiddenValue); | 67 WTF_MAKE_NONCOPYABLE(V8HiddenValue); |
| 66 public: | 68 public: |
| 67 static PassOwnPtr<V8HiddenValue> create() { return adoptPtr(new V8HiddenValu
e()); } | 69 static PassOwnPtr<V8HiddenValue> create() { return adoptPtr(new V8HiddenValu
e()); } |
| 68 | 70 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 79 V8HiddenValue() { } | 81 V8HiddenValue() { } |
| 80 | 82 |
| 81 #define V8_DECLARE_FIELD(name) ScopedPersistent<v8::String> m_##name; | 83 #define V8_DECLARE_FIELD(name) ScopedPersistent<v8::String> m_##name; |
| 82 V8_HIDDEN_VALUES(V8_DECLARE_FIELD); | 84 V8_HIDDEN_VALUES(V8_DECLARE_FIELD); |
| 83 #undef V8_DECLARE_FIELD | 85 #undef V8_DECLARE_FIELD |
| 84 }; | 86 }; |
| 85 | 87 |
| 86 } // namespace blink | 88 } // namespace blink |
| 87 | 89 |
| 88 #endif // V8HiddenValue_h | 90 #endif // V8HiddenValue_h |
| OLD | NEW |