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

Side by Side Diff: third_party/WebKit/Source/bindings/tests/results/core/TestDictionary.h

Issue 2707243006: [SharedArrayBuffer] Prevent SharedArrayBuffer being used in Web APIs (Closed)
Patch Set: update comment, add TODO Created 3 years, 8 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file has been auto-generated by code_generator_v8.py. 5 // This file has been auto-generated by code_generator_v8.py.
6 // DO NOT MODIFY! 6 // DO NOT MODIFY!
7 7
8 // This file has been generated from the Jinja2 template in 8 // This file has been generated from the Jinja2 template in
9 // third_party/WebKit/Source/bindings/templates/dictionary_impl.h.tmpl 9 // third_party/WebKit/Source/bindings/templates/dictionary_impl.h.tmpl
10 10
11 // clang-format off 11 // clang-format off
12 #ifndef TestDictionary_h 12 #ifndef TestDictionary_h
13 #define TestDictionary_h 13 #define TestDictionary_h
14 14
15 #include "bindings/core/v8/Dictionary.h" 15 #include "bindings/core/v8/Dictionary.h"
16 #include "bindings/core/v8/DoubleOrString.h" 16 #include "bindings/core/v8/DoubleOrString.h"
17 #include "bindings/core/v8/FloatOrBoolean.h" 17 #include "bindings/core/v8/FloatOrBoolean.h"
18 #include "bindings/core/v8/IDLDictionaryBase.h" 18 #include "bindings/core/v8/IDLDictionaryBase.h"
19 #include "bindings/core/v8/LongOrBoolean.h" 19 #include "bindings/core/v8/LongOrBoolean.h"
20 #include "bindings/core/v8/ScriptValue.h" 20 #include "bindings/core/v8/ScriptValue.h"
21 #include "bindings/core/v8/TestInterface2OrUint8Array.h" 21 #include "bindings/core/v8/TestInterface2OrUint8Array.h"
22 #include "bindings/tests/idls/core/TestInterface2.h" 22 #include "bindings/tests/idls/core/TestInterface2.h"
23 #include "core/CoreExport.h" 23 #include "core/CoreExport.h"
24 #include "core/dom/DOMTypedArray.h" 24 #include "core/dom/DOMTypedArray.h"
25 #include "core/dom/NotShared.h"
25 #include "core/testing/InternalDictionary.h" 26 #include "core/testing/InternalDictionary.h"
26 #include "platform/heap/Handle.h" 27 #include "platform/heap/Handle.h"
27 #include "platform/wtf/Vector.h" 28 #include "platform/wtf/Vector.h"
28 #include "platform/wtf/text/WTFString.h" 29 #include "platform/wtf/text/WTFString.h"
29 30
30 namespace blink { 31 namespace blink {
31 32
32 class EventTarget; 33 class EventTarget;
33 class TestInterfaceGarbageCollected; 34 class TestInterfaceGarbageCollected;
34 class TestObject; 35 class TestObject;
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 180
180 bool hasTestInterfaceSequenceMember() const; 181 bool hasTestInterfaceSequenceMember() const;
181 const HeapVector<Member<TestInterfaceImplementation>>& testInterfaceSequenceMe mber() const; 182 const HeapVector<Member<TestInterfaceImplementation>>& testInterfaceSequenceMe mber() const;
182 void setTestInterfaceSequenceMember(const HeapVector<Member<TestInterfaceImple mentation>>&); 183 void setTestInterfaceSequenceMember(const HeapVector<Member<TestInterfaceImple mentation>>&);
183 184
184 bool hasTestObjectSequenceMember() const; 185 bool hasTestObjectSequenceMember() const;
185 const HeapVector<Member<TestObject>>& testObjectSequenceMember() const; 186 const HeapVector<Member<TestObject>>& testObjectSequenceMember() const;
186 void setTestObjectSequenceMember(const HeapVector<Member<TestObject>>&); 187 void setTestObjectSequenceMember(const HeapVector<Member<TestObject>>&);
187 188
188 bool hasUint8ArrayMember() const; 189 bool hasUint8ArrayMember() const;
189 DOMUint8Array* uint8ArrayMember() const; 190 NotShared<DOMUint8Array> uint8ArrayMember() const;
190 void setUint8ArrayMember(DOMUint8Array*); 191 void setUint8ArrayMember(NotShared<DOMUint8Array>);
191 192
192 bool hasUnionInRecordMember() const; 193 bool hasUnionInRecordMember() const;
193 const HeapVector<std::pair<String, LongOrBoolean>>& unionInRecordMember() cons t; 194 const HeapVector<std::pair<String, LongOrBoolean>>& unionInRecordMember() cons t;
194 void setUnionInRecordMember(const HeapVector<std::pair<String, LongOrBoolean>> &); 195 void setUnionInRecordMember(const HeapVector<std::pair<String, LongOrBoolean>> &);
195 196
196 bool hasUnionWithTypedefs() const; 197 bool hasUnionWithTypedefs() const;
197 const FloatOrBoolean& unionWithTypedefs() const; 198 const FloatOrBoolean& unionWithTypedefs() const;
198 void setUnionWithTypedefs(const FloatOrBoolean&); 199 void setUnionWithTypedefs(const FloatOrBoolean&);
199 200
200 bool hasUnrestrictedDoubleMember() const; 201 bool hasUnrestrictedDoubleMember() const;
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 FloatOrBoolean m_unionWithTypedefs; 263 FloatOrBoolean m_unionWithTypedefs;
263 bool m_hasUnrestrictedDoubleMember = false; 264 bool m_hasUnrestrictedDoubleMember = false;
264 double m_unrestrictedDoubleMember; 265 double m_unrestrictedDoubleMember;
265 266
266 friend class V8TestDictionary; 267 friend class V8TestDictionary;
267 }; 268 };
268 269
269 } // namespace blink 270 } // namespace blink
270 271
271 #endif // TestDictionary_h 272 #endif // TestDictionary_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698