I'm trying to create a mac app that's full screen on all monitors. Tried two main ways:
Method 1:
- Set the app to NSBorderlessWindowMask or NSFullScreenWindowMask
Problem: the windows don't close when calling CefBrowserHost::CloseBrowser()
Bug report: https://bitbucket.org/chromiumembedded/ ... dont-close
Method 2:
- Subclass NSWindow or UnderlayOpenGLHostingWindow, override constrainFrameRect, and resize the window so the content fills the screen
Problem: the windows close, but their render processes don't shut down and CefLifeSpanHandler::OnBeforeClose() never gets called
Bug report: https://bitbucket.org/chromiumembedded/ ... reclose-is
OS: Mac OSX 10.11.6
CEF: 3.2840.1517.gd7afec5 (also happens on older branches)
Compiler: Apple LLVM 8.0
Does anyone have experience doing this and can offer any insight or know of a better way to do it?
Thanks!