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

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

Issue 2791193004: [Typed CSSOM] New design for computed styles which includes custom properties (Closed)
Patch Set: tidy up Created 3 years, 8 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 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"
(...skipping 23 matching lines...) Expand all
34 virtual bool has(const String& propertyName, ExceptionState&); 34 virtual bool has(const String& propertyName, ExceptionState&);
35 35
36 virtual Vector<String> getProperties() = 0; 36 virtual Vector<String> getProperties() = 0;
37 37
38 DEFINE_INLINE_VIRTUAL_TRACE() {} 38 DEFINE_INLINE_VIRTUAL_TRACE() {}
39 39
40 protected: 40 protected:
41 StylePropertyMapReadonly() = default; 41 StylePropertyMapReadonly() = default;
42 42
43 virtual CSSStyleValueVector getAllInternal(CSSPropertyID) = 0; 43 virtual CSSStyleValueVector getAllInternal(CSSPropertyID) = 0;
44 virtual CSSStyleValueVector getAllInternal( 44 // TODO(rjwright): Remove the ExceptionState arg once
45 AtomicString customPropertyName) = 0; 45 // InlineStypePropertyMap::getAllInternal is implemented.
46 virtual CSSStyleValueVector getAllInternal(AtomicString customPropertyName,
47 ExceptionState&) = 0;
46 48
47 virtual HeapVector<StylePropertyMapEntry> getIterationEntries() = 0; 49 virtual HeapVector<StylePropertyMapEntry> getIterationEntries() = 0;
48 IterationSource* startIteration(ScriptState*, ExceptionState&) override; 50 IterationSource* startIteration(ScriptState*, ExceptionState&) override;
49 }; 51 };
50 52
51 } // namespace blink 53 } // namespace blink
52 54
53 #endif 55 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698