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

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

Issue 2471393004: bindings: Use forward declarations for wrapper types in dictionary_impl (Closed)
Patch Set: WIP Created 4 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
Index: third_party/WebKit/Source/bindings/tests/results/core/TestPermissiveDictionary.cpp
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/TestPermissiveDictionary.cpp b/third_party/WebKit/Source/bindings/tests/results/core/TestPermissiveDictionary.cpp
index 3801ef2193e6d466185ed4873dd5af2e0cd8fa82..9ad6e69bef3db463ded14939122aab8146e229c4 100644
--- a/third_party/WebKit/Source/bindings/tests/results/core/TestPermissiveDictionary.cpp
+++ b/third_party/WebKit/Source/bindings/tests/results/core/TestPermissiveDictionary.cpp
@@ -19,4 +19,16 @@ DEFINE_TRACE(TestPermissiveDictionary) {
IDLDictionaryBase::trace(visitor);
}
+bool TestPermissiveDictionary::hasBooleanMember() const {
+ return !m_booleanMember.isNull();
+}
+
+bool TestPermissiveDictionary::booleanMember() const {
+ return m_booleanMember.get();
+}
+
+void TestPermissiveDictionary::setBooleanMember(bool value) {
+ m_booleanMember = value;
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698