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

Side by Side 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: sequence and array support 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 unified diff | Download patch
OLDNEW
(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 blink {
12
13 TestDictionary::TestDictionary()
14 {
15 }
16
17 void TestDictionary::setBooleanMember(bool value)
18 {
19 m_booleanMember = value;
20 }
21
22 void TestDictionary::setLongMember(int value)
23 {
24 m_longMember = value;
25 }
26
27 void TestDictionary::setStringMember(String value)
28 {
29 m_stringMember = value;
30 }
31
32 void TestDictionary::setNodeMember(PassRefPtrWillBeRawPtr<Node> value)
33 {
34 m_nodeMember = value;
35 }
36
37 void TestDictionary::setTestInterfaceMember(PassRefPtr<TestInterfaceImplementati on> value)
38 {
39 m_testInterfaceMember = value;
40 }
41
42 void TestDictionary::setBooleanOrNullMember(bool value)
43 {
44 m_booleanOrNullMember = value;
45 }
46
47 void TestDictionary::setTestInterfaceOrNullMember(PassRefPtr<TestInterfaceImplem entation> value)
48 {
49 m_testInterfaceOrNullMember = value;
50 }
51
52 void TestDictionary::setStringOrNullMember(String value)
53 {
54 m_stringOrNullMember = value;
55 }
56
57 void TestDictionary::setFloatSequenceMember(const Vector<float>& value)
58 {
59 m_floatSequenceMember = value;
60 }
61
62 void TestDictionary::setTestInterfaceSequenceSequenceMember(const Vector<RefPtr< TestInterfaceImplementation> >& value)
63 {
64 m_testInterfaceSequenceSequenceMember = value;
65 }
66
67 void TestDictionary::setNodeArrayMember(const WillBeHeapVector<RefPtrWillBeMembe r<Node> >& value)
68 {
69 m_nodeArrayMember = value;
70 }
71
72 void TestDictionary::trace(Visitor* visitor)
73 {
74 visitor->trace(m_nodeMember);
75 visitor->trace(m_nodeArrayMember);
76 }
77
78 } // namespace blink
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/TestDictionary.h ('k') | Source/bindings/tests/results/V8TestDictionary.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698