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

Unified Diff: sky/engine/core/dom/ElementRareData.h

Issue 697773002: Remove Element#attributes. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: fix template binding. Created 6 years, 2 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
« no previous file with comments | « sky/engine/core/dom/Element.idl ('k') | sky/engine/core/dom/ElementRareData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/ElementRareData.h
diff --git a/sky/engine/core/dom/ElementRareData.h b/sky/engine/core/dom/ElementRareData.h
index ea7829a0156673ec6a7a15f793e59004faaff363..297f2b130dccd83479a5b73c5e5859ca35696750 100644
--- a/sky/engine/core/dom/ElementRareData.h
+++ b/sky/engine/core/dom/ElementRareData.h
@@ -23,8 +23,6 @@
#define ElementRareData_h
#include "core/animation/ActiveAnimations.h"
-#include "core/dom/Attr.h"
-#include "core/dom/NamedNodeMap.h"
#include "core/dom/NodeRareData.h"
#include "core/dom/custom/CustomElementDefinition.h"
#include "core/dom/shadow/ElementShadow.h"
@@ -72,9 +70,6 @@ public:
return *m_shadow;
}
- NamedNodeMap* attributeMap() const { return m_attributeMap.get(); }
- void setAttributeMap(PassOwnPtr<NamedNodeMap> attributeMap) { m_attributeMap = attributeMap; }
-
RenderStyle* computedStyle() const { return m_computedStyle.get(); }
void setComputedStyle(PassRefPtr<RenderStyle> computedStyle) { m_computedStyle = computedStyle; }
void clearComputedStyle() { m_computedStyle = nullptr; }
@@ -105,10 +100,6 @@ public:
void setCustomElementDefinition(PassRefPtr<CustomElementDefinition> definition) { m_customElementDefinition = definition; }
CustomElementDefinition* customElementDefinition() const { return m_customElementDefinition.get(); }
- Vector<RefPtr<Attr> >& ensureAttrNodeList();
- Vector<RefPtr<Attr> >* attrNodeList() { return m_attrNodeList.get(); }
- void removeAttrNodeList() { m_attrNodeList.clear(); }
-
void traceAfterDispatch(Visitor*);
private:
@@ -119,8 +110,6 @@ private:
OwnPtr<ClassList> m_classList;
OwnPtr<ElementShadow> m_shadow;
- OwnPtr<NamedNodeMap> m_attributeMap;
- OwnPtr<Vector<RefPtr<Attr> > > m_attrNodeList;
OwnPtr<InputMethodContext> m_inputMethodContext;
OwnPtr<ActiveAnimations> m_activeAnimations;
OwnPtr<InlineCSSStyleDeclaration> m_cssomWrapper;
« no previous file with comments | « sky/engine/core/dom/Element.idl ('k') | sky/engine/core/dom/ElementRareData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698