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/CSSStyleValueOrCSSStyleValueSequence.h" | 8 #include "bindings/core/v8/CSSStyleValueOrCSSStyleValueSequence.h" |
9 #include "bindings/core/v8/CSSStyleValueOrCSSStyleValueSequenceOrString.h" | 9 #include "bindings/core/v8/CSSStyleValueOrCSSStyleValueSequenceOrString.h" |
10 #include "bindings/core/v8/Iterable.h" | 10 #include "bindings/core/v8/Iterable.h" |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 CSSStyleValueOrCSSStyleValueSequenceOrString& item, | 54 CSSStyleValueOrCSSStyleValueSequenceOrString& item, |
55 ExceptionState&) = 0; | 55 ExceptionState&) = 0; |
56 virtual void remove(CSSPropertyID, ExceptionState&) = 0; | 56 virtual void remove(CSSPropertyID, ExceptionState&) = 0; |
57 | 57 |
58 DEFINE_INLINE_VIRTUAL_TRACE() {} | 58 DEFINE_INLINE_VIRTUAL_TRACE() {} |
59 | 59 |
60 protected: | 60 protected: |
61 StylePropertyMap() {} | 61 StylePropertyMap() {} |
62 | 62 |
63 virtual CSSStyleValueVector getAllInternal(CSSPropertyID) = 0; | 63 virtual CSSStyleValueVector getAllInternal(CSSPropertyID) = 0; |
64 virtual CSSStyleValueVector getAllInternal( | 64 // TODO(rjwright): Remove the ExceptionState arg once |
65 AtomicString customPropertyName) = 0; | 65 // InlineStypePropertyMap::getAllInternal is implemented. |
| 66 virtual CSSStyleValueVector getAllInternal(AtomicString customPropertyName, |
| 67 ExceptionState&) = 0; |
66 | 68 |
67 virtual HeapVector<StylePropertyMapEntry> getIterationEntries() = 0; | 69 virtual HeapVector<StylePropertyMapEntry> getIterationEntries() = 0; |
68 IterationSource* startIteration(ScriptState*, ExceptionState&) override; | 70 IterationSource* startIteration(ScriptState*, ExceptionState&) override; |
69 }; | 71 }; |
70 | 72 |
71 } // namespace blink | 73 } // namespace blink |
72 | 74 |
73 #endif | 75 #endif |
OLD | NEW |