Skip to content

Remove _UIFindInteraction staging. #47410

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

Conversation

megangardner
Copy link
Contributor

@megangardner megangardner commented Jun 30, 2025

@megangardner megangardner self-assigned this Jun 30, 2025
@megangardner megangardner added the WebKit Misc. For miscellaneous bugs in the WebKit framework (and not JavaScriptCore or WebCore). label Jun 30, 2025
Comment on lines -103 to -117
#if HAVE(UIFINDINTERACTION)

@interface _UIFindInteraction : NSObject <UIInteraction>
@end

@interface _UIFindInteraction (Staging_84486967)

- (void)presentFindNavigatorShowingReplace:(BOOL)replaceVisible;

- (void)findNext;
- (void)findPrevious;

@end

#endif // HAVE(UIFINDINTERACTION)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we'll still need this to support open source iOS builds

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can certainly not call the interface Staging anymore though! but we will need to maintain this in #else // USE(APPLE_INTERNAL_SDK)

#if HAVE(UIFINDINTERACTION)
@interface _UIFindInteraction : NSObject <UIInteraction>
- (void)presentFindNavigatorShowingReplace:(BOOL)replaceVisible;
- (void)findNext;
- (void)findPrevious;
@end
#endif

Copy link
Member

@aprotyas aprotyas Jul 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, it looks like we only use presentFindNavigatorShowingReplace in our test code, so this should suffice:

#if HAVE(UIFINDINTERACTION)
@interface _UIFindInteraction : NSObject <UIInteraction>
- (void)presentFindNavigatorShowingReplace:(BOOL)replaceVisible;
@end
#endif

Copy link
Member

@aprotyas aprotyas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r+ with the UIKitSPIForTesting suggestion!

@megangardner megangardner force-pushed the eng/Remove-_UIFindInteraction-staging branch from f27a010 to 3bf8639 Compare July 1, 2025 00:47
@megangardner megangardner added the merge-queue Applied to send a pull request to merge-queue label Jul 1, 2025
https://bugs.webkit.org/show_bug.cgi?id=295245
rdar://154711569

Reviewed by Abrar Rahman Protyasha.

Removing old staging code.

* Source/WebKit/Platform/spi/ios/UIKitSPI.h:
* Tools/TestRunnerShared/spi/UIKitSPIForTesting.h:

Canonical link: https://commits.webkit.org/296851@main
@webkit-commit-queue webkit-commit-queue force-pushed the eng/Remove-_UIFindInteraction-staging branch from 3bf8639 to f8d126a Compare July 1, 2025 06:02
@webkit-commit-queue
Copy link
Collaborator

Committed 296851@main (f8d126a): https://commits.webkit.org/296851@main

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

@webkit-commit-queue webkit-commit-queue merged commit f8d126a into WebKit:main Jul 1, 2025
@webkit-commit-queue webkit-commit-queue removed the merge-queue Applied to send a pull request to merge-queue label Jul 1, 2025
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
Development

Successfully merging this pull request may close these issues.

4 participants