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

Unified Diff: Source/bindings/tests/results/TestDictionary.cpp

Issue 386963003: [WIP][NotForLand] IDL dictionary support (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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/TestDictionary.cpp
diff --git a/Source/bindings/tests/results/TestDictionary.cpp b/Source/bindings/tests/results/TestDictionary.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..cddbe01157521948dd25b6b99290655648f0987b
--- /dev/null
+++ b/Source/bindings/tests/results/TestDictionary.cpp
@@ -0,0 +1,58 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
+
+#include "config.h"
+#include "TestDictionary.h"
+
+
+namespace WebCore {
+
+TestDictionary::TestDictionary()
+{
+ m_hasBooleanMember = false;
+ m_hasLongMember = false;
+ m_hasStringMember = false;
+ m_hasNodeMember = false;
+ m_hasTestInterfaceMember = false;
+}
+
+void TestDictionary::setBooleanMember(bool value)
+{
+ m_booleanMember = value;
+ m_hasBooleanMember = true;
+}
+
+void TestDictionary::setLongMember(int value)
+{
+ m_longMember = value;
+ m_hasLongMember = true;
+}
+
+void TestDictionary::setStringMember(String value)
+{
+ m_stringMember = value;
+ m_hasStringMember = true;
+}
+
+void TestDictionary::setNodeMember(PassRefPtrWillBeRawPtr<Node> value)
+{
+ m_nodeMember = value;
+ m_hasNodeMember = true;
+}
+
+void TestDictionary::setTestInterfaceMember(PassRefPtr<TestInterfaceImplementation> value)
+{
+ m_testInterfaceMember = value;
+ m_hasTestInterfaceMember = true;
+}
+
+
+void TestDictionary::trace(Visitor* visitor)
+{
+ visitor->trace(m_nodeMember);
+}
+
+} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698