Chromium Embedded Framework (CEF)
131.2.1+ge081753+chromium-131.0.6778.13
|
Class representing window information. More...
#include "include/internal/cef_types_win.h"
Public Attributes | |
cef_string_t | window_name |
The initial title of the window, to be set when the window is created. More... | |
cef_rect_t | bounds |
Initial window bounds. More... | |
cef_window_handle_t | parent_window |
Pointer for the parent window. More... | |
int | windowless_rendering_enabled |
Set to true (1) to create the browser using windowless (off-screen) rendering. More... | |
int | shared_texture_enabled |
Set to true (1) to enable shared textures for windowless rendering. More... | |
int | external_begin_frame_enabled |
Set to true (1) to enable the ability to issue BeginFrame requests from the client application by calling CefBrowserHost::SendExternalBeginFrame. More... | |
cef_window_handle_t | window |
Pointer for the new browser window. More... | |
cef_runtime_style_t | runtime_style |
Optionally change the runtime style. More... | |
int | hidden |
Set to true (1) to create the view initially hidden. More... | |
cef_window_handle_t | parent_view |
NSView pointer for the parent view. More... | |
cef_window_handle_t | view |
NSView pointer for the new browser view. More... | |
DWORD | ex_style |
DWORD | style |
HMENU | menu |
Class representing window information.
Structure representing window information.
cef_rect_t cef_window_info_t::bounds |
Initial window bounds.
DWORD cef_window_info_t::ex_style |
int cef_window_info_t::external_begin_frame_enabled |
Set to true (1) to enable the ability to issue BeginFrame requests from the client application by calling CefBrowserHost::SendExternalBeginFrame.
Set to true (1) to enable the ability to issue BeginFrame from the client application.
int cef_window_info_t::hidden |
Set to true (1) to create the view initially hidden.
HMENU cef_window_info_t::menu |
cef_window_handle_t cef_window_info_t::parent_view |
NSView pointer for the parent view.
cef_window_handle_t cef_window_info_t::parent_window |
Pointer for the parent window.
cef_runtime_style_t cef_window_info_t::runtime_style |
Optionally change the runtime style.
Alloy style will always be used if |windowless_rendering_enabled| is true. See cef_runtime_style_t documentation for details.
Alloy style will always be used if |windowless_rendering_enabled| is true or if |parent_view| is provided. See cef_runtime_style_t documentation for details.
int cef_window_info_t::shared_texture_enabled |
Set to true (1) to enable shared textures for windowless rendering.
Only valid if windowless_rendering_enabled above is also set to true. Currently only supported on Windows (D3D11).
DWORD cef_window_info_t::style |
cef_window_handle_t cef_window_info_t::view |
NSView pointer for the new browser view.
Only used with windowed rendering.
cef_window_handle_t cef_window_info_t::window |
Pointer for the new browser window.
Handle for the new browser window.
Only used with windowed rendering.
cef_string_t cef_window_info_t::window_name |
The initial title of the window, to be set when the window is created.
Some layout managers (e.g., Compiz) can look at the window title in order to decide where to place the window when it is created. When this attribute is not empty, the window title will be set before the window is mapped to the dispay. Otherwise the title will be initially empty.
int cef_window_info_t::windowless_rendering_enabled |
Set to true (1) to create the browser using windowless (off-screen) rendering.
No window will be created for the browser and all rendering will occur via the CefRenderHandler interface. The |parent_window| value will be used to identify monitor info and to act as the parent window for dialogs, context menus, etc. If |parent_window| is not provided then the main screen monitor will be used and some functionality that requires a parent window may not function correctly. In order to create windowless browsers the CefSettings.windowless_rendering_enabled value must be set to true. Transparent painting is enabled by default but can be disabled by setting CefBrowserSettings.background_color to an opaque value.
No view will be created for the browser and all rendering will occur via the CefRenderHandler interface. The |parent_view| value will be used to identify monitor info and to act as the parent view for dialogs, context menus, etc. If |parent_view| is not provided then the main screen monitor will be used and some functionality that requires a parent view may not function correctly. In order to create windowless browsers the CefSettings.windowless_rendering_enabled value must be set to true. Transparent painting is enabled by default but can be disabled by setting CefBrowserSettings.background_color to an opaque value.