/// <summary> /// Return the singleton X11 display shared with Chromium. The display is not /// thread-safe and must only be accessed on the browser process UI thread. /// </summary> /// <remarks> /// See also the original CEF documentation in /// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/internal/cef_types_linux.h">cef/include/internal/cef_types_linux.h</see>. /// </remarks> public static IntPtr GetXDisplay() { CfxApi.CheckPlatformOS(CfxPlatformOS.Linux); return(CfxApi.cfx_get_xdisplay()); }
public CfxWindowInfoLinux() : base(CfxApi.WindowInfoLinux.cfx_window_info_linux_ctor, CfxApi.WindowInfoLinux.cfx_window_info_linux_dtor) { CfxApi.CheckPlatformOS(CfxPlatformOS.Linux); }
public CfxMainArgsWindows() : base(CfxApi.cfx_main_args_windows_ctor, CfxApi.cfx_main_args_windows_dtor) { CfxApi.CheckPlatformOS(CfxPlatformOS.Windows); }
public CfxWindowInfoWindows() : base(CfxApi.WindowInfoWindows.cfx_window_info_windows_ctor, CfxApi.WindowInfoWindows.cfx_window_info_windows_dtor) { CfxApi.CheckPlatformOS(CfxPlatformOS.Windows); }
public CfxMainArgsLinux() : base(CfxApi.cfx_main_args_linux_ctor, CfxApi.cfx_main_args_linux_dtor) { CfxApi.CheckPlatformOS(CfxPlatformOS.Linux); }