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

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

Issue 2054633002: [Typed OM] Implement FilteredComputedStylePropertyMap (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CORE_EXPORT FilteredCSPMap Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/css/cssom/StylePropertyMap.h
diff --git a/third_party/WebKit/Source/core/css/cssom/StylePropertyMap.h b/third_party/WebKit/Source/core/css/cssom/StylePropertyMap.h
index d4c274e45444b9b6ffcbbd2b189ef9594b27029a..a818dcbdd01e3c60f10f3f7461e5f51fe6ff3b58 100644
--- a/third_party/WebKit/Source/core/css/cssom/StylePropertyMap.h
+++ b/third_party/WebKit/Source/core/css/cssom/StylePropertyMap.h
@@ -26,11 +26,10 @@ public:
virtual ~StylePropertyMap() { }
// Accessors.
- CSSStyleValue* get(const String& propertyName, ExceptionState&);
- CSSStyleValueVector getAll(const String& propertyName, ExceptionState&);
- bool has(const String& propertyName, ExceptionState&);
+ virtual CSSStyleValue* get(const String& propertyName, ExceptionState&);
+ virtual CSSStyleValueVector getAll(const String& propertyName, ExceptionState&);
+ virtual bool has(const String& propertyName, ExceptionState&);
- virtual CSSStyleValueVector getAll(CSSPropertyID) = 0;
virtual Vector<String> getProperties() = 0;
// Modifiers.
@@ -47,6 +46,9 @@ public:
protected:
StylePropertyMap() { }
+ virtual CSSStyleValueVector getAllInternal(CSSPropertyID) = 0;
+ virtual CSSStyleValueVector getAllInternal(AtomicString customPropertyName) = 0;
+
virtual HeapVector<StylePropertyMapEntry> getIterationEntries() = 0;
IterationSource* startIteration(ScriptState*, ExceptionState&) override;
};

Powered by Google App Engine
This is Rietveld 408576698