OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 StylePropertyMap_h | 5 #ifndef StylePropertyMap_h |
6 #define StylePropertyMap_h | 6 #define StylePropertyMap_h |
7 | 7 |
8 #include "bindings/core/v8/Iterable.h" | 8 #include "bindings/core/v8/Iterable.h" |
9 #include "bindings/core/v8/ScriptWrappable.h" | 9 #include "bindings/core/v8/ScriptWrappable.h" |
10 #include "bindings/core/v8/UnionTypesCore.h" | 10 #include "bindings/core/v8/StyleValueOrStyleValueSequence.h" |
| 11 #include "bindings/core/v8/StyleValueOrStyleValueSequenceOrString.h" |
11 #include "core/CSSPropertyNames.h" | 12 #include "core/CSSPropertyNames.h" |
12 #include "core/CoreExport.h" | 13 #include "core/CoreExport.h" |
13 #include "core/css/cssom/StyleValue.h" | 14 #include "core/css/cssom/StyleValue.h" |
14 | 15 |
15 namespace blink { | 16 namespace blink { |
16 | 17 |
17 class ExceptionState; | 18 class ExceptionState; |
18 | 19 |
19 class CORE_EXPORT StylePropertyMap : public GarbageCollectedFinalized<StylePrope
rtyMap>, public ScriptWrappable, public PairIterable<String, StyleValueOrStyleVa
lueSequence> { | 20 class CORE_EXPORT StylePropertyMap : public GarbageCollectedFinalized<StylePrope
rtyMap>, public ScriptWrappable, public PairIterable<String, StyleValueOrStyleVa
lueSequence> { |
20 WTF_MAKE_NONCOPYABLE(StylePropertyMap); | 21 WTF_MAKE_NONCOPYABLE(StylePropertyMap); |
(...skipping 27 matching lines...) Expand all Loading... |
48 protected: | 49 protected: |
49 StylePropertyMap() { } | 50 StylePropertyMap() { } |
50 | 51 |
51 IterationSource* startIteration(ScriptState*, ExceptionState&) override { re
turn nullptr; } | 52 IterationSource* startIteration(ScriptState*, ExceptionState&) override { re
turn nullptr; } |
52 StyleValueVector cssValueToStyleValueVector(CSSPropertyID, const CSSValue&); | 53 StyleValueVector cssValueToStyleValueVector(CSSPropertyID, const CSSValue&); |
53 }; | 54 }; |
54 | 55 |
55 } // namespace blink | 56 } // namespace blink |
56 | 57 |
57 #endif | 58 #endif |
OLD | NEW |