OLD | NEW |
(Empty) | |
| 1 // NOT FOR LAND |
| 2 #ifndef SomeDictionaryUser_h |
| 3 #define SomeDictionaryUser_h |
| 4 |
| 5 #include "bindings/core/v8/Nullable.h" |
| 6 #include "bindings/core/v8/ScriptWrappable.h" |
| 7 #include "core/dom/Element.h" |
| 8 #include "core/dom/SomeDictionary.h" |
| 9 #include "platform/heap/Handle.h" |
| 10 #include "wtf/text/WTFString.h" |
| 11 |
| 12 namespace WebCore { |
| 13 |
| 14 class SomeDictionaryUser : public RefCountedWillBeGarbageCollected<SomeDictionar
yUser>, public ScriptWrappable { |
| 15 public: |
| 16 static PassRefPtrWillBeRawPtr<SomeDictionaryUser> create() |
| 17 { |
| 18 return adoptRefWillBeNoop(new SomeDictionaryUser()); |
| 19 } |
| 20 virtual ~SomeDictionaryUser(); |
| 21 |
| 22 void set(const SomeDictionary*); |
| 23 SomeDictionary* get(); |
| 24 |
| 25 // void trace(); |
| 26 |
| 27 private: |
| 28 SomeDictionaryUser(); |
| 29 |
| 30 Nullable<unsigned> m_a; |
| 31 unsigned m_b; |
| 32 String m_stringMember; |
| 33 RefPtrWillBeMember<Element> m_element; |
| 34 Nullable<bool> m_nullableBooleanMember; |
| 35 Vector<String> m_stringSequenceMember; |
| 36 WillBeHeapVector<RefPtrWillBeMember<Element> > m_elementArrayMember; |
| 37 }; |
| 38 |
| 39 } |
| 40 |
| 41 #endif // SomeDictionaryUser_h |
OLD | NEW |