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

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

Issue 561633003: IDL: Enumerations support in dictionaries (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove parens Created 6 years, 3 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
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 0dea18cdeea2c23588d4bfcf2c625170a6fe1dc7..717b97b9d9a12a3eddfcab3dbcd115f9c5b0d197 100644
--- a/Source/bindings/tests/results/core/TestDictionary.h
+++ b/Source/bindings/tests/results/core/TestDictionary.h
@@ -63,6 +63,9 @@ public:
bool hasStringSequenceMember() const { return !m_stringSequenceMember.isNull(); }
const Vector<String>& stringSequenceMember() const { return m_stringSequenceMember.get(); }
void setStringSequenceMember(const Vector<String>& value) { m_stringSequenceMember = value; }
+ bool hasEnumMember() const { return !m_enumMember.isNull(); }
+ String enumMember() const { return m_enumMember; }
+ void setEnumMember(String value) { m_enumMember = value; }
void trace(Visitor*);
@@ -82,6 +85,7 @@ private:
RefPtrWillBeMember<TestInterfaceWillBeGarbageCollected> m_testInterfaceWillBeGarbageCollectedOrNullMember;
Nullable<Vector<String> > m_stringArrayMember;
Nullable<Vector<String> > m_stringSequenceMember;
+ String m_enumMember;
friend class V8TestDictionary;
};
« no previous file with comments | « Source/bindings/tests/idls/core/TestDictionary.idl ('k') | Source/bindings/tests/results/core/TestDictionary.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698