| Index: Source/core/testing/DictionaryTest.h
|
| diff --git a/Source/core/testing/DictionaryTest.h b/Source/core/testing/DictionaryTest.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..4175124ce52da0395f8192b07ce978e36bce021d
|
| --- /dev/null
|
| +++ b/Source/core/testing/DictionaryTest.h
|
| @@ -0,0 +1,41 @@
|
| +// Copyright 2014 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.
|
| +
|
| +#ifndef DictionaryTest_h
|
| +#define DictionaryTest_h
|
| +
|
| +#include "bindings/core/v8/Nullable.h"
|
| +#include "bindings/core/v8/ScriptWrappable.h"
|
| +#include "platform/heap/Handle.h"
|
| +#include "wtf/text/WTFString.h"
|
| +
|
| +namespace blink {
|
| +
|
| +class TestingDictionary;
|
| +
|
| +class DictionaryTest : public GarbageCollectedFinalized<DictionaryTest>, public ScriptWrappable {
|
| +public:
|
| + static DictionaryTest* create()
|
| + {
|
| + return new DictionaryTest();
|
| + }
|
| + virtual ~DictionaryTest();
|
| +
|
| + void set(const TestingDictionary*);
|
| + TestingDictionary* get();
|
| +
|
| + void trace(Visitor*);
|
| +
|
| +private:
|
| + DictionaryTest();
|
| +
|
| + Nullable<unsigned> m_longMember;
|
| + String m_stringMember;
|
| + Nullable<bool> m_booleanOrNullMember;
|
| + Vector<String> m_stringSequenceMember;
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // DictionaryTest_h
|
|
|