| 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 #include "core/css/cssom/StylePropertyMapReadonly.h" | 5 #include "core/css/cssom/StylePropertyMapReadonly.h" |
| 6 | 6 |
| 7 #include "bindings/core/v8/ExceptionState.h" | 7 #include "bindings/core/v8/ExceptionState.h" |
| 8 #include "core/css/CSSValueList.h" | 8 #include "core/css/CSSValueList.h" |
| 9 #include "core/css/cssom/CSSSimpleLength.h" | |
| 10 #include "core/css/cssom/CSSStyleValue.h" | 9 #include "core/css/cssom/CSSStyleValue.h" |
| 11 #include "core/css/cssom/StyleValueFactory.h" | 10 #include "core/css/cssom/StyleValueFactory.h" |
| 12 | 11 |
| 13 namespace blink { | 12 namespace blink { |
| 14 | 13 |
| 15 namespace { | 14 namespace { |
| 16 | 15 |
| 17 class StylePropertyMapIterationSource final | 16 class StylePropertyMapIterationSource final |
| 18 : public PairIterable<String, CSSStyleValueOrCSSStyleValueSequence>:: | 17 : public PairIterable<String, CSSStyleValueOrCSSStyleValueSequence>:: |
| 19 IterationSource { | 18 IterationSource { |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 ExceptionState& exception_state) { | 69 ExceptionState& exception_state) { |
| 71 return !getAll(property_name, exception_state).IsEmpty(); | 70 return !getAll(property_name, exception_state).IsEmpty(); |
| 72 } | 71 } |
| 73 | 72 |
| 74 StylePropertyMapReadonly::IterationSource* | 73 StylePropertyMapReadonly::IterationSource* |
| 75 StylePropertyMapReadonly::StartIteration(ScriptState*, ExceptionState&) { | 74 StylePropertyMapReadonly::StartIteration(ScriptState*, ExceptionState&) { |
| 76 return new StylePropertyMapIterationSource(GetIterationEntries()); | 75 return new StylePropertyMapIterationSource(GetIterationEntries()); |
| 77 } | 76 } |
| 78 | 77 |
| 79 } // namespace blink | 78 } // namespace blink |
| OLD | NEW |