Expose text and page zoom in WK2 SPI, and hook them up in MiniBrowser
Created attachment 227217 [details] Patch
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 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.
https://trac.webkit.org/r165930