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

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

Issue 740453004: IDL: Basic dictionary inheritance support (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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/core/core.gypi ('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 f399dda0c2a184ee16bd3dccca6efc042b76a20d..66a0bf67737278596a7d819d6666cc18fde53cfb 100644
--- a/Source/core/testing/DictionaryTest.h
+++ b/Source/core/testing/DictionaryTest.h
@@ -15,6 +15,7 @@
namespace blink {
class InternalDictionary;
+class InternalDictionaryDerived;
class DictionaryTest : public GarbageCollectedFinalized<DictionaryTest>, public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
@@ -30,6 +31,9 @@ public:
// Sets each member of the given TestDictionary from fields
void get(InternalDictionary&);
+ void setDerived(const InternalDictionaryDerived&);
+ void getDerived(InternalDictionaryDerived&);
+
void trace(Visitor*);
private:
@@ -59,6 +63,8 @@ private:
RefPtrWillBeMember<Element> m_elementOrNullMember;
ScriptValue m_objectMember;
ScriptValue m_objectOrNullMemberWithDefault;
+ String m_derivedStringMember;
+ String m_derivedStringMemberWithDefault;
};
} // namespace blink
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/testing/DictionaryTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698