Bug 130476 - Expose text and page zoom in WK2 SPI, and hook them up in MiniBrowser
Summary: Expose text and page zoom in WK2 SPI, and hook them up in MiniBrowser
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-19 14:26 PDT by Simon Fraser (smfr)
Modified: 2014-03-19 16:45 PDT (History)
4 users (show)

See Also:


Attachments
Patch (8.36 KB, patch)
2014-03-19 14:28 PDT, Simon Fraser (smfr)
andersca: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2014-03-19 14:26:51 PDT
Expose text and page zoom in WK2 SPI, and hook them up in MiniBrowser
Comment 1 Simon Fraser (smfr) 2014-03-19 14:28:59 PDT
Created attachment 227217 [details]
Patch
Comment 2 WebKit Commit Bot 2014-03-19 14:30:55 PDT
Attachment 227217 [details] did not pass style-queue:


ERROR: Source/WebKit2/UIProcess/API/Cocoa/WKWebViewPrivate.h:111:  Missing spaces around =  [whitespace/operators] [4]
ERROR: Source/WebKit2/UIProcess/API/Cocoa/WKWebViewPrivate.h:112:  Missing spaces around =  [whitespace/operators] [4]
Total errors found: 2 in 5 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Anders Carlsson 2014-03-19 15:05:56 PDT
Comment on attachment 227217 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=227217&action=review

> Tools/MiniBrowser/mac/WK2BrowserWindowController.m:247
> +    return [self currentZoomFactor] * DefaultZoomFactorRatio < DefaultMaximumZoomFactor;

dot syntax.

> Tools/MiniBrowser/mac/WK2BrowserWindowController.m:261
> +    return [self currentZoomFactor] / DefaultZoomFactorRatio > DefaultMinimumZoomFactor;

dot syntax.
Comment 4 Simon Fraser (smfr) 2014-03-19 16:45:21 PDT
https://trac.webkit.org/r165930