RESOLVED FIXED 125427
[Cocoa] Remove knowledge of the WKView from the WebFullScreenManagerProxy by adding a proper client
https://bugs.webkit.org/show_bug.cgi?id=125427
Summary [Cocoa] Remove knowledge of the WKView from the WebFullScreenManagerProxy by ...
Sam Weinig
Reported 2013-12-08 13:47:07 PST
[Cocoa] Remove knowledge of the WKView from the WebFullScreenManagerProxy by adding a proper client
Attachments
Patch (37.59 KB, patch)
2013-12-08 13:50 PST, Sam Weinig
no flags
Patch (26.73 KB, patch)
2013-12-08 15:11 PST, Sam Weinig
mitz: review+
eflews.bot: commit-queue-
Sam Weinig
Comment 1 2013-12-08 13:50:46 PST
WebKit Commit Bot
Comment 2 2013-12-08 13:53:15 PST
Attachment 218714 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebKit2/ChangeLog', u'Source/WebKit2/UIProcess/API/Cocoa/WKViewPrivate.h', u'Source/WebKit2/UIProcess/API/mac/PageClientImpl.h', u'Source/WebKit2/UIProcess/API/mac/PageClientImpl.mm', u'Source/WebKit2/UIProcess/API/mac/WKView+FullScreen.h', u'Source/WebKit2/UIProcess/API/mac/WKView+FullScreen.mm', u'Source/WebKit2/UIProcess/API/mac/WKView.mm', u'Source/WebKit2/UIProcess/API/mac/WKViewInternal.h', u'Source/WebKit2/UIProcess/PageClient.h', u'Source/WebKit2/UIProcess/WebFullScreenManagerProxy.cpp', u'Source/WebKit2/UIProcess/WebFullScreenManagerProxy.h', u'Source/WebKit2/UIProcess/WebPageProxy.cpp', u'Source/WebKit2/UIProcess/mac/WKFullScreenWindowController.mm', u'Source/WebKit2/UIProcess/mac/WebFullScreenManagerProxyMac.mm', u'Source/WebKit2/WebKit2.xcodeproj/project.pbxproj', '--commit-queue']" exit_code: 1 ERROR: Source/WebKit2/UIProcess/API/mac/WKViewInternal.h:53: Place brace on its own line for function definitions. [whitespace/braces] [4] Total errors found: 1 in 13 files If any of these errors are false positives, please file a bug against check-webkit-style.
EFL EWS Bot
Comment 3 2013-12-08 13:56:23 PST
Sam Weinig
Comment 4 2013-12-08 15:11:23 PST
EFL EWS Bot
Comment 5 2013-12-08 15:16:31 PST
mitz
Comment 6 2013-12-08 15:22:31 PST
Comment on attachment 218716 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=218716&action=review > Source/WebKit2/UIProcess/API/mac/PageClientImpl.mm:567 > +#endif > + > +#if ENABLE(FULLSCREEN_API) This is unnecessary > Source/WebKit2/UIProcess/API/mac/PageClientImpl.mm:580 > + if (!m_wkView.hasFullScreenWindowController) > + return false; > + Is this part necessary? > Source/WebKit2/UIProcess/API/mac/PageClientImpl.mm:603 > +#endif This #endif could use a newline before it and a comment after it. > Source/WebKit2/UIProcess/API/mac/WKViewInternal.h:98 > +@property (readonly) BOOL hasFullScreenWindowController; > +@property (readonly) WKFullScreenWindowController *fullScreenWindowController; > +- (void)closeFullScreenWindowController; As internal methods and properties, these should probably be prefixed with an underscore.
Build Bot
Comment 7 2013-12-08 15:52:26 PST
Sam Weinig
Comment 8 2013-12-08 20:08:06 PST
Note You need to log in before you can comment on or make changes to this bug.