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

Unified Diff: third_party/WebKit/Source/core/dom/ElementRareData.h

Issue 1590193002: Partial implementation of inline StylePropertyMap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@maps
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/dom/ElementRareData.h
diff --git a/third_party/WebKit/Source/core/dom/ElementRareData.h b/third_party/WebKit/Source/core/dom/ElementRareData.h
index 81e966402387fa608afb2437517a15295fdcddda..bd94f65a7a155051cee1efc8029754e6c27e3990 100644
--- a/third_party/WebKit/Source/core/dom/ElementRareData.h
+++ b/third_party/WebKit/Source/core/dom/ElementRareData.h
@@ -23,6 +23,7 @@
#define ElementRareData_h
#include "core/animation/ElementAnimations.h"
+#include "core/css/cssom/InlineStylePropertyMap.h"
#include "core/dom/Attr.h"
#include "core/dom/CompositorProxiedPropertySet.h"
#include "core/dom/DatasetDOMStringMap.h"
@@ -70,6 +71,9 @@ public:
}
CSSStyleDeclaration& ensureInlineCSSStyleDeclaration(Element* ownerElement);
+ InlineStylePropertyMap& ensureInlineStylePropertyMap(Element* ownerElement);
+
+ InlineStylePropertyMap* inlineStylePropertyMap() { return m_cssomMapWrapper.get(); }
void clearShadow() { m_shadow = nullptr; }
ElementShadow* shadow() const { return m_shadow.get(); }
@@ -150,6 +154,7 @@ private:
Member<NamedNodeMap> m_attributeMap;
Member<AttrNodeList> m_attrNodeList;
Member<InlineCSSStyleDeclaration> m_cssomWrapper;
+ Member<InlineStylePropertyMap> m_cssomMapWrapper;
OwnPtr<CompositorProxiedPropertySet> m_proxiedProperties;
Member<ElementAnimations> m_elementAnimations;
« no previous file with comments | « third_party/WebKit/Source/core/dom/Element.cpp ('k') | third_party/WebKit/Source/core/dom/ElementRareData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698