CEF Now provides support for integrating into an existing message loop.
Resolved with 63ef6be
Breaking Change:Cef.OnContextInitialized
has been removed and is now part of the IBrowserProcessHandler
interface.
Notes:
setting.MultiThreadedMessageLoop = false;
setting.ExternalMessagePump= true;
IBrowserProcessHandler.OnScheduleMessagePumpWork
you should refer to the CEF
reference implementation for ideas see https://bitbucket.org/chromiumembedded/cef/commits/1ff26aa02a656b3bc9f0712591c92849c5909e04?at=2785Background:
The default is to use MultiThreadedMessageLoop
, this provides excellent performance though has it's own problems in the message loop is run in a different thread to your main application. This makes it difficult for messages to be passed, like when you display the context menu, click on your app title bar, there menu will stay shown as the message loops aren't aware of the message triggered by clicking the title bar.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4