[webkit-changes] [WebKit/WebKit] 640ab3: AX: Add new AXTextMarker constructor to take in AX...
Joshua Hoffman
noreply at github.com
Thu Oct 10 14:03:57 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 640ab36a2072abf61c5d5c630ff66ad0f6b6bb46
https://github.com/WebKit/WebKit/commit/640ab36a2072abf61c5d5c630ff66ad0f6b6bb46
Author: Joshua Hoffman <jhoffman23 at apple.com>
Date: 2024-10-10 (Thu, 10 Oct 2024)
Changed paths:
M Source/WebCore/accessibility/AXTextMarker.cpp
M Source/WebCore/accessibility/AXTextMarker.h
M Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.cpp
M Source/WebCore/accessibility/isolatedtree/AXIsolatedTree.cpp
M Source/WebCore/accessibility/isolatedtree/mac/AXIsolatedObjectMac.mm
Log Message:
-----------
AX: Add new AXTextMarker constructor to take in AXCoreObject
https://bugs.webkit.org/show_bug.cgi?id=281224
rdar://137677204
Reviewed by Tyler Wilcock.
As per a suggestion from Tyler Wilcock (https://github.com/WebKit/WebKit/pull/34944#discussion_r1794503510),
add a new constructor to AXTextMarker to just take an AXCoreObject and offset.
* Source/WebCore/accessibility/AXTextMarker.cpp:
(WebCore::AXTextMarker::lineIndex const):
(WebCore::AXTextMarker::findMarker const):
* Source/WebCore/accessibility/AXTextMarker.h:
(WebCore::AXTextMarker::AXTextMarker):
* Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.cpp:
(WebCore::AXIsolatedObject::doAXRangeForLine const):
(WebCore::AXIsolatedObject::doAXLineForIndex):
* Source/WebCore/accessibility/isolatedtree/AXIsolatedTree.cpp:
(WebCore::AXIsolatedTree::firstMarker):
(WebCore::AXIsolatedTree::lastMarker):
* Source/WebCore/accessibility/isolatedtree/mac/AXIsolatedObjectMac.mm:
(WebCore::AXIsolatedObject::textMarkerRange const):
Canonical link: https://commits.webkit.org/284994@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list