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

Side by Side Diff: third_party/WebKit/Source/core/css/cssom/StylePropertyMap.h

Issue 2726733004: [Experimental] Implement some part of custom properties in style maps (Closed)
Patch Set: Created 3 years, 9 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 #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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698