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

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp

Issue 2907133002: Move WebAXObject.cpp to core/ (WIP) (Closed)
Patch Set: Created 3 years, 7 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/modules/accessibility/AXLayoutObject.cpp
diff --git a/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp b/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp
index 3dfde9e218856bfebc23dfbc113e444c69f497b6..fadd4f55a4d9b23098b36fc103157d85fa789868 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp
+++ b/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp
@@ -1257,16 +1257,17 @@ String AXLayoutObject::TextAlternative(bool recursive,
// ARIA attributes.
//
-void AXLayoutObject::AriaOwnsElements(AXObjectVector& owns) const {
+void AXLayoutObject::AriaOwnsElements(AXObjectImplVector& owns) const {
AccessibilityChildrenFromAttribute(aria_ownsAttr, owns);
}
void AXLayoutObject::AriaDescribedbyElements(
- AXObjectVector& describedby) const {
+ AXObjectImplVector& describedby) const {
AccessibilityChildrenFromAttribute(aria_describedbyAttr, describedby);
}
-void AXLayoutObject::AriaLabelledbyElements(AXObjectVector& labelledby) const {
+void AXLayoutObject::AriaLabelledbyElements(
+ AXObjectImplVector& labelledby) const {
AccessibilityChildrenFromAttribute(aria_labelledbyAttr, labelledby);
}
@@ -1728,7 +1729,7 @@ Element* AXLayoutObject::AnchorElement() const {
// Functions that retrieve the current selection.
//
-AXObjectImpl::AXRange AXLayoutObject::Selection() const {
+AXObject::AXRange AXLayoutObject::Selection() const {
AXRange text_selection = TextControlSelection();
if (text_selection.IsValid())
return text_selection;
@@ -1798,7 +1799,7 @@ AXObjectImpl::AXRange AXLayoutObject::Selection() const {
// Gets only the start and end offsets of the selection computed using the
// current object as the starting point. Returns a null selection if there is
// no selection in the subtree rooted at this object.
-AXObjectImpl::AXRange AXLayoutObject::SelectionUnderObject() const {
+AXObject::AXRange AXLayoutObject::SelectionUnderObject() const {
AXRange text_selection = TextControlSelection();
if (text_selection.IsValid())
return text_selection;
@@ -1832,7 +1833,7 @@ AXObjectImpl::AXRange AXLayoutObject::SelectionUnderObject() const {
return AXRange(start, end);
}
-AXObjectImpl::AXRange AXLayoutObject::TextControlSelection() const {
+AXObject::AXRange AXLayoutObject::TextControlSelection() const {
if (!GetLayoutObject())
return AXRange();

Powered by Google App Engine
This is Rietveld 408576698