| 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 virtual CSSStyleValueVector getAllInternal(String customPropertyName) = 0; |
| 65 AtomicString customPropertyName) = 0; | |
| 66 | 65 |
| 67 virtual HeapVector<StylePropertyMapEntry> getIterationEntries() = 0; | 66 virtual HeapVector<StylePropertyMapEntry> getIterationEntries() = 0; |
| 68 IterationSource* startIteration(ScriptState*, ExceptionState&) override; | 67 IterationSource* startIteration(ScriptState*, ExceptionState&) override; |
| 69 }; | 68 }; |
| 70 | 69 |
| 71 } // namespace blink | 70 } // namespace blink |
| 72 | 71 |
| 73 #endif | 72 #endif |
| OLD | NEW |