forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure View subclasses call View::NotifyAccessibilityEvent
Currently, ViewAccessibility::NotifyAccessibilityEvent gets called by some view components. See earlier patchsets. This method was put into place with the assumption that ViewAccessibility has a subclass that would handle the real dispatch. This is true for some platforms e.g. with AXPlatformNodeDelegate(s), but it isn't true on Chrome OS. It also misses the call to View::OnAccessibilityEvent within View::NotifyAccessibilityEvent which a views View can override. Fix by making this method private/renaming to *Internal and only allowing the call from View::NotifyAccessibilityEvent. Change-Id: I50493f5d77fe8ed3ba422681f263a0ca703fae7c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3198376 Commit-Queue: David Tseng <dtseng@chromium.org> Reviewed-by: James Cook <jamescook@chromium.org> Cr-Commit-Position: refs/heads/main@{#927107}
- Loading branch information
1 parent
d7384e2
commit c952d4e
Showing
4 changed files
with
9 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters