OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 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 #ifndef SequenceTest_h |
| 6 #define SequenceTest_h |
| 7 |
| 8 #include "bindings/core/v8/DoubleOrDoubleSequence.h" |
| 9 #include "bindings/core/v8/Nullable.h" |
| 10 #include "bindings/core/v8/ScriptWrappable.h" |
| 11 #include "core/dom/Element.h" |
| 12 #include "platform/heap/Handle.h" |
| 13 #include "platform/wtf/Vector.h" |
| 14 #include "platform/wtf/text/WTFString.h" |
| 15 |
| 16 namespace blink { |
| 17 |
| 18 class SequenceTest final : public GarbageCollectedFinalized<SequenceTest>, |
| 19 public ScriptWrappable { |
| 20 DEFINE_WRAPPERTYPEINFO(); |
| 21 |
| 22 public: |
| 23 static SequenceTest* create() { return new SequenceTest; } |
| 24 ~SequenceTest(); |
| 25 |
| 26 Vector<Vector<String>> identityByteStringSequenceSequence( |
| 27 const Vector<Vector<String>>& arg) const; |
| 28 Vector<double> identityDoubleSequence(const Vector<double>& arg) const; |
| 29 Vector<String> identityFoodEnumSequence(const Vector<String>& arg) const; |
| 30 Vector<int32_t> identityLongSequence(const Vector<int32_t>& arg) const; |
| 31 Nullable<Vector<uint8_t>> identityOctetSequenceOrNull( |
| 32 const Nullable<Vector<uint8_t>>& arg) const; |
| 33 |
| 34 HeapVector<Member<Element>> getElementSequence() const; |
| 35 void setElementSequence(const HeapVector<Member<Element>>& arg); |
| 36 |
| 37 bool unionReceivedSequence(const DoubleOrDoubleSequence& arg); |
| 38 |
| 39 DECLARE_TRACE(); |
| 40 |
| 41 private: |
| 42 SequenceTest(); |
| 43 |
| 44 HeapVector<Member<Element>> m_elementSequence; |
| 45 }; |
| 46 |
| 47 } // namespace blink |
| 48 |
| 49 #endif // SequenceTest_h |
OLD | NEW |