OLD | NEW |
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 #ifndef UnionTypesTest_h | 5 #ifndef UnionTypesTest_h |
6 #define UnionTypesTest_h | 6 #define UnionTypesTest_h |
7 | 7 |
8 #include "bindings/core/v8/DoubleOrInternalEnum.h" | 8 #include "bindings/core/v8/DoubleOrInternalEnum.h" |
9 #include "bindings/core/v8/DoubleOrString.h" | 9 #include "bindings/core/v8/DoubleOrString.h" |
10 #include "bindings/core/v8/DoubleOrStringOrStringArray.h" | 10 #include "bindings/core/v8/DoubleOrStringOrStringArray.h" |
11 #include "bindings/core/v8/DoubleOrStringOrStringSequence.h" | 11 #include "bindings/core/v8/DoubleOrStringOrStringSequence.h" |
12 #include "bindings/core/v8/NodeListOrElement.h" | 12 #include "bindings/core/v8/NodeListOrElement.h" |
13 #include "wtf/text/WTFString.h" | 13 #include "platform/wtf/text/WTFString.h" |
14 | 14 |
15 namespace blink { | 15 namespace blink { |
16 | 16 |
17 class UnionTypesTest final : public GarbageCollectedFinalized<UnionTypesTest>, | 17 class UnionTypesTest final : public GarbageCollectedFinalized<UnionTypesTest>, |
18 public ScriptWrappable { | 18 public ScriptWrappable { |
19 DEFINE_WRAPPERTYPEINFO(); | 19 DEFINE_WRAPPERTYPEINFO(); |
20 | 20 |
21 public: | 21 public: |
22 static UnionTypesTest* Create() { return new UnionTypesTest(); } | 22 static UnionTypesTest* Create() { return new UnionTypesTest(); } |
23 virtual ~UnionTypesTest() {} | 23 virtual ~UnionTypesTest() {} |
(...skipping 27 matching lines...) Expand all Loading... |
51 }; | 51 }; |
52 AttributeSpecificType attribute_type_; | 52 AttributeSpecificType attribute_type_; |
53 double attribute_double_; | 53 double attribute_double_; |
54 String attribute_string_; | 54 String attribute_string_; |
55 Vector<String> attribute_string_array_; | 55 Vector<String> attribute_string_array_; |
56 }; | 56 }; |
57 | 57 |
58 } // namespace blink | 58 } // namespace blink |
59 | 59 |
60 #endif // UnionTypesTest_h | 60 #endif // UnionTypesTest_h |
OLD | NEW |