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

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

Issue 2796553002: Revert of Initial skeleton of Accessibility Object Model Phase 1 (Closed)
Patch Set: Created 3 years, 9 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 0875de0bd6107cd6d68ae2859ea28cb53d8c5aa8..b14fe2c7e5ed3b603198da6ae5b4c118399c646c 100644
--- a/third_party/WebKit/Source/core/dom/ElementRareData.h
+++ b/third_party/WebKit/Source/core/dom/ElementRareData.h
@@ -22,11 +22,9 @@
#ifndef ElementRareData_h
#define ElementRareData_h
-#include <memory>
#include "bindings/core/v8/ScriptWrappableVisitor.h"
#include "core/animation/ElementAnimations.h"
#include "core/css/cssom/InlineStylePropertyMap.h"
-#include "core/dom/AccessibleNode.h"
#include "core/dom/Attr.h"
#include "core/dom/CompositorProxiedPropertySet.h"
#include "core/dom/DatasetDOMStringMap.h"
@@ -41,6 +39,7 @@
#include "core/html/ClassList.h"
#include "platform/heap/Handle.h"
#include "wtf/HashSet.h"
+#include <memory>
namespace blink {
@@ -154,15 +153,6 @@
return m_customElementDefinition.get();
}
- AccessibleNode* accessibleNode() const { return m_accessibleNode.get(); }
- AccessibleNode* ensureAccessibleNode(Element* ownerElement) {
- if (!m_accessibleNode) {
- m_accessibleNode = new AccessibleNode(ownerElement);
- ScriptWrappableVisitor::writeBarrier(this, m_accessibleNode);
- }
- return m_accessibleNode;
- }
-
AttrNodeList& ensureAttrNodeList();
AttrNodeList* attrNodeList() { return m_attrNodeList.get(); }
void removeAttrNodeList() { m_attrNodeList.clear(); }
@@ -220,8 +210,6 @@
Member<PseudoElementData> m_pseudoElementData;
- Member<AccessibleNode> m_accessibleNode;
-
explicit ElementRareData(LayoutObject*);
};
« no previous file with comments | « third_party/WebKit/Source/core/dom/Element.idl ('k') | third_party/WebKit/Source/core/dom/ElementRareData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698