wxwidgets/include/wx/private
Vadim Zeitlin d3cc4678d5 Add entry hook mechanism and use it for Chromium helper processes
At least when using wxGTK Chromium helper process can't be executed once
GTK is initialized because doing this creates background threads and
Chromium code aborts if there are any threads running.

As we don't want to initialize CEF unconditionally before initializing
GTK in all applications (even those not using CEF), the only solution is
to detect if we need to run a Chromium helper process ourselves before
GTK initialization, i.e. before wxApp creation, which means that it
can't be done via the existing wxModule mechanism because modules are
initialized after creating the global application instance.

So add a way to hijack wxWidgets initialization entirely if some special
command line option (such as Chromium "--type=xxx") is specified and use
it in wxWebViewChromium to call CefExecuteProcess() before initializing
GTK or even wxWidgets itself -- as it won't be needed in a CEF helper
process anyhow.
2023-09-06 03:50:05 +02:00
..
addremovectrl.h Use nullptr instead of NULL in the code and documentation 2022-10-18 01:25:25 +02:00
animate.h Make wxAnimationImpl private and get rid of wxAnimationImplType 2020-04-06 01:00:15 +02:00
bmpbndl.h Remove NSImage from public API of wxBitmapBundleImpl 2021-10-21 01:21:46 +02:00
display.h Add wxDisplay::GetFromRect() 2023-05-08 22:47:04 +01:00
eventloopsourcesmanager.h
extfield.h Use nullptr instead of NULL in the code and documentation 2022-10-18 01:25:25 +02:00
fd.h
fdiodispatcher.h Use std::unordered_map<> in wxMappedFDIODispatcher 2023-04-18 00:54:12 +02:00
fdioeventloopsourcehandler.h Replace wxOVERRIDE and wxNOEXCEPT with override and noexcept 2022-10-15 18:10:45 +02:00
fdiohandler.h
fdiomanager.h Remove support for wxMotif 2022-10-16 16:39:56 +02:00
fileback.h Use nullptr instead of NULL in the code and documentation 2022-10-18 01:25:25 +02:00
filedlgcustomize.h fix compilation errors for wxFileDialog when wxUSE_RADIOBTN is off 2023-06-23 02:50:37 +09:00
filename.h Use nullptr instead of NULL in the code and documentation 2022-10-18 01:25:25 +02:00
flagscheck.h
fontmgr.h Use nullptr instead of NULL in the code and documentation 2022-10-18 01:25:25 +02:00
fswatcher.h Use std::unordered_map<> in wxFileSystemWatcher code 2023-04-18 00:54:12 +02:00
glibc.h Add wxCHECK_GLIBC_VERSION() and cleanup glibc version checks 2022-06-23 19:01:18 +02:00
graphics.h Use nullptr instead of NULL in the code and documentation 2022-10-18 01:25:25 +02:00
hyperlink.h Move wxGenericHyperlinkCtrl GetLinkColour() to a private header 2023-06-01 17:00:13 +01:00
icondir.h Minor whitespace/style fixes 2017-05-20 17:01:58 +02:00
init.h Add entry hook mechanism and use it for Chromium helper processes 2023-09-06 03:50:05 +02:00
json.h Fix mixed line breaks in webview sources 2021-02-08 11:27:49 +01:00
jsscriptwrapper.h Improve wxJSScriptWrapper performance 2022-09-09 18:01:44 +02:00
launchbrowser.h
localeset.h Generalize wxOSX locale workaround to all ports under Darwin 2023-04-24 22:51:17 +02:00
markupparser.h
markupparserattr.h Use nullptr instead of NULL in the code and documentation 2022-10-18 01:25:25 +02:00
menuradio.h Extract wxMenuRadioItemsData to a separate file 2017-08-13 00:36:37 +02:00
notifmsg.h Fix deleting taskbar icon in wxMSW wxNotificationMessage 2023-04-12 16:44:11 +02:00
overlay.h Add native wxOverlay implementation for wxMSW 2023-02-14 18:48:47 +00:00
pipestream.h
preferences.h
refcountermt.h Use atomic int for reference count in wxWebRequest classes 2021-01-11 01:24:55 +01:00
rescale.h Fix comment typos in sources 2021-10-03 17:07:44 +02:00
richtooltip.h Use nullptr instead of NULL in the code and documentation 2022-10-18 01:25:25 +02:00
sckaddr.h Use nullptr instead of NULL in the code and documentation 2022-10-18 01:25:25 +02:00
secretstore.h Replace wxOVERRIDE and wxNOEXCEPT with override and noexcept 2022-10-15 18:10:45 +02:00
selectdispatcher.h Replace wxOVERRIDE and wxNOEXCEPT with override and noexcept 2022-10-15 18:10:45 +02:00
socket.h Use nullptr instead of NULL in the code and documentation 2022-10-18 01:25:25 +02:00
spinctrl.h Make DetermineDigits() reusable in other ports 2021-04-25 20:14:46 +01:00
streamtempinput.h Use nullptr instead of NULL in the code and documentation 2022-10-18 01:25:25 +02:00
textmeasure.h Use nullptr instead of NULL in the code and documentation 2022-10-18 01:25:25 +02:00
timer.h
tlwgeom.h Remove wxGTK1 port and GPE support 2022-10-16 22:01:02 +02:00
uiaction.h Virtualize wxUIActionSimulator implementation 2016-05-23 03:00:49 +02:00
uilocale.h Add wxUILocale methods for getting month and day names 2023-05-31 18:53:45 +02:00
unicode.h Add wx/private/unicode.h 2020-10-07 15:18:17 +03:00
webrequest.h Fix wxWebResponse::GetMimeType() always returning empty string 2023-04-20 15:15:54 +02:00
webrequest_curl.h Use std::unordered_map<> in private wxWebRequest headers 2023-04-18 00:54:12 +02:00
webview.h Add wxWebViewConfiguration::SetDataPath() 2023-03-17 09:29:46 +01:00
window.h Always use wxDynamicLibrary in wxMSW and remove checks for it 2022-12-04 02:12:22 +00:00
wxprintf.h Remove wxUSE_UNICODE checks as they're always true now 2022-10-27 19:43:30 +02:00