Bug 163627

Summary: Add a MiniBrowser menu item to apply page scale in WK1 and WK2
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: New BugsAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, simon.fraser, thorton
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch dino: review+

Description Simon Fraser (smfr) 2016-10-18 15:37:10 PDT
Add a MiniBrowser menu item to apply page scale in WK1 and WK2
Comment 1 Simon Fraser (smfr) 2016-10-18 15:38:32 PDT
Created attachment 291994 [details]
Patch
Comment 2 WebKit Commit Bot 2016-10-18 15:40:51 PDT
Attachment 291994 [details] did not pass style-queue:


ERROR: Source/WebKit/mac/WebView/WebViewPrivate.h:0:  Use #pragma once header guard.  [build/header_guard] [5]
ERROR: Tools/MiniBrowser/mac/BrowserWindowController.h:0:  Use #pragma once header guard.  [build/header_guard] [5]
ERROR: Source/WebKit2/UIProcess/API/Cocoa/WKWebViewPrivate.h:0:  Use #pragma once header guard.  [build/header_guard] [5]
Total errors found: 3 in 11 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Simon Fraser (smfr) 2016-10-18 16:53:13 PDT
Created attachment 292004 [details]
Patch
Comment 4 WebKit Commit Bot 2016-10-18 16:54:35 PDT
Attachment 292004 [details] did not pass style-queue:


ERROR: Source/WebKit/mac/WebView/WebViewPrivate.h:0:  Use #pragma once header guard.  [build/header_guard] [5]
ERROR: Tools/MiniBrowser/mac/BrowserWindowController.h:0:  Use #pragma once header guard.  [build/header_guard] [5]
ERROR: Source/WebKit2/UIProcess/API/Cocoa/WKWebViewPrivate.h:0:  Use #pragma once header guard.  [build/header_guard] [5]
Total errors found: 3 in 11 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 5 Dean Jackson 2016-10-18 18:01:56 PDT
Comment on attachment 292004 [details]
Patch

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

> Tools/MiniBrowser/mac/BrowserWindowController.m:170
> +    if (tag == 1)
> +        return 1;
> +    if (tag == 2)
> +        return 1.25;
> +    if (tag == 3)
> +        return 1.5;
> +    if (tag == 4)
> +        return 2.0;
> +

Nothing < 1?
Comment 6 Simon Fraser (smfr) 2016-10-18 18:06:54 PDT
https://trac.webkit.org/changeset/207512