-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Remove _UIFindInteraction staging. #47410
Conversation
EWS run on previous version of this PR (hash f27a010) |
#if HAVE(UIFINDINTERACTION) | ||
|
||
@interface _UIFindInteraction : NSObject <UIInteraction> | ||
@end | ||
|
||
@interface _UIFindInteraction (Staging_84486967) | ||
|
||
- (void)presentFindNavigatorShowingReplace:(BOOL)replaceVisible; | ||
|
||
- (void)findNext; | ||
- (void)findPrevious; | ||
|
||
@end | ||
|
||
#endif // HAVE(UIFINDINTERACTION) |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
There was a problem hiding this 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!
f27a010
to
3bf8639
Compare
EWS run on current version of this PR (hash 3bf8639) |
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
3bf8639
to
f8d126a
Compare
Committed 296851@main (f8d126a): https://commits.webkit.org/296851@main Reviewed commits have been landed. Closing PR #47410 and removing active labels. |
f8d126a
3bf8639