Add a WKView SPI to get the window used for taking back/forward snapshots. Proposed signature of that SPI is: - (NSWindow *)_windowForTakingSnapshot; This is needed for <rdar://problem/20681226>
Created attachment 252337 [details] Patch
Comment on attachment 252337 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=252337&action=review > Source/WebKit2/UIProcess/API/mac/WKView.mm:3374 > + NSWindow *window = self._windowForTakingSnapshot; How does the windowCaptureRect = [self convertRect:unobscuredBounds toView:nil]; below deal with this?
We'll try to accomplish what we need without this change. Closing the bug.
Comment on attachment 252337 [details] Patch Clearing review flag to remove this patch from the review queue.