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

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

Issue 1939303002: Enable accessible name of a control to include multiple <label> elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't modify visited set when computing aria-labelledby 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
« no previous file with comments | « third_party/WebKit/Source/core/dom/LiveNodeList.h ('k') | third_party/WebKit/Source/core/dom/TreeScope.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/TreeScope.h
diff --git a/third_party/WebKit/Source/core/dom/TreeScope.h b/third_party/WebKit/Source/core/dom/TreeScope.h
index 0522ee5fe736954cabe3b05c8c2ade9f75c5b843..ce83da53b39f5a1119775f440d9b9b5b91e99cb6 100644
--- a/third_party/WebKit/Source/core/dom/TreeScope.h
+++ b/third_party/WebKit/Source/core/dom/TreeScope.h
@@ -40,7 +40,6 @@ class ContainerNode;
class DOMSelection;
class Document;
class Element;
-class HTMLLabelElement;
class HTMLMapElement;
class HitTestResult;
class IdTargetObserverRegistry;
@@ -82,12 +81,6 @@ public:
HeapVector<Member<Element>> elementsFromPoint(int x, int y) const;
HeapVector<Member<Element>> elementsFromHitTestResult(HitTestResult&) const;
- // For accessibility.
- bool shouldCacheLabelsByForAttribute() const { return m_labelsByForAttribute; }
- void addLabel(const AtomicString& forAttributeValue, HTMLLabelElement*);
- void removeLabel(const AtomicString& forAttributeValue, HTMLLabelElement*);
- HTMLLabelElement* labelElementForId(const AtomicString& forAttributeValue);
-
DOMSelection* getSelection() const;
Element* retarget(const Element& target) const;
@@ -138,7 +131,6 @@ private:
Member<DocumentOrderedMap> m_elementsById;
Member<DocumentOrderedMap> m_imageMapsByName;
- Member<DocumentOrderedMap> m_labelsByForAttribute;
Member<IdTargetObserverRegistry> m_idTargetObserverRegistry;
« no previous file with comments | « third_party/WebKit/Source/core/dom/LiveNodeList.h ('k') | third_party/WebKit/Source/core/dom/TreeScope.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698