Index: Source/bindings/tests/results/core/TestInterfaceWillBeGarbageCollectedOrTestDictionary.h |
diff --git a/Source/bindings/tests/results/core/TestInterfaceWillBeGarbageCollectedOrTestDictionary.h b/Source/bindings/tests/results/core/TestInterfaceWillBeGarbageCollectedOrTestDictionary.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0e97d2e5ea1d0cc8ee31e90e64a6c97f782913bd |
--- /dev/null |
+++ b/Source/bindings/tests/results/core/TestInterfaceWillBeGarbageCollectedOrTestDictionary.h |
@@ -0,0 +1,72 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+// This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! |
+ |
+#ifndef TestInterfaceWillBeGarbageCollectedOrTestDictionary_h |
+#define TestInterfaceWillBeGarbageCollectedOrTestDictionary_h |
+ |
+#include "bindings/core/v8/Dictionary.h" |
+#include "bindings/core/v8/ExceptionState.h" |
+#include "bindings/core/v8/UnionTypesCore.h" |
+#include "bindings/core/v8/V8Binding.h" |
+#include "bindings/core/v8/V8TestDictionary.h" |
+#include "bindings/core/v8/V8TestInterfaceWillBeGarbageCollected.h" |
+#include "platform/heap/Handle.h" |
+ |
+namespace blink { |
+ |
+class TestInterfaceWillBeGarbageCollectedOrTestDictionary final { |
+ ALLOW_ONLY_INLINE_ALLOCATION(); |
+public: |
+ TestInterfaceWillBeGarbageCollectedOrTestDictionary(); |
+ bool isNull() const { return m_type == SpecificTypeNone; } |
+ |
+ bool isTestInterfaceWillBeGarbageCollected() const { return m_type == SpecificTypeTestInterfaceWillBeGarbageCollected; } |
+ PassRefPtrWillBeRawPtr<TestInterfaceWillBeGarbageCollected> getAsTestInterfaceWillBeGarbageCollected() const; |
+ void setTestInterfaceWillBeGarbageCollected(PassRefPtrWillBeRawPtr<TestInterfaceWillBeGarbageCollected>); |
+ static TestInterfaceWillBeGarbageCollectedOrTestDictionary fromTestInterfaceWillBeGarbageCollected(PassRefPtrWillBeRawPtr<TestInterfaceWillBeGarbageCollected>); |
+ |
+ bool isTestDictionary() const { return m_type == SpecificTypeTestDictionary; } |
+ TestDictionary getAsTestDictionary() const; |
+ void setTestDictionary(TestDictionary); |
+ static TestInterfaceWillBeGarbageCollectedOrTestDictionary fromTestDictionary(TestDictionary); |
+ |
+ DECLARE_TRACE(); |
+ |
+private: |
+ enum SpecificTypes { |
+ SpecificTypeNone, |
+ SpecificTypeTestInterfaceWillBeGarbageCollected, |
+ SpecificTypeTestDictionary, |
+ }; |
+ SpecificTypes m_type; |
+ |
+ RefPtrWillBeMember<TestInterfaceWillBeGarbageCollected> m_testInterfaceWillBeGarbageCollected; |
+ TestDictionary m_testDictionary; |
+ |
+ friend 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&); |
+}; |
+ |
+v8::Local<v8::Value> toV8(const TestInterfaceWillBeGarbageCollectedOrTestDictionary&, v8::Local<v8::Object>, v8::Isolate*); |
+ |
+template <class CallbackInfo> |
+inline void v8SetReturnValue(const CallbackInfo& callbackInfo, TestInterfaceWillBeGarbageCollectedOrTestDictionary& impl) |
+{ |
+ v8SetReturnValue(callbackInfo, toV8(impl, callbackInfo.Holder(), callbackInfo.GetIsolate())); |
+} |
+ |
+template <> |
+struct NativeValueTraits<TestInterfaceWillBeGarbageCollectedOrTestDictionary> { |
+ static TestInterfaceWillBeGarbageCollectedOrTestDictionary nativeValue(const v8::Local<v8::Value>&, v8::Isolate*, ExceptionState&); |
+}; |
+ |
+} // namespace blink |
+ |
+#endif // TestInterfaceWillBeGarbageCollectedOrTestDictionary_h |