| Summary: | Refactor share menu item presentation | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Kate Cheney <katherine_cheney> | ||||||
| Component: | New Bugs | Assignee: | Kate Cheney <katherine_cheney> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | akeerthi, hi, megan_gardner, thorton, wenson_hsieh | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Kate Cheney
2022-02-17 14:46:32 PST
Created attachment 452436 [details]
Patch
Comment on attachment 452436 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=452436&action=review > Source/WebCore/PAL/pal/spi/mac/NSSharingServicePickerSPI.h:31 > +@interface NSSharingServicePicker (Internal) Nit: "Staging" is a more accurate name for the category. > Source/WebCore/PAL/pal/spi/mac/NSSharingServicePickerSPI.h:-44 > -- (void)getMenuWithCompletion:(void(^)(NSMenu *))completion; I think this deletion will cause open source builds to fail, `getMenuWithCompletion:` is still used in `WebContextMenuProxyMac`. Comment on attachment 452436 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=452436&action=review > Source/WebCore/PAL/pal/spi/mac/NSSharingServicePickerSPI.h:32 > +- (NSMenuItem *)standardShareMenuItem; Staging_rdarNumber to be specific Comment on attachment 452436 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=452436&action=review thanks for the review! >> Source/WebCore/PAL/pal/spi/mac/NSSharingServicePickerSPI.h:32 >> +- (NSMenuItem *)standardShareMenuItem; > > Staging_rdarNumber to be specific will fix! >> Source/WebCore/PAL/pal/spi/mac/NSSharingServicePickerSPI.h:-44 >> -- (void)getMenuWithCompletion:(void(^)(NSMenu *))completion; > > I think this deletion will cause open source builds to fail, `getMenuWithCompletion:` is still used in `WebContextMenuProxyMac`. Ah you're right, this is leftover from a previous iteration. Created attachment 452442 [details]
Patch
Committed r290103 (247449@main): <https://commits.webkit.org/247449@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 452442 [details]. |