| 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 StylePropertyMapReadonly_h | 5 #ifndef StylePropertyMapReadonly_h |
| 6 #define StylePropertyMapReadonly_h | 6 #define StylePropertyMapReadonly_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 23 matching lines...) Expand all Loading... |
| 34 virtual bool has(const String& propertyName, ExceptionState&); | 34 virtual bool has(const String& propertyName, ExceptionState&); |
| 35 | 35 |
| 36 virtual Vector<String> getProperties() = 0; | 36 virtual Vector<String> getProperties() = 0; |
| 37 | 37 |
| 38 DEFINE_INLINE_VIRTUAL_TRACE() {} | 38 DEFINE_INLINE_VIRTUAL_TRACE() {} |
| 39 | 39 |
| 40 protected: | 40 protected: |
| 41 StylePropertyMapReadonly() = default; | 41 StylePropertyMapReadonly() = default; |
| 42 | 42 |
| 43 virtual CSSStyleValueVector getAllInternal(CSSPropertyID) = 0; | 43 virtual CSSStyleValueVector getAllInternal(CSSPropertyID) = 0; |
| 44 virtual CSSStyleValueVector getAllInternal( | 44 // TODO(rjwright): Remove the ExceptionState arg once |
| 45 AtomicString customPropertyName) = 0; | 45 // InlineStypePropertyMap::getAllInternal is implemented. |
| 46 virtual CSSStyleValueVector getAllInternal(AtomicString customPropertyName, |
| 47 ExceptionState&) = 0; |
| 46 | 48 |
| 47 virtual HeapVector<StylePropertyMapEntry> getIterationEntries() = 0; | 49 virtual HeapVector<StylePropertyMapEntry> getIterationEntries() = 0; |
| 48 IterationSource* startIteration(ScriptState*, ExceptionState&) override; | 50 IterationSource* startIteration(ScriptState*, ExceptionState&) override; |
| 49 }; | 51 }; |
| 50 | 52 |
| 51 } // namespace blink | 53 } // namespace blink |
| 52 | 54 |
| 53 #endif | 55 #endif |
| OLD | NEW |