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

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

Issue 770903004: IDL: Include DOMTypedArray.h when a dictionary has typed array members (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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 023f35251a05f86077343074d256ae10155ea4c1..5b24fd39c066e179556a4ad4a077d3b6388eace2 100644
--- a/Source/bindings/tests/results/core/TestDictionary.h
+++ b/Source/bindings/tests/results/core/TestDictionary.h
@@ -13,6 +13,7 @@
#include "bindings/tests/idls/core/TestInterfaceGarbageCollected.h"
#include "bindings/tests/idls/core/TestInterfaceImplementation.h"
#include "bindings/tests/idls/core/TestInterfaceWillBeGarbageCollected.h"
+#include "core/dom/DOMTypedArray.h"
#include "core/dom/Element.h"
#include "core/testing/InternalDictionary.h"
#include "platform/heap/Handle.h"
@@ -113,6 +114,10 @@ public:
const Vector<InternalDictionary>& internalDictionarySequenceMember() const { return m_internalDictionarySequenceMember.get(); }
void setInternalDictionarySequenceMember(const Vector<InternalDictionary>& value) { m_internalDictionarySequenceMember = value; }
+ bool hasUint8ArrayMember() const { return m_uint8ArrayMember; }
+ PassRefPtr<DOMUint8Array> uint8ArrayMember() const { return m_uint8ArrayMember; }
+ void setUint8ArrayMember(PassRefPtr<DOMUint8Array> value) { m_uint8ArrayMember = value; }
+
virtual void trace(Visitor*);
private:
@@ -136,6 +141,7 @@ private:
Nullable<bool> m_createMember;
DoubleOrString m_doubleOrStringMember;
Nullable<Vector<InternalDictionary> > m_internalDictionarySequenceMember;
+ RefPtr<DOMUint8Array> m_uint8ArrayMember;
friend class V8TestDictionary;
};
« no previous file with comments | « Source/bindings/tests/idls/core/TestDictionary.idl ('k') | Source/bindings/tests/results/core/V8TestDictionary.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698