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