| Summary: | [WK2] Add support for image document viewport configuration | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Benjamin Poulain <benjamin> | ||||
| Component: | New Bugs | Assignee: | Benjamin Poulain <benjamin> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | simon.fraser | ||||
| Priority: | P2 | ||||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Benjamin Poulain
2014-02-10 16:31:35 PST
Created attachment 223768 [details]
Patch
Comment on attachment 223768 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=223768&action=review > Source/WebCore/page/ViewportConfiguration.h:87 > + static Parameters imageParameters(); I'd call these textDocumentParamters, imageDocumentParameters. > Source/WebKit2/UIProcess/API/ios/PageClientImplIOS.mm:269 > IntPoint PageClientImpl::screenToWindow(const IntPoint& point) > { > - notImplemented(); > - return IntPoint(); > + return IntPoint([m_view convertPoint:point fromView:nil]); > } > > IntRect PageClientImpl::windowToScreen(const IntRect& rect) > { > - notImplemented(); > - return IntRect(); > + return enclosingIntRect([m_view convertRect:rect toView:nil]); > } Are these changes related to the patch? Committed r163839: <http://trac.webkit.org/changeset/163839> |