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

Unified Diff: sky/engine/core/dom/Element.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/Document.cpp ('k') | sky/engine/core/dom/Element.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/Element.h
diff --git a/sky/engine/core/dom/Element.h b/sky/engine/core/dom/Element.h
index ce6395d986099b0a9ab4723329a9cfb6e8f02ca1..80261541245c8c75f8c6ba42edf4c53d825c415e 100644
--- a/sky/engine/core/dom/Element.h
+++ b/sky/engine/core/dom/Element.h
@@ -106,9 +106,6 @@ public:
double getFloatingPointAttribute(const QualifiedName& attributeName, double fallbackValue = std::numeric_limits<double>::quiet_NaN()) const;
void setFloatingPointAttribute(const QualifiedName& attributeName, double value);
-#ifdef DUMP_NODE_STATISTICS
- bool hasNamedNodeMap() const;
-#endif
bool hasAttributes() const;
bool hasAttribute(const AtomicString& name) const;
@@ -166,13 +163,6 @@ public:
void removeAttribute(const AtomicString& name);
- PassRefPtr<Attr> getAttributeNode(const AtomicString& name);
-
- PassRefPtr<Attr> attrIfExists(const QualifiedName&);
- PassRefPtr<Attr> ensureAttr(const QualifiedName&);
-
- Vector<RefPtr<Attr> >* attrNodeList();
-
CSSStyleDeclaration* style();
const QualifiedName& tagQName() const { return m_tagName; }
@@ -191,8 +181,6 @@ public:
PassRefPtr<Element> cloneElementWithChildren();
PassRefPtr<Element> cloneElementWithoutChildren();
- void normalizeAttributes();
-
void setBooleanAttribute(const QualifiedName& name, bool);
void invalidateStyleAttribute();
@@ -207,9 +195,6 @@ public:
void synchronizeStyleAttributeInternal() const;
- // For exposing to DOM only.
- NamedNodeMap* attributesForBindings() const;
-
enum AttributeModificationReason {
ModifiedDirectly,
ModifiedByCloning
@@ -453,10 +438,6 @@ private:
ElementRareData* elementRareData() const;
ElementRareData& ensureElementRareData();
- Vector<RefPtr<Attr> >& ensureAttrNodeList();
- void removeAttrNodeList();
- void detachAllAttrNodesFromElement();
-
RefPtr<ElementData> m_elementData;
};
« no previous file with comments | « sky/engine/core/dom/Document.cpp ('k') | sky/engine/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698