Bug 130363 - Add transparent window support back into MiniBrowser
Summary: Add transparent window support back into 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-17 14:53 PDT by Simon Fraser (smfr)
Modified: 2014-03-18 23:49 PDT (History)
5 users (show)

See Also:


Attachments
Patch (5.00 KB, patch)
2014-03-17 14:53 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-17 14:53:00 PDT
Add transparent window support back into MiniBrowser
Comment 1 Simon Fraser (smfr) 2014-03-17 14:53:28 PDT
Created attachment 226968 [details]
Patch
Comment 2 WebKit Commit Bot 2014-03-17 14:54:39 PDT
Attachment 226968 [details] did not pass style-queue:


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


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Tim Horton 2014-03-17 16:43:54 PDT
Comment on attachment 226968 [details]
Patch

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

> Source/WebKit2/UIProcess/API/Cocoa/WKWebViewPrivate.h:84
> +@property (nonatomic, setter=_setDrawsTransparentBackground:)BOOL _drawsTransparentBackground;

spaces around =
Comment 4 Anders Carlsson 2014-03-17 16:43:58 PDT
Comment on attachment 226968 [details]
Patch

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

> Tools/MiniBrowser/mac/WK2BrowserWindowController.m:257
> +    [[self window] setOpaque:!isTransparent];
> +    [[self window] setHasShadow:!isTransparent];

I think you should use dot notation here.
Comment 5 Tim Horton 2014-03-17 16:44:29 PDT
Comment on attachment 226968 [details]
Patch

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

>> Source/WebKit2/UIProcess/API/Cocoa/WKWebViewPrivate.h:84
>> +@property (nonatomic, setter=_setDrawsTransparentBackground:)BOOL _drawsTransparentBackground;
> 
> spaces around =

and after the )
Comment 6 Tim Horton 2014-03-17 16:45:08 PDT
Comment on attachment 226968 [details]
Patch

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

> Tools/MiniBrowser/mac/WK2BrowserWindowController.m:34
> +#import <WebKit2/WKWebViewPrivate.h>
>  #import <WebKit2/WKNavigationDelegate.h>

This doesn't look sorted right.
Comment 7 Tim Horton 2014-03-18 23:49:23 PDT
I think this landed in http://trac.webkit.org/changeset/165775 and http://trac.webkit.org/changeset/165776