Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(145)

Unified Diff: Source/bindings/tests/results/core/TestDictionary.h

Issue 759893002: IDL: Auto-generate NativeValueTraits for IDL dictionaries (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/bindings/tests/results/core/TestDictionary.h
diff --git a/Source/bindings/tests/results/core/TestDictionary.h b/Source/bindings/tests/results/core/TestDictionary.h
index 12c8dfa6244ecd8b0cdb227f419f8c6801cbaa1a..084c0e2155edcd391a459a8375e15c11f015d24d 100644
--- a/Source/bindings/tests/results/core/TestDictionary.h
+++ b/Source/bindings/tests/results/core/TestDictionary.h
@@ -14,6 +14,7 @@
#include "bindings/tests/idls/core/TestInterfaceImplementation.h"
#include "bindings/tests/idls/core/TestInterfaceWillBeGarbageCollected.h"
#include "core/dom/Element.h"
+#include "core/testing/InternalDictionary.h"
#include "platform/heap/Handle.h"
#include "wtf/Vector.h"
#include "wtf/text/WTFString.h"
@@ -101,6 +102,10 @@ public:
const DoubleOrString& doubleOrStringMember() const { return m_doubleOrStringMember; }
void setDoubleOrStringMember(const DoubleOrString& value) { m_doubleOrStringMember = value; }
+ bool hasInternalDictionarySequenceMember() const { return !m_internalDictionarySequenceMember.isNull(); }
+ const Vector<InternalDictionary>& internalDictionarySequenceMember() const { return m_internalDictionarySequenceMember.get(); }
+ void setInternalDictionarySequenceMember(const Vector<InternalDictionary>& value) { m_internalDictionarySequenceMember = value; }
+
virtual void trace(Visitor*);
private:
@@ -123,6 +128,7 @@ private:
ScriptValue m_objectOrNullMember;
Nullable<bool> m_createMember;
DoubleOrString m_doubleOrStringMember;
+ Nullable<Vector<InternalDictionary> > m_internalDictionarySequenceMember;
friend class V8TestDictionary;
};
« no previous file with comments | « Source/bindings/tests/idls/core/TestDictionary.idl ('k') | Source/bindings/tests/results/core/TestDictionary.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698