| 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" |
| 11 #include "bindings/core/v8/ScriptWrappable.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/CSSStyleValue.h" | 13 #include "core/css/cssom/CSSStyleValue.h" |
| 14 #include "platform/bindings/ScriptWrappable.h" |
| 15 | 15 |
| 16 namespace blink { | 16 namespace blink { |
| 17 | 17 |
| 18 class CORE_EXPORT StylePropertyMapReadonly | 18 class CORE_EXPORT StylePropertyMapReadonly |
| 19 : public GarbageCollectedFinalized<StylePropertyMapReadonly>, | 19 : public GarbageCollectedFinalized<StylePropertyMapReadonly>, |
| 20 public ScriptWrappable, | 20 public ScriptWrappable, |
| 21 public PairIterable<String, CSSStyleValueOrCSSStyleValueSequence> { | 21 public PairIterable<String, CSSStyleValueOrCSSStyleValueSequence> { |
| 22 DEFINE_WRAPPERTYPEINFO(); | 22 DEFINE_WRAPPERTYPEINFO(); |
| 23 WTF_MAKE_NONCOPYABLE(StylePropertyMapReadonly); | 23 WTF_MAKE_NONCOPYABLE(StylePropertyMapReadonly); |
| 24 | 24 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 44 virtual CSSStyleValueVector GetAllInternal( | 44 virtual CSSStyleValueVector GetAllInternal( |
| 45 AtomicString custom_property_name) = 0; | 45 AtomicString custom_property_name) = 0; |
| 46 | 46 |
| 47 virtual HeapVector<StylePropertyMapEntry> GetIterationEntries() = 0; | 47 virtual HeapVector<StylePropertyMapEntry> GetIterationEntries() = 0; |
| 48 IterationSource* StartIteration(ScriptState*, ExceptionState&) override; | 48 IterationSource* StartIteration(ScriptState*, ExceptionState&) override; |
| 49 }; | 49 }; |
| 50 | 50 |
| 51 } // namespace blink | 51 } // namespace blink |
| 52 | 52 |
| 53 #endif | 53 #endif |
| OLD | NEW |