| Index: Source/bindings/tests/results/core/UnionTypesCore.h
|
| diff --git a/Source/bindings/tests/results/core/UnionTypesCore.h b/Source/bindings/tests/results/core/UnionTypesCore.h
|
| index 2fa6887d8b6da63114487b65c3b1537ba509fc34..dda683c59a4f7b6045b9d87932ec5de1f3e92fc0 100644
|
| --- a/Source/bindings/tests/results/core/UnionTypesCore.h
|
| +++ b/Source/bindings/tests/results/core/UnionTypesCore.h
|
| @@ -10,6 +10,7 @@
|
| #include "bindings/core/v8/Dictionary.h"
|
| #include "bindings/core/v8/ExceptionState.h"
|
| #include "bindings/core/v8/V8Binding.h"
|
| +#include "core/CoreExport.h"
|
| #include "platform/heap/Handle.h"
|
|
|
| namespace blink {
|
| @@ -26,7 +27,7 @@ class TestInterfaceGarbageCollected;
|
| class TestInterfaceImplementation;
|
| class TestInterfaceWillBeGarbageCollected;
|
|
|
| -class ArrayBufferOrArrayBufferViewOrDictionary final {
|
| +class CORE_EXPORT ArrayBufferOrArrayBufferViewOrDictionary final {
|
| ALLOW_ONLY_INLINE_ALLOCATION();
|
| public:
|
| ArrayBufferOrArrayBufferViewOrDictionary();
|
| @@ -47,6 +48,11 @@ public:
|
| void setDictionary(Dictionary);
|
| static ArrayBufferOrArrayBufferViewOrDictionary fromDictionary(Dictionary);
|
|
|
| +#if COMPILER(MSVC) && defined(COMPONENT_BUILD) && LINK_CORE_MODULES_SEPARATELY
|
| + ArrayBufferOrArrayBufferViewOrDictionary(const ArrayBufferOrArrayBufferViewOrDictionary&);
|
| + ~ArrayBufferOrArrayBufferViewOrDictionary();
|
| + ArrayBufferOrArrayBufferViewOrDictionary& operator=(const ArrayBufferOrArrayBufferViewOrDictionary&);
|
| +#endif
|
| private:
|
| enum SpecificTypes {
|
| SpecificTypeNone,
|
| @@ -60,15 +66,15 @@ private:
|
| RefPtr<TestArrayBufferView> m_arrayBufferView;
|
| Dictionary m_dictionary;
|
|
|
| - friend v8::Local<v8::Value> toV8(const ArrayBufferOrArrayBufferViewOrDictionary&, v8::Local<v8::Object>, v8::Isolate*);
|
| + friend CORE_EXPORT v8::Local<v8::Value> toV8(const ArrayBufferOrArrayBufferViewOrDictionary&, v8::Local<v8::Object>, v8::Isolate*);
|
| };
|
|
|
| class V8ArrayBufferOrArrayBufferViewOrDictionary final {
|
| public:
|
| - static void toImpl(v8::Isolate*, v8::Local<v8::Value>, ArrayBufferOrArrayBufferViewOrDictionary&, ExceptionState&);
|
| + CORE_EXPORT static void toImpl(v8::Isolate*, v8::Local<v8::Value>, ArrayBufferOrArrayBufferViewOrDictionary&, ExceptionState&);
|
| };
|
|
|
| -v8::Local<v8::Value> toV8(const ArrayBufferOrArrayBufferViewOrDictionary&, v8::Local<v8::Object>, v8::Isolate*);
|
| +CORE_EXPORT v8::Local<v8::Value> toV8(const ArrayBufferOrArrayBufferViewOrDictionary&, v8::Local<v8::Object>, v8::Isolate*);
|
|
|
| template <class CallbackInfo>
|
| inline void v8SetReturnValue(const CallbackInfo& callbackInfo, ArrayBufferOrArrayBufferViewOrDictionary& impl)
|
| @@ -81,7 +87,7 @@ struct NativeValueTraits<ArrayBufferOrArrayBufferViewOrDictionary> {
|
| static ArrayBufferOrArrayBufferViewOrDictionary nativeValue(v8::Isolate*, v8::Local<v8::Value>, ExceptionState&);
|
| };
|
|
|
| -class BooleanOrStringOrUnrestrictedDouble final {
|
| +class CORE_EXPORT BooleanOrStringOrUnrestrictedDouble final {
|
| ALLOW_ONLY_INLINE_ALLOCATION();
|
| public:
|
| BooleanOrStringOrUnrestrictedDouble();
|
| @@ -102,6 +108,11 @@ public:
|
| void setUnrestrictedDouble(double);
|
| static BooleanOrStringOrUnrestrictedDouble fromUnrestrictedDouble(double);
|
|
|
| +#if COMPILER(MSVC) && defined(COMPONENT_BUILD) && LINK_CORE_MODULES_SEPARATELY
|
| + BooleanOrStringOrUnrestrictedDouble(const BooleanOrStringOrUnrestrictedDouble&);
|
| + ~BooleanOrStringOrUnrestrictedDouble();
|
| + BooleanOrStringOrUnrestrictedDouble& operator=(const BooleanOrStringOrUnrestrictedDouble&);
|
| +#endif
|
| private:
|
| enum SpecificTypes {
|
| SpecificTypeNone,
|
| @@ -115,15 +126,15 @@ private:
|
| String m_string;
|
| double m_unrestrictedDouble;
|
|
|
| - friend v8::Local<v8::Value> toV8(const BooleanOrStringOrUnrestrictedDouble&, v8::Local<v8::Object>, v8::Isolate*);
|
| + friend CORE_EXPORT v8::Local<v8::Value> toV8(const BooleanOrStringOrUnrestrictedDouble&, v8::Local<v8::Object>, v8::Isolate*);
|
| };
|
|
|
| class V8BooleanOrStringOrUnrestrictedDouble final {
|
| public:
|
| - static void toImpl(v8::Isolate*, v8::Local<v8::Value>, BooleanOrStringOrUnrestrictedDouble&, ExceptionState&);
|
| + CORE_EXPORT static void toImpl(v8::Isolate*, v8::Local<v8::Value>, BooleanOrStringOrUnrestrictedDouble&, ExceptionState&);
|
| };
|
|
|
| -v8::Local<v8::Value> toV8(const BooleanOrStringOrUnrestrictedDouble&, v8::Local<v8::Object>, v8::Isolate*);
|
| +CORE_EXPORT v8::Local<v8::Value> toV8(const BooleanOrStringOrUnrestrictedDouble&, v8::Local<v8::Object>, v8::Isolate*);
|
|
|
| template <class CallbackInfo>
|
| inline void v8SetReturnValue(const CallbackInfo& callbackInfo, BooleanOrStringOrUnrestrictedDouble& impl)
|
| @@ -136,7 +147,7 @@ struct NativeValueTraits<BooleanOrStringOrUnrestrictedDouble> {
|
| static BooleanOrStringOrUnrestrictedDouble nativeValue(v8::Isolate*, v8::Local<v8::Value>, ExceptionState&);
|
| };
|
|
|
| -class DoubleOrString final {
|
| +class CORE_EXPORT DoubleOrString final {
|
| ALLOW_ONLY_INLINE_ALLOCATION();
|
| public:
|
| DoubleOrString();
|
| @@ -152,6 +163,11 @@ public:
|
| void setString(String);
|
| static DoubleOrString fromString(String);
|
|
|
| +#if COMPILER(MSVC) && defined(COMPONENT_BUILD) && LINK_CORE_MODULES_SEPARATELY
|
| + DoubleOrString(const DoubleOrString&);
|
| + ~DoubleOrString();
|
| + DoubleOrString& operator=(const DoubleOrString&);
|
| +#endif
|
| private:
|
| enum SpecificTypes {
|
| SpecificTypeNone,
|
| @@ -163,15 +179,15 @@ private:
|
| double m_double;
|
| String m_string;
|
|
|
| - friend v8::Local<v8::Value> toV8(const DoubleOrString&, v8::Local<v8::Object>, v8::Isolate*);
|
| + friend CORE_EXPORT v8::Local<v8::Value> toV8(const DoubleOrString&, v8::Local<v8::Object>, v8::Isolate*);
|
| };
|
|
|
| class V8DoubleOrString final {
|
| public:
|
| - static void toImpl(v8::Isolate*, v8::Local<v8::Value>, DoubleOrString&, ExceptionState&);
|
| + CORE_EXPORT static void toImpl(v8::Isolate*, v8::Local<v8::Value>, DoubleOrString&, ExceptionState&);
|
| };
|
|
|
| -v8::Local<v8::Value> toV8(const DoubleOrString&, v8::Local<v8::Object>, v8::Isolate*);
|
| +CORE_EXPORT v8::Local<v8::Value> toV8(const DoubleOrString&, v8::Local<v8::Object>, v8::Isolate*);
|
|
|
| template <class CallbackInfo>
|
| inline void v8SetReturnValue(const CallbackInfo& callbackInfo, DoubleOrString& impl)
|
| @@ -184,7 +200,7 @@ struct NativeValueTraits<DoubleOrString> {
|
| static DoubleOrString nativeValue(v8::Isolate*, v8::Local<v8::Value>, ExceptionState&);
|
| };
|
|
|
| -class NodeOrNodeList final {
|
| +class CORE_EXPORT NodeOrNodeList final {
|
| ALLOW_ONLY_INLINE_ALLOCATION();
|
| public:
|
| NodeOrNodeList();
|
| @@ -200,6 +216,11 @@ public:
|
| void setNodeList(PassRefPtrWillBeRawPtr<NodeList>);
|
| static NodeOrNodeList fromNodeList(PassRefPtrWillBeRawPtr<NodeList>);
|
|
|
| +#if COMPILER(MSVC) && defined(COMPONENT_BUILD) && LINK_CORE_MODULES_SEPARATELY
|
| + NodeOrNodeList(const NodeOrNodeList&);
|
| + ~NodeOrNodeList();
|
| + NodeOrNodeList& operator=(const NodeOrNodeList&);
|
| +#endif
|
| DECLARE_TRACE();
|
|
|
| private:
|
| @@ -213,15 +234,15 @@ private:
|
| RefPtrWillBeMember<Node> m_node;
|
| RefPtrWillBeMember<NodeList> m_nodeList;
|
|
|
| - friend v8::Local<v8::Value> toV8(const NodeOrNodeList&, v8::Local<v8::Object>, v8::Isolate*);
|
| + friend CORE_EXPORT v8::Local<v8::Value> toV8(const NodeOrNodeList&, v8::Local<v8::Object>, v8::Isolate*);
|
| };
|
|
|
| class V8NodeOrNodeList final {
|
| public:
|
| - static void toImpl(v8::Isolate*, v8::Local<v8::Value>, NodeOrNodeList&, ExceptionState&);
|
| + CORE_EXPORT static void toImpl(v8::Isolate*, v8::Local<v8::Value>, NodeOrNodeList&, ExceptionState&);
|
| };
|
|
|
| -v8::Local<v8::Value> toV8(const NodeOrNodeList&, v8::Local<v8::Object>, v8::Isolate*);
|
| +CORE_EXPORT v8::Local<v8::Value> toV8(const NodeOrNodeList&, v8::Local<v8::Object>, v8::Isolate*);
|
|
|
| template <class CallbackInfo>
|
| inline void v8SetReturnValue(const CallbackInfo& callbackInfo, NodeOrNodeList& impl)
|
| @@ -234,7 +255,7 @@ struct NativeValueTraits<NodeOrNodeList> {
|
| static NodeOrNodeList nativeValue(v8::Isolate*, v8::Local<v8::Value>, ExceptionState&);
|
| };
|
|
|
| -class StringOrArrayBufferOrArrayBufferView final {
|
| +class CORE_EXPORT StringOrArrayBufferOrArrayBufferView final {
|
| ALLOW_ONLY_INLINE_ALLOCATION();
|
| public:
|
| StringOrArrayBufferOrArrayBufferView();
|
| @@ -255,6 +276,11 @@ public:
|
| void setArrayBufferView(PassRefPtr<TestArrayBufferView>);
|
| static StringOrArrayBufferOrArrayBufferView fromArrayBufferView(PassRefPtr<TestArrayBufferView>);
|
|
|
| +#if COMPILER(MSVC) && defined(COMPONENT_BUILD) && LINK_CORE_MODULES_SEPARATELY
|
| + StringOrArrayBufferOrArrayBufferView(const StringOrArrayBufferOrArrayBufferView&);
|
| + ~StringOrArrayBufferOrArrayBufferView();
|
| + StringOrArrayBufferOrArrayBufferView& operator=(const StringOrArrayBufferOrArrayBufferView&);
|
| +#endif
|
| private:
|
| enum SpecificTypes {
|
| SpecificTypeNone,
|
| @@ -268,15 +294,15 @@ private:
|
| RefPtr<TestArrayBuffer> m_arrayBuffer;
|
| RefPtr<TestArrayBufferView> m_arrayBufferView;
|
|
|
| - friend v8::Local<v8::Value> toV8(const StringOrArrayBufferOrArrayBufferView&, v8::Local<v8::Object>, v8::Isolate*);
|
| + friend CORE_EXPORT v8::Local<v8::Value> toV8(const StringOrArrayBufferOrArrayBufferView&, v8::Local<v8::Object>, v8::Isolate*);
|
| };
|
|
|
| class V8StringOrArrayBufferOrArrayBufferView final {
|
| public:
|
| - static void toImpl(v8::Isolate*, v8::Local<v8::Value>, StringOrArrayBufferOrArrayBufferView&, ExceptionState&);
|
| + CORE_EXPORT static void toImpl(v8::Isolate*, v8::Local<v8::Value>, StringOrArrayBufferOrArrayBufferView&, ExceptionState&);
|
| };
|
|
|
| -v8::Local<v8::Value> toV8(const StringOrArrayBufferOrArrayBufferView&, v8::Local<v8::Object>, v8::Isolate*);
|
| +CORE_EXPORT v8::Local<v8::Value> toV8(const StringOrArrayBufferOrArrayBufferView&, v8::Local<v8::Object>, v8::Isolate*);
|
|
|
| template <class CallbackInfo>
|
| inline void v8SetReturnValue(const CallbackInfo& callbackInfo, StringOrArrayBufferOrArrayBufferView& impl)
|
| @@ -289,7 +315,7 @@ struct NativeValueTraits<StringOrArrayBufferOrArrayBufferView> {
|
| static StringOrArrayBufferOrArrayBufferView nativeValue(v8::Isolate*, v8::Local<v8::Value>, ExceptionState&);
|
| };
|
|
|
| -class StringOrDouble final {
|
| +class CORE_EXPORT StringOrDouble final {
|
| ALLOW_ONLY_INLINE_ALLOCATION();
|
| public:
|
| StringOrDouble();
|
| @@ -305,6 +331,11 @@ public:
|
| void setDouble(double);
|
| static StringOrDouble fromDouble(double);
|
|
|
| +#if COMPILER(MSVC) && defined(COMPONENT_BUILD) && LINK_CORE_MODULES_SEPARATELY
|
| + StringOrDouble(const StringOrDouble&);
|
| + ~StringOrDouble();
|
| + StringOrDouble& operator=(const StringOrDouble&);
|
| +#endif
|
| private:
|
| enum SpecificTypes {
|
| SpecificTypeNone,
|
| @@ -316,15 +347,15 @@ private:
|
| String m_string;
|
| double m_double;
|
|
|
| - friend v8::Local<v8::Value> toV8(const StringOrDouble&, v8::Local<v8::Object>, v8::Isolate*);
|
| + friend CORE_EXPORT v8::Local<v8::Value> toV8(const StringOrDouble&, v8::Local<v8::Object>, v8::Isolate*);
|
| };
|
|
|
| class V8StringOrDouble final {
|
| public:
|
| - static void toImpl(v8::Isolate*, v8::Local<v8::Value>, StringOrDouble&, ExceptionState&);
|
| + CORE_EXPORT static void toImpl(v8::Isolate*, v8::Local<v8::Value>, StringOrDouble&, ExceptionState&);
|
| };
|
|
|
| -v8::Local<v8::Value> toV8(const StringOrDouble&, v8::Local<v8::Object>, v8::Isolate*);
|
| +CORE_EXPORT v8::Local<v8::Value> toV8(const StringOrDouble&, v8::Local<v8::Object>, v8::Isolate*);
|
|
|
| template <class CallbackInfo>
|
| inline void v8SetReturnValue(const CallbackInfo& callbackInfo, StringOrDouble& impl)
|
| @@ -337,7 +368,7 @@ struct NativeValueTraits<StringOrDouble> {
|
| static StringOrDouble nativeValue(v8::Isolate*, v8::Local<v8::Value>, ExceptionState&);
|
| };
|
|
|
| -class StringOrStringSequence final {
|
| +class CORE_EXPORT StringOrStringSequence final {
|
| ALLOW_ONLY_INLINE_ALLOCATION();
|
| public:
|
| StringOrStringSequence();
|
| @@ -353,6 +384,11 @@ public:
|
| void setStringSequence(const Vector<String>&);
|
| static StringOrStringSequence fromStringSequence(const Vector<String>&);
|
|
|
| +#if COMPILER(MSVC) && defined(COMPONENT_BUILD) && LINK_CORE_MODULES_SEPARATELY
|
| + StringOrStringSequence(const StringOrStringSequence&);
|
| + ~StringOrStringSequence();
|
| + StringOrStringSequence& operator=(const StringOrStringSequence&);
|
| +#endif
|
| private:
|
| enum SpecificTypes {
|
| SpecificTypeNone,
|
| @@ -364,15 +400,15 @@ private:
|
| String m_string;
|
| Vector<String> m_stringSequence;
|
|
|
| - friend v8::Local<v8::Value> toV8(const StringOrStringSequence&, v8::Local<v8::Object>, v8::Isolate*);
|
| + friend CORE_EXPORT v8::Local<v8::Value> toV8(const StringOrStringSequence&, v8::Local<v8::Object>, v8::Isolate*);
|
| };
|
|
|
| class V8StringOrStringSequence final {
|
| public:
|
| - static void toImpl(v8::Isolate*, v8::Local<v8::Value>, StringOrStringSequence&, ExceptionState&);
|
| + CORE_EXPORT static void toImpl(v8::Isolate*, v8::Local<v8::Value>, StringOrStringSequence&, ExceptionState&);
|
| };
|
|
|
| -v8::Local<v8::Value> toV8(const StringOrStringSequence&, v8::Local<v8::Object>, v8::Isolate*);
|
| +CORE_EXPORT v8::Local<v8::Value> toV8(const StringOrStringSequence&, v8::Local<v8::Object>, v8::Isolate*);
|
|
|
| template <class CallbackInfo>
|
| inline void v8SetReturnValue(const CallbackInfo& callbackInfo, StringOrStringSequence& impl)
|
| @@ -385,7 +421,7 @@ struct NativeValueTraits<StringOrStringSequence> {
|
| static StringOrStringSequence nativeValue(v8::Isolate*, v8::Local<v8::Value>, ExceptionState&);
|
| };
|
|
|
| -class TestEnumOrDouble final {
|
| +class CORE_EXPORT TestEnumOrDouble final {
|
| ALLOW_ONLY_INLINE_ALLOCATION();
|
| public:
|
| TestEnumOrDouble();
|
| @@ -401,6 +437,11 @@ public:
|
| void setDouble(double);
|
| static TestEnumOrDouble fromDouble(double);
|
|
|
| +#if COMPILER(MSVC) && defined(COMPONENT_BUILD) && LINK_CORE_MODULES_SEPARATELY
|
| + TestEnumOrDouble(const TestEnumOrDouble&);
|
| + ~TestEnumOrDouble();
|
| + TestEnumOrDouble& operator=(const TestEnumOrDouble&);
|
| +#endif
|
| private:
|
| enum SpecificTypes {
|
| SpecificTypeNone,
|
| @@ -412,15 +453,15 @@ private:
|
| String m_testEnum;
|
| double m_double;
|
|
|
| - friend v8::Local<v8::Value> toV8(const TestEnumOrDouble&, v8::Local<v8::Object>, v8::Isolate*);
|
| + friend CORE_EXPORT v8::Local<v8::Value> toV8(const TestEnumOrDouble&, v8::Local<v8::Object>, v8::Isolate*);
|
| };
|
|
|
| class V8TestEnumOrDouble final {
|
| public:
|
| - static void toImpl(v8::Isolate*, v8::Local<v8::Value>, TestEnumOrDouble&, ExceptionState&);
|
| + CORE_EXPORT static void toImpl(v8::Isolate*, v8::Local<v8::Value>, TestEnumOrDouble&, ExceptionState&);
|
| };
|
|
|
| -v8::Local<v8::Value> toV8(const TestEnumOrDouble&, v8::Local<v8::Object>, v8::Isolate*);
|
| +CORE_EXPORT v8::Local<v8::Value> toV8(const TestEnumOrDouble&, v8::Local<v8::Object>, v8::Isolate*);
|
|
|
| template <class CallbackInfo>
|
| inline void v8SetReturnValue(const CallbackInfo& callbackInfo, TestEnumOrDouble& impl)
|
| @@ -433,7 +474,7 @@ struct NativeValueTraits<TestEnumOrDouble> {
|
| static TestEnumOrDouble nativeValue(v8::Isolate*, v8::Local<v8::Value>, ExceptionState&);
|
| };
|
|
|
| -class TestInterface2OrUint8Array final {
|
| +class CORE_EXPORT TestInterface2OrUint8Array final {
|
| ALLOW_ONLY_INLINE_ALLOCATION();
|
| public:
|
| TestInterface2OrUint8Array();
|
| @@ -449,6 +490,11 @@ public:
|
| void setUint8Array(PassRefPtr<DOMUint8Array>);
|
| static TestInterface2OrUint8Array fromUint8Array(PassRefPtr<DOMUint8Array>);
|
|
|
| +#if COMPILER(MSVC) && defined(COMPONENT_BUILD) && LINK_CORE_MODULES_SEPARATELY
|
| + TestInterface2OrUint8Array(const TestInterface2OrUint8Array&);
|
| + ~TestInterface2OrUint8Array();
|
| + TestInterface2OrUint8Array& operator=(const TestInterface2OrUint8Array&);
|
| +#endif
|
| private:
|
| enum SpecificTypes {
|
| SpecificTypeNone,
|
| @@ -460,15 +506,15 @@ private:
|
| RefPtr<TestInterface2> m_testInterface2;
|
| RefPtr<DOMUint8Array> m_uint8Array;
|
|
|
| - friend v8::Local<v8::Value> toV8(const TestInterface2OrUint8Array&, v8::Local<v8::Object>, v8::Isolate*);
|
| + friend CORE_EXPORT v8::Local<v8::Value> toV8(const TestInterface2OrUint8Array&, v8::Local<v8::Object>, v8::Isolate*);
|
| };
|
|
|
| class V8TestInterface2OrUint8Array final {
|
| public:
|
| - static void toImpl(v8::Isolate*, v8::Local<v8::Value>, TestInterface2OrUint8Array&, ExceptionState&);
|
| + CORE_EXPORT static void toImpl(v8::Isolate*, v8::Local<v8::Value>, TestInterface2OrUint8Array&, ExceptionState&);
|
| };
|
|
|
| -v8::Local<v8::Value> toV8(const TestInterface2OrUint8Array&, v8::Local<v8::Object>, v8::Isolate*);
|
| +CORE_EXPORT v8::Local<v8::Value> toV8(const TestInterface2OrUint8Array&, v8::Local<v8::Object>, v8::Isolate*);
|
|
|
| template <class CallbackInfo>
|
| inline void v8SetReturnValue(const CallbackInfo& callbackInfo, TestInterface2OrUint8Array& impl)
|
| @@ -481,7 +527,7 @@ struct NativeValueTraits<TestInterface2OrUint8Array> {
|
| static TestInterface2OrUint8Array nativeValue(v8::Isolate*, v8::Local<v8::Value>, ExceptionState&);
|
| };
|
|
|
| -class TestInterfaceGarbageCollectedOrString final {
|
| +class CORE_EXPORT TestInterfaceGarbageCollectedOrString final {
|
| ALLOW_ONLY_INLINE_ALLOCATION();
|
| public:
|
| TestInterfaceGarbageCollectedOrString();
|
| @@ -497,6 +543,11 @@ public:
|
| void setString(String);
|
| static TestInterfaceGarbageCollectedOrString fromString(String);
|
|
|
| +#if COMPILER(MSVC) && defined(COMPONENT_BUILD) && LINK_CORE_MODULES_SEPARATELY
|
| + TestInterfaceGarbageCollectedOrString(const TestInterfaceGarbageCollectedOrString&);
|
| + ~TestInterfaceGarbageCollectedOrString();
|
| + TestInterfaceGarbageCollectedOrString& operator=(const TestInterfaceGarbageCollectedOrString&);
|
| +#endif
|
| DECLARE_TRACE();
|
|
|
| private:
|
| @@ -510,15 +561,15 @@ private:
|
| Member<TestInterfaceGarbageCollected> m_testInterfaceGarbageCollected;
|
| String m_string;
|
|
|
| - friend v8::Local<v8::Value> toV8(const TestInterfaceGarbageCollectedOrString&, v8::Local<v8::Object>, v8::Isolate*);
|
| + friend CORE_EXPORT v8::Local<v8::Value> toV8(const TestInterfaceGarbageCollectedOrString&, v8::Local<v8::Object>, v8::Isolate*);
|
| };
|
|
|
| class V8TestInterfaceGarbageCollectedOrString final {
|
| public:
|
| - static void toImpl(v8::Isolate*, v8::Local<v8::Value>, TestInterfaceGarbageCollectedOrString&, ExceptionState&);
|
| + CORE_EXPORT static void toImpl(v8::Isolate*, v8::Local<v8::Value>, TestInterfaceGarbageCollectedOrString&, ExceptionState&);
|
| };
|
|
|
| -v8::Local<v8::Value> toV8(const TestInterfaceGarbageCollectedOrString&, v8::Local<v8::Object>, v8::Isolate*);
|
| +CORE_EXPORT v8::Local<v8::Value> toV8(const TestInterfaceGarbageCollectedOrString&, v8::Local<v8::Object>, v8::Isolate*);
|
|
|
| template <class CallbackInfo>
|
| inline void v8SetReturnValue(const CallbackInfo& callbackInfo, TestInterfaceGarbageCollectedOrString& impl)
|
| @@ -531,7 +582,7 @@ struct NativeValueTraits<TestInterfaceGarbageCollectedOrString> {
|
| static TestInterfaceGarbageCollectedOrString nativeValue(v8::Isolate*, v8::Local<v8::Value>, ExceptionState&);
|
| };
|
|
|
| -class TestInterfaceOrLong final {
|
| +class CORE_EXPORT TestInterfaceOrLong final {
|
| ALLOW_ONLY_INLINE_ALLOCATION();
|
| public:
|
| TestInterfaceOrLong();
|
| @@ -547,6 +598,11 @@ public:
|
| void setLong(int);
|
| static TestInterfaceOrLong fromLong(int);
|
|
|
| +#if COMPILER(MSVC) && defined(COMPONENT_BUILD) && LINK_CORE_MODULES_SEPARATELY
|
| + TestInterfaceOrLong(const TestInterfaceOrLong&);
|
| + ~TestInterfaceOrLong();
|
| + TestInterfaceOrLong& operator=(const TestInterfaceOrLong&);
|
| +#endif
|
| private:
|
| enum SpecificTypes {
|
| SpecificTypeNone,
|
| @@ -558,15 +614,15 @@ private:
|
| RefPtr<TestInterfaceImplementation> m_testInterface;
|
| int m_long;
|
|
|
| - friend v8::Local<v8::Value> toV8(const TestInterfaceOrLong&, v8::Local<v8::Object>, v8::Isolate*);
|
| + friend CORE_EXPORT v8::Local<v8::Value> toV8(const TestInterfaceOrLong&, v8::Local<v8::Object>, v8::Isolate*);
|
| };
|
|
|
| class V8TestInterfaceOrLong final {
|
| public:
|
| - static void toImpl(v8::Isolate*, v8::Local<v8::Value>, TestInterfaceOrLong&, ExceptionState&);
|
| + CORE_EXPORT static void toImpl(v8::Isolate*, v8::Local<v8::Value>, TestInterfaceOrLong&, ExceptionState&);
|
| };
|
|
|
| -v8::Local<v8::Value> toV8(const TestInterfaceOrLong&, v8::Local<v8::Object>, v8::Isolate*);
|
| +CORE_EXPORT v8::Local<v8::Value> toV8(const TestInterfaceOrLong&, v8::Local<v8::Object>, v8::Isolate*);
|
|
|
| template <class CallbackInfo>
|
| inline void v8SetReturnValue(const CallbackInfo& callbackInfo, TestInterfaceOrLong& impl)
|
| @@ -579,7 +635,7 @@ struct NativeValueTraits<TestInterfaceOrLong> {
|
| static TestInterfaceOrLong nativeValue(v8::Isolate*, v8::Local<v8::Value>, ExceptionState&);
|
| };
|
|
|
| -class TestInterfaceOrTestInterfaceEmpty final {
|
| +class CORE_EXPORT TestInterfaceOrTestInterfaceEmpty final {
|
| ALLOW_ONLY_INLINE_ALLOCATION();
|
| public:
|
| TestInterfaceOrTestInterfaceEmpty();
|
| @@ -595,6 +651,11 @@ public:
|
| void setTestInterfaceEmpty(PassRefPtr<TestInterfaceEmpty>);
|
| static TestInterfaceOrTestInterfaceEmpty fromTestInterfaceEmpty(PassRefPtr<TestInterfaceEmpty>);
|
|
|
| +#if COMPILER(MSVC) && defined(COMPONENT_BUILD) && LINK_CORE_MODULES_SEPARATELY
|
| + TestInterfaceOrTestInterfaceEmpty(const TestInterfaceOrTestInterfaceEmpty&);
|
| + ~TestInterfaceOrTestInterfaceEmpty();
|
| + TestInterfaceOrTestInterfaceEmpty& operator=(const TestInterfaceOrTestInterfaceEmpty&);
|
| +#endif
|
| private:
|
| enum SpecificTypes {
|
| SpecificTypeNone,
|
| @@ -606,15 +667,15 @@ private:
|
| RefPtr<TestInterfaceImplementation> m_testInterface;
|
| RefPtr<TestInterfaceEmpty> m_testInterfaceEmpty;
|
|
|
| - friend v8::Local<v8::Value> toV8(const TestInterfaceOrTestInterfaceEmpty&, v8::Local<v8::Object>, v8::Isolate*);
|
| + friend CORE_EXPORT v8::Local<v8::Value> toV8(const TestInterfaceOrTestInterfaceEmpty&, v8::Local<v8::Object>, v8::Isolate*);
|
| };
|
|
|
| class V8TestInterfaceOrTestInterfaceEmpty final {
|
| public:
|
| - static void toImpl(v8::Isolate*, v8::Local<v8::Value>, TestInterfaceOrTestInterfaceEmpty&, ExceptionState&);
|
| + CORE_EXPORT static void toImpl(v8::Isolate*, v8::Local<v8::Value>, TestInterfaceOrTestInterfaceEmpty&, ExceptionState&);
|
| };
|
|
|
| -v8::Local<v8::Value> toV8(const TestInterfaceOrTestInterfaceEmpty&, v8::Local<v8::Object>, v8::Isolate*);
|
| +CORE_EXPORT v8::Local<v8::Value> toV8(const TestInterfaceOrTestInterfaceEmpty&, v8::Local<v8::Object>, v8::Isolate*);
|
|
|
| template <class CallbackInfo>
|
| inline void v8SetReturnValue(const CallbackInfo& callbackInfo, TestInterfaceOrTestInterfaceEmpty& impl)
|
| @@ -627,7 +688,7 @@ struct NativeValueTraits<TestInterfaceOrTestInterfaceEmpty> {
|
| static TestInterfaceOrTestInterfaceEmpty nativeValue(v8::Isolate*, v8::Local<v8::Value>, ExceptionState&);
|
| };
|
|
|
| -class TestInterfaceWillBeGarbageCollectedOrTestDictionary final {
|
| +class CORE_EXPORT TestInterfaceWillBeGarbageCollectedOrTestDictionary final {
|
| ALLOW_ONLY_INLINE_ALLOCATION();
|
| public:
|
| TestInterfaceWillBeGarbageCollectedOrTestDictionary();
|
| @@ -643,6 +704,11 @@ public:
|
| void setTestDictionary(TestDictionary);
|
| static TestInterfaceWillBeGarbageCollectedOrTestDictionary fromTestDictionary(TestDictionary);
|
|
|
| +#if COMPILER(MSVC) && defined(COMPONENT_BUILD) && LINK_CORE_MODULES_SEPARATELY
|
| + TestInterfaceWillBeGarbageCollectedOrTestDictionary(const TestInterfaceWillBeGarbageCollectedOrTestDictionary&);
|
| + ~TestInterfaceWillBeGarbageCollectedOrTestDictionary();
|
| + TestInterfaceWillBeGarbageCollectedOrTestDictionary& operator=(const TestInterfaceWillBeGarbageCollectedOrTestDictionary&);
|
| +#endif
|
| DECLARE_TRACE();
|
|
|
| private:
|
| @@ -656,15 +722,15 @@ private:
|
| RefPtrWillBeMember<TestInterfaceWillBeGarbageCollected> m_testInterfaceWillBeGarbageCollected;
|
| TestDictionary m_testDictionary;
|
|
|
| - friend v8::Local<v8::Value> toV8(const TestInterfaceWillBeGarbageCollectedOrTestDictionary&, v8::Local<v8::Object>, v8::Isolate*);
|
| + friend CORE_EXPORT v8::Local<v8::Value> toV8(const TestInterfaceWillBeGarbageCollectedOrTestDictionary&, v8::Local<v8::Object>, v8::Isolate*);
|
| };
|
|
|
| class V8TestInterfaceWillBeGarbageCollectedOrTestDictionary final {
|
| public:
|
| - static void toImpl(v8::Isolate*, v8::Local<v8::Value>, TestInterfaceWillBeGarbageCollectedOrTestDictionary&, ExceptionState&);
|
| + CORE_EXPORT static void toImpl(v8::Isolate*, v8::Local<v8::Value>, TestInterfaceWillBeGarbageCollectedOrTestDictionary&, ExceptionState&);
|
| };
|
|
|
| -v8::Local<v8::Value> toV8(const TestInterfaceWillBeGarbageCollectedOrTestDictionary&, v8::Local<v8::Object>, v8::Isolate*);
|
| +CORE_EXPORT v8::Local<v8::Value> toV8(const TestInterfaceWillBeGarbageCollectedOrTestDictionary&, v8::Local<v8::Object>, v8::Isolate*);
|
|
|
| template <class CallbackInfo>
|
| inline void v8SetReturnValue(const CallbackInfo& callbackInfo, TestInterfaceWillBeGarbageCollectedOrTestDictionary& impl)
|
| @@ -677,7 +743,7 @@ struct NativeValueTraits<TestInterfaceWillBeGarbageCollectedOrTestDictionary> {
|
| static TestInterfaceWillBeGarbageCollectedOrTestDictionary nativeValue(v8::Isolate*, v8::Local<v8::Value>, ExceptionState&);
|
| };
|
|
|
| -class UnrestrictedDoubleOrString final {
|
| +class CORE_EXPORT UnrestrictedDoubleOrString final {
|
| ALLOW_ONLY_INLINE_ALLOCATION();
|
| public:
|
| UnrestrictedDoubleOrString();
|
| @@ -693,6 +759,11 @@ public:
|
| void setString(String);
|
| static UnrestrictedDoubleOrString fromString(String);
|
|
|
| +#if COMPILER(MSVC) && defined(COMPONENT_BUILD) && LINK_CORE_MODULES_SEPARATELY
|
| + UnrestrictedDoubleOrString(const UnrestrictedDoubleOrString&);
|
| + ~UnrestrictedDoubleOrString();
|
| + UnrestrictedDoubleOrString& operator=(const UnrestrictedDoubleOrString&);
|
| +#endif
|
| private:
|
| enum SpecificTypes {
|
| SpecificTypeNone,
|
| @@ -704,15 +775,15 @@ private:
|
| double m_unrestrictedDouble;
|
| String m_string;
|
|
|
| - friend v8::Local<v8::Value> toV8(const UnrestrictedDoubleOrString&, v8::Local<v8::Object>, v8::Isolate*);
|
| + friend CORE_EXPORT v8::Local<v8::Value> toV8(const UnrestrictedDoubleOrString&, v8::Local<v8::Object>, v8::Isolate*);
|
| };
|
|
|
| class V8UnrestrictedDoubleOrString final {
|
| public:
|
| - static void toImpl(v8::Isolate*, v8::Local<v8::Value>, UnrestrictedDoubleOrString&, ExceptionState&);
|
| + CORE_EXPORT static void toImpl(v8::Isolate*, v8::Local<v8::Value>, UnrestrictedDoubleOrString&, ExceptionState&);
|
| };
|
|
|
| -v8::Local<v8::Value> toV8(const UnrestrictedDoubleOrString&, v8::Local<v8::Object>, v8::Isolate*);
|
| +CORE_EXPORT v8::Local<v8::Value> toV8(const UnrestrictedDoubleOrString&, v8::Local<v8::Object>, v8::Isolate*);
|
|
|
| template <class CallbackInfo>
|
| inline void v8SetReturnValue(const CallbackInfo& callbackInfo, UnrestrictedDoubleOrString& impl)
|
|
|