Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adopt dynamicDowncast<> in WebPageIOS #22811

Conversation

annevk
Copy link
Contributor

@annevk annevk commented Jan 16, 2024

26046f7

Adopt dynamicDowncast<> in WebPageIOS
https://bugs.webkit.org/show_bug.cgi?id=267573

Reviewed by Chris Dumez.

There's a couple remaining downcast<>s without obvious alternatives.

* Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm:
(WebKit::WebPage::handleSyntheticClick):
(WebKit::WebPage::sendTapHighlightForNodeIfNecessary):
(WebKit::WebPage::commitPotentialTap):
(WebKit::WebPage::setFocusedElementValue):
(WebKit::WebPage::setFocusedElementSelectedIndex):
(WebKit::WebPage::absoluteInteractionBounds):
(WebKit::isAssistableElement):
(WebKit::imageRendererAndImage):
(WebKit::hostVideoElementIgnoringImageOverlay):
(WebKit::imagePositionInformation):
(WebKit::boundsPositionInformation):
(WebKit::selectionPositionInformation):
(WebKit::WebPage::positionInformation):
(WebKit::WebPage::performActionOnElement):
(WebKit::nextAssistableElement):
(WebKit::WebPage::focusedElementInformation):
(WebKit::WebPage::autofillLoginCredentials):
(WebKit::WebPage::removeTextPlaceholder):
(WebKit::WebPage::requestDocumentEditingContext):

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

70988e2

Misc iOS, tvOS & watchOS macOS Linux Windows
βœ… πŸ§ͺ style βœ… πŸ›  ios βœ… πŸ›  mac βœ… πŸ›  wpe βœ… πŸ›  wincairo
βœ… πŸ›  ios-sim βœ… πŸ›  mac-AS-debug βœ… πŸ§ͺ wpe-wk2
βœ… πŸ§ͺ webkitperl βœ… πŸ§ͺ ios-wk2 βœ… πŸ§ͺ api-mac βœ… πŸ§ͺ api-wpe
βœ… πŸ§ͺ ios-wk2-wpt βœ… πŸ›  gtk
βœ… πŸ§ͺ api-ios βœ… πŸ§ͺ mac-wk2 βœ… πŸ§ͺ gtk-wk2
βœ… πŸ›  tv βœ… πŸ§ͺ mac-AS-debug-wk2 βœ… πŸ§ͺ api-gtk
βœ… πŸ›  tv-sim
βœ… πŸ›  πŸ§ͺ merge βœ… πŸ›  watch
βœ… πŸ›  watch-sim

@annevk annevk self-assigned this Jan 16, 2024
@annevk annevk added the WebKit Misc. For miscellaneous bugs in the WebKit framework (and not JavaScriptCore or WebCore). label Jan 16, 2024
@webkit-early-warning-system

This comment was marked as outdated.

@webkit-ews-buildbot webkit-ews-buildbot added the merging-blocked Applied to prevent a change from being merged label Jan 16, 2024
@annevk annevk added skip-ews Applied to prevent a change from being run on EWS and removed merging-blocked Applied to prevent a change from being merged skip-ews Applied to prevent a change from being run on EWS labels Jan 16, 2024
@annevk annevk force-pushed the eng/Adopt-dynamicDowncast-in-WebPageIOS branch from b69560e to 70988e2 Compare January 16, 2024 12:39
@webkit-early-warning-system

This comment was marked as duplicate.

@annevk annevk marked this pull request as ready for review January 16, 2024 14:25
@annevk annevk requested a review from cdumez as a code owner January 16, 2024 14:25
@annevk annevk added the merge-queue Applied to send a pull request to merge-queue label Jan 16, 2024
https://bugs.webkit.org/show_bug.cgi?id=267573

Reviewed by Chris Dumez.

There's a couple remaining downcast<>s without obvious alternatives.

* Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm:
(WebKit::WebPage::handleSyntheticClick):
(WebKit::WebPage::sendTapHighlightForNodeIfNecessary):
(WebKit::WebPage::commitPotentialTap):
(WebKit::WebPage::setFocusedElementValue):
(WebKit::WebPage::setFocusedElementSelectedIndex):
(WebKit::WebPage::absoluteInteractionBounds):
(WebKit::isAssistableElement):
(WebKit::imageRendererAndImage):
(WebKit::hostVideoElementIgnoringImageOverlay):
(WebKit::imagePositionInformation):
(WebKit::boundsPositionInformation):
(WebKit::selectionPositionInformation):
(WebKit::WebPage::positionInformation):
(WebKit::WebPage::performActionOnElement):
(WebKit::nextAssistableElement):
(WebKit::WebPage::focusedElementInformation):
(WebKit::WebPage::autofillLoginCredentials):
(WebKit::WebPage::removeTextPlaceholder):
(WebKit::WebPage::requestDocumentEditingContext):

Canonical link: https://commits.webkit.org/273088@main
@webkit-commit-queue webkit-commit-queue force-pushed the eng/Adopt-dynamicDowncast-in-WebPageIOS branch from 70988e2 to 26046f7 Compare January 16, 2024 20:19
@webkit-commit-queue
Copy link
Collaborator

Committed 273088@main (26046f7): https://commits.webkit.org/273088@main

Reviewed commits have been landed. Closing PR #22811 and removing active labels.

@webkit-commit-queue webkit-commit-queue merged commit 26046f7 into WebKit:main Jan 16, 2024
@webkit-commit-queue webkit-commit-queue removed the merge-queue Applied to send a pull request to merge-queue label Jan 16, 2024
@annevk annevk deleted the eng/Adopt-dynamicDowncast-in-WebPageIOS branch January 16, 2024 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WebKit Misc. For miscellaneous bugs in the WebKit framework (and not JavaScriptCore or WebCore).
Projects
None yet
5 participants