OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! |
| 6 |
| 7 #include "config.h" |
| 8 #include "TestDictionary.h" |
| 9 |
| 10 |
| 11 namespace WebCore { |
| 12 |
| 13 TestDictionary::TestDictionary() |
| 14 { |
| 15 m_hasBooleanMember = false; |
| 16 m_hasLongMember = false; |
| 17 m_hasStringMember = false; |
| 18 m_hasNodeMember = false; |
| 19 m_hasTestInterfaceMember = false; |
| 20 } |
| 21 |
| 22 void TestDictionary::setBooleanMember(bool value) |
| 23 { |
| 24 m_booleanMember = value; |
| 25 m_hasBooleanMember = true; |
| 26 } |
| 27 |
| 28 void TestDictionary::setLongMember(int value) |
| 29 { |
| 30 m_longMember = value; |
| 31 m_hasLongMember = true; |
| 32 } |
| 33 |
| 34 void TestDictionary::setStringMember(String value) |
| 35 { |
| 36 m_stringMember = value; |
| 37 m_hasStringMember = true; |
| 38 } |
| 39 |
| 40 void TestDictionary::setNodeMember(PassRefPtrWillBeRawPtr<Node> value) |
| 41 { |
| 42 m_nodeMember = value; |
| 43 m_hasNodeMember = true; |
| 44 } |
| 45 |
| 46 void TestDictionary::setTestInterfaceMember(PassRefPtr<TestInterfaceImplementati
on> value) |
| 47 { |
| 48 m_testInterfaceMember = value; |
| 49 m_hasTestInterfaceMember = true; |
| 50 } |
| 51 |
| 52 |
| 53 void TestDictionary::trace(Visitor* visitor) |
| 54 { |
| 55 visitor->trace(m_nodeMember); |
| 56 } |
| 57 |
| 58 } // namespace WebCore |
OLD | NEW |