Bug 130363

Summary: Add transparent window support back into MiniBrowser
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: New BugsAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, commit-queue, mitz, simon.fraser, thorton
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch andersca: review+

Simon Fraser (smfr)
Reported 2014-03-17 14:53:00 PDT
Add transparent window support back into MiniBrowser
Attachments
Patch (5.00 KB, patch)
2014-03-17 14:53 PDT, Simon Fraser (smfr)
andersca: review+
Simon Fraser (smfr)
Comment 1 2014-03-17 14:53:28 PDT
WebKit Commit Bot
Comment 2 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.
Tim Horton
Comment 3 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 =
Anders Carlsson
Comment 4 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.
Tim Horton
Comment 5 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 )
Tim Horton
Comment 6 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.
Tim Horton
Comment 7 2014-03-18 23:49:23 PDT
Note You need to log in before you can comment on or make changes to this bug.