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

Unified Diff: third_party/WebKit/Source/bindings/tests/results/core/TestDictionary.cpp

Issue 2587383002: Add [PrefixGet] extended attribute (Closed)
Patch Set: Created 4 years 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: third_party/WebKit/Source/bindings/tests/results/core/TestDictionary.cpp
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/TestDictionary.cpp b/third_party/WebKit/Source/bindings/tests/results/core/TestDictionary.cpp
index 3a0b98e7831129ff444a1f28c927db669e04d855..70b8662779a3d6d7d4b9cb9643f5af250a607ac8 100644
--- a/third_party/WebKit/Source/bindings/tests/results/core/TestDictionary.cpp
+++ b/third_party/WebKit/Source/bindings/tests/results/core/TestDictionary.cpp
@@ -208,6 +208,15 @@ const DoubleOrString& TestDictionary::otherDoubleOrStringMember() const {
void TestDictionary::setOtherDoubleOrStringMember(const DoubleOrString& value) {
m_otherDoubleOrStringMember = value;
}
+bool TestDictionary::hasPrefixGetMember() const {
+ return !(m_prefixGetMember.isEmpty() || m_prefixGetMember.isNull() || m_prefixGetMember.isUndefined());
+}
+ScriptValue TestDictionary::getPrefixGetMember() const {
+ return m_prefixGetMember;
+}
+void TestDictionary::setPrefixGetMember(ScriptValue value) {
+ m_prefixGetMember = value;
+}
bool TestDictionary::hasRestrictedDoubleMember() const {
return m_hasRestrictedDoubleMember;
}

Powered by Google App Engine
This is Rietveld 408576698