Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 89801b35ee043e7e168adc2c19bb5d14704a7910
      
https://github.com/WebKit/WebKit/commit/89801b35ee043e7e168adc2c19bb5d14704a7910
  Author: Dominic Mazzoni <[email protected]>
  Date:   2025-08-09 (Sat, 09 Aug 2025)

  Changed paths:
    M Source/WebCore/accessibility/AXObjectCache.cpp
    M Source/WebCore/accessibility/AXObjectCache.h
    M Source/WebCore/dom/Document.cpp
    M Source/WebCore/editing/Editor.cpp
    M Source/WebCore/html/HTMLOptionElement.cpp
    M Source/WebCore/html/HTMLTextFormControlElement.cpp
    M Source/WebCore/page/EventHandler.cpp
    M Source/WebCore/page/FocusController.cpp
    M Source/WebCore/page/LocalFrameView.cpp
    M Source/WebCore/rendering/RenderMenuList.cpp

  Log Message:
  -----------
  AX: move AXObjectCache::postNotification code inside the accessibility 
directory
https://bugs.webkit.org/show_bug.cgi?id=297150
rdar://157888495

Reviewed by Tyler Wilcock.

Knowing which accessibility notification to fire is logic that belongs
in the accessibility module. Let's take the small amount of code that
posts a notification from somewhere else in WebCore, and change it to
call a specific, narrow function on AXObjectCache, and let
AXObjectCache post the notification.

As a follow-up, we'll be able to reduce the number of accessibility
files that much of the codebase needs to import.

* Source/WebCore/accessibility/AXObjectCache.cpp:
(WebCore::AXObjectCache::onDraggingStarted):
(WebCore::AXObjectCache::onDraggingEnded):
(WebCore::AXObjectCache::onDraggingEnteredDropZone):
(WebCore::AXObjectCache::onDraggingExitedDropZone):
(WebCore::AXObjectCache::onDraggingDropped):
(WebCore::AXObjectCache::onTopDocumentLoaded):
(WebCore::AXObjectCache::onNonTopDocumentLoaded):
(WebCore::AXObjectCache::onAutocorrectionOccured):
(WebCore::AXObjectCache::onEditableTextValueChanged):
(WebCore::AXObjectCache::onDocumentInitialFocus):
(WebCore::AXObjectCache::onLayoutComplete):
(WebCore::AXObjectCache::onSelectedOptionChanged):
(WebCore::AXObjectCache::handleAttributeChange):
(WebCore::AXObjectCache::onSelectedChanged): Deleted.
* Source/WebCore/accessibility/AXObjectCache.h:
* Source/WebCore/dom/Document.cpp:
(WebCore::Document::implicitClose):
* Source/WebCore/editing/Editor.cpp:
(WebCore::Editor::respondToChangedContents):
(WebCore::Editor::markAndReplaceFor):
* Source/WebCore/html/HTMLOptionElement.cpp:
(WebCore::HTMLOptionElement::setSelectedState):
* Source/WebCore/html/HTMLTextFormControlElement.cpp:
(WebCore::HTMLTextFormControlElement::setInnerTextValue):
* Source/WebCore/page/EventHandler.cpp:
(WebCore::EventHandler::dispatchDragEvent):
* Source/WebCore/page/FocusController.cpp:
(WebCore::FocusController::setInitialFocus):
* Source/WebCore/page/LocalFrameView.cpp:
(WebCore::LocalFrameView::didLayout):
* Source/WebCore/rendering/RenderMenuList.cpp:
(RenderMenuList::didUpdateActiveOption):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to