Page preview popover should show scaled-down web content rdar://problem/18887140
Created attachment 241062 [details] Patch
Comment on attachment 241062 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=241062&action=review > Source/WebKit2/UIProcess/mac/WKActionMenuController.mm:63 > +static const CGFloat preferredPopoverToWKViewScale = 0.75; It's not a WKView :)
Comment on attachment 241062 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=241062&action=review >> Source/WebKit2/UIProcess/mac/WKActionMenuController.mm:63 >> +static const CGFloat preferredPopoverToWKViewScale = 0.75; > > It's not a WKView :) Nor preferred :) > Source/WebKit2/UIProcess/mac/WKActionMenuController.mm:110 > + [webView setBounds:NSMakeRect(0, 0, _mainViewSize.width / preferredPopoverToWKViewScale, _mainViewSize.height / preferredPopoverToWKViewScale)]; This could probably use a comment.
Thanks! http://trac.webkit.org/changeset/175645
Build fix in http://trac.webkit.org/changeset/175649