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

Unified Diff: Source/core/testing/DictionaryTest.h

Issue 1316833003: bindings: Support (deprecated) Dictionary in IDL dictionary (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 months 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
« no previous file with comments | « Source/bindings/tests/results/core/V8TestDictionary.cpp ('k') | Source/core/testing/DictionaryTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/testing/DictionaryTest.h
diff --git a/Source/core/testing/DictionaryTest.h b/Source/core/testing/DictionaryTest.h
index ba9a2456607c34d73092b350273cb727cf870706..4a3e0828f7e7bce3f7413f3019b9811bc9079e02 100644
--- a/Source/core/testing/DictionaryTest.h
+++ b/Source/core/testing/DictionaryTest.h
@@ -6,11 +6,13 @@
#define DictionaryTest_h
#include "bindings/core/v8/Nullable.h"
+#include "bindings/core/v8/ScriptState.h"
#include "bindings/core/v8/ScriptValue.h"
#include "bindings/core/v8/ScriptWrappable.h"
#include "bindings/core/v8/UnionTypesCore.h"
#include "core/dom/Element.h"
#include "platform/heap/Handle.h"
+#include "wtf/HashMap.h"
#include "wtf/text/WTFString.h"
namespace blink {
@@ -31,6 +33,9 @@ public:
void set(const InternalDictionary&);
// Sets each member of the given TestDictionary from fields
void get(InternalDictionary&);
+ // Returns properties of the latest |dictionaryMember| which was set via
+ // set().
+ ScriptValue getDictionaryMemberProperties(ScriptState*);
void setDerived(const InternalDictionaryDerived&);
void getDerived(InternalDictionaryDerived&);
@@ -77,6 +82,7 @@ private:
String m_derivedStringMember;
String m_derivedStringMemberWithDefault;
bool m_requiredBooleanMember;
+ Nullable<HashMap<String, String>> m_dictionaryMemberProperties;
};
} // namespace blink
« no previous file with comments | « Source/bindings/tests/results/core/V8TestDictionary.cpp ('k') | Source/core/testing/DictionaryTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698