Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1380)

Side by Side Diff: third_party/WebKit/Source/core/css/cssom/StylePropertyMapReadonly.cpp

Issue 2867883003: [CSS Typed OM] Delete obsolete number and length classes from Typed OM (Closed)
Patch Set: rebase Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698