Index: Source/core/dom/SomeDictionaryUser.h |
diff --git a/Source/core/dom/SomeDictionaryUser.h b/Source/core/dom/SomeDictionaryUser.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3d4fbec051b2c4163194570fe592ecf117f330c5 |
--- /dev/null |
+++ b/Source/core/dom/SomeDictionaryUser.h |
@@ -0,0 +1,41 @@ |
+// NOT FOR LAND |
+#ifndef SomeDictionaryUser_h |
+#define SomeDictionaryUser_h |
+ |
+#include "bindings/core/v8/Nullable.h" |
+#include "bindings/core/v8/ScriptWrappable.h" |
+#include "core/dom/Element.h" |
+#include "core/dom/SomeDictionary.h" |
+#include "platform/heap/Handle.h" |
+#include "wtf/text/WTFString.h" |
+ |
+namespace WebCore { |
+ |
+class SomeDictionaryUser : public RefCountedWillBeGarbageCollected<SomeDictionaryUser>, public ScriptWrappable { |
+public: |
+ static PassRefPtrWillBeRawPtr<SomeDictionaryUser> create() |
+ { |
+ return adoptRefWillBeNoop(new SomeDictionaryUser()); |
+ } |
+ virtual ~SomeDictionaryUser(); |
+ |
+ void set(const SomeDictionary*); |
+ SomeDictionary* get(); |
+ |
+ // void trace(); |
+ |
+private: |
+ SomeDictionaryUser(); |
+ |
+ Nullable<unsigned> m_a; |
+ unsigned m_b; |
+ String m_stringMember; |
+ RefPtrWillBeMember<Element> m_element; |
+ Nullable<bool> m_nullableBooleanMember; |
+ Vector<String> m_stringSequenceMember; |
+ WillBeHeapVector<RefPtrWillBeMember<Element> > m_elementArrayMember; |
+}; |
+ |
+} |
+ |
+#endif // SomeDictionaryUser_h |