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/UnionTypesCore.h" | 8 #include "bindings/core/v8/DoubleOrInternalEnum.h" |
| 9 #include "bindings/core/v8/DoubleOrString.h" |
| 10 #include "bindings/core/v8/DoubleOrStringOrStringArray.h" |
| 11 #include "bindings/core/v8/DoubleOrStringOrStringSequence.h" |
| 12 #include "bindings/core/v8/NodeListOrElement.h" |
9 #include "wtf/text/WTFString.h" | 13 #include "wtf/text/WTFString.h" |
10 | 14 |
11 namespace blink { | 15 namespace blink { |
12 | 16 |
13 class UnionTypesTest final : public GarbageCollectedFinalized<UnionTypesTest>, p
ublic ScriptWrappable { | 17 class UnionTypesTest final : public GarbageCollectedFinalized<UnionTypesTest>, p
ublic ScriptWrappable { |
14 DEFINE_WRAPPERTYPEINFO(); | 18 DEFINE_WRAPPERTYPEINFO(); |
15 public: | 19 public: |
16 static UnionTypesTest* create() | 20 static UnionTypesTest* create() |
17 { | 21 { |
18 return new UnionTypesTest(); | 22 return new UnionTypesTest(); |
(...skipping 30 matching lines...) Expand all Loading... |
49 }; | 53 }; |
50 AttributeSpecificType m_attributeType; | 54 AttributeSpecificType m_attributeType; |
51 double m_attributeDouble; | 55 double m_attributeDouble; |
52 String m_attributeString; | 56 String m_attributeString; |
53 Vector<String> m_attributeStringArray; | 57 Vector<String> m_attributeStringArray; |
54 }; | 58 }; |
55 | 59 |
56 } // namespace blink | 60 } // namespace blink |
57 | 61 |
58 #endif // UnionTypesTest_h | 62 #endif // UnionTypesTest_h |
OLD | NEW |