[webkit-changes] [WebKit/WebKit] 4d5f1b: AX: Move TextMarker Mac AX API constants to wrappe...

AndresGonzalezApple noreply at github.com
Wed Mar 1 05:15:34 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4d5f1bc6733015553ddb15e19a29b80c44cd775b
      https://github.com/WebKit/WebKit/commit/4d5f1bc6733015553ddb15e19a29b80c44cd775b
  Author: Andres Gonzalez <andresg_22 at apple.com>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M Source/WebCore/accessibility/mac/AXObjectCacheMac.mm
    M Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.h
    M Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm

  Log Message:
  -----------
  AX: Move TextMarker Mac AX API constants to wrapper header.
https://bugs.webkit.org/show_bug.cgi?id=253081
<rdar://problem/106034872>

Reviewed by Chris Fleizach.

Most of these constants are hardcoded and scattered through the wrapper code. This patch unifies all the constant declarations in a section of the wrapper header file.

* Source/WebCore/accessibility/mac/AXObjectCacheMac.mm:
(WebCore::AXObjectCache::postTextStateChangePlatformNotification):
* Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.h:
* Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
(-[WebAccessibilityObjectWrapper ALLOW_DEPRECATED_IMPLEMENTATIONS_END]):
(-[WebAccessibilityObjectWrapper accessibilityAttributeValue:]):
(-[WebAccessibilityObjectWrapper accessibilityIsAttributeSettable:]):
(-[WebAccessibilityObjectWrapper _accessibilitySetValue:forAttribute:]):
(-[WebAccessibilityObjectWrapper accessibilityAttributeValue:forParameter:]):

Canonical link: https://commits.webkit.org/260999@main




More information about the webkit-changes mailing list