X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=dependencies64%2Fcef%2Flinux%2Finclude%2Fcef_app.h;fp=dependencies64%2Fcef%2Finclude%2Fcef_app.h;h=5aca29b30ebf145b991d96ff095f59ef7f9a5739;hb=8128744e46d808a1105fb449365d7028df8c32b4;hp=bac62281253aa1687b9cfad3e4209e72f5289e21;hpb=3a0dc241f598cabf83bcc67970176453929a73f1;p=casparcg diff --git a/dependencies64/cef/include/cef_app.h b/dependencies64/cef/linux/include/cef_app.h similarity index 86% rename from dependencies64/cef/include/cef_app.h rename to dependencies64/cef/linux/include/cef_app.h index bac622812..5aca29b30 100644 --- a/dependencies64/cef/include/cef_app.h +++ b/dependencies64/cef/linux/include/cef_app.h @@ -89,11 +89,17 @@ void CefShutdown(); /// // Perform a single iteration of CEF message loop processing. This function is -// used to integrate the CEF message loop into an existing application message -// loop. Care must be taken to balance performance against excessive CPU usage. -// This function should only be called on the main application thread and only -// if CefInitialize() is called with a CefSettings.multi_threaded_message_loop -// value of false. This function will not block. +// provided for cases where the CEF message loop must be integrated into an +// existing application message loop. Use of this function is not recommended +// for most users; use either the CefRunMessageLoop() function or +// CefSettings.multi_threaded_message_loop if possible. When using this function +// care must be taken to balance performance against excessive CPU usage. It is +// recommended to enable the CefSettings.external_message_pump option when using +// this function so that CefBrowserProcessHandler::OnScheduleMessagePumpWork() +// callbacks can facilitate the scheduling process. This function should only be +// called on the main application thread and only if CefInitialize() is called +// with a CefSettings.multi_threaded_message_loop value of false. This function +// will not block. /// /*--cef()--*/ void CefDoMessageLoopWork(); @@ -124,12 +130,20 @@ void CefQuitMessageLoop(); /*--cef()--*/ void CefSetOSModalLoop(bool osModalLoop); +/// +// Call during process startup to enable High-DPI support on Windows 7 or newer. +// Older versions of Windows should be left DPI-unaware because they do not +// support DirectWrite and GDI fonts are kerned very badly. +/// +/*--cef(capi_name=cef_enable_highdpi_support)--*/ +void CefEnableHighDPISupport(); + /// // Implement this interface to provide handler implementations. Methods will be // called by the process and/or thread indicated. /// /*--cef(source=client,no_debugct_check)--*/ -class CefApp : public virtual CefBase { +class CefApp : public virtual CefBaseRefCounted { public: /// // Provides an opportunity to view and/or modify command-line arguments before @@ -156,7 +170,7 @@ class CefApp : public virtual CefBase { /// /*--cef()--*/ virtual void OnRegisterCustomSchemes( - CefRefPtr registrar) { + CefRawPtr registrar) { } ///