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

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

Issue 2695093007: [Typed CSSOM] Get computed values for custom properties
Patch Set: Fix unregistered props and registered but unset props 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 // TODO(rjwright): Remove the ExceptionState arg once
65 AtomicString customPropertyName) = 0; 65 // InlineStypePropertyMap::getAllInternal is implemented.
66 virtual CSSStyleValueVector getAllInternal(AtomicString customPropertyName,
67 ExceptionState&) = 0;
66 68
67 virtual HeapVector<StylePropertyMapEntry> getIterationEntries() = 0; 69 virtual HeapVector<StylePropertyMapEntry> getIterationEntries() = 0;
68 IterationSource* startIteration(ScriptState*, ExceptionState&) override; 70 IterationSource* startIteration(ScriptState*, ExceptionState&) override;
69 }; 71 };
70 72
71 } // namespace blink 73 } // namespace blink
72 74
73 #endif 75 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698