Overview   Project   Class   Tree   Index 
CEF3 C++ API Docs - Version 75.1.4+g4210896+chromium-75.0.3770.100
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

(default)
Struct _cef_browser_settings_t

   in cef_types.h

struct _cef_browser_settings_t

Browser initialization settings. Specify NULL or 0 to get the recommended default values. The consequences of using custom values may not be well tested. Many of these and other settings can also configured using command- line switches.


Field Summary
 cef_string_t accept_language_list
          Comma delimited ordered list of language codes without any whitespace that will be used in the "Accept-Language" HTTP header.
 cef_state_t application_cache
          Controls whether the application cache can be used.
 cef_color_t background_color
          Background color used for the browser before a document is loaded and when no document color is specified.
 cef_string_t cursive_font_family
          
 cef_state_t databases
          Controls whether databases can be used.
 cef_string_t default_encoding
          Default encoding for Web content.
 int default_fixed_font_size
          
 int default_font_size
          
 cef_string_t fantasy_font_family
          
 cef_state_t file_access_from_file_urls
          Controls whether file URLs will have access to other file URLs.
 cef_string_t fixed_font_family
          
 cef_state_t image_loading
          Controls whether image URLs will be loaded from the network.
 cef_state_t image_shrink_standalone_to_fit
          Controls whether standalone images will be shrunk to fit the page.
 cef_state_t javascript
          Controls whether JavaScript can be executed.
 cef_state_t javascript_access_clipboard
          Controls whether JavaScript can access the clipboard.
 cef_state_t javascript_close_windows
          Controls whether JavaScript can be used to close windows that were not opened via JavaScript.
 cef_state_t javascript_dom_paste
          Controls whether DOM pasting is supported in the editor via execCommand("paste").
 cef_state_t local_storage
          Controls whether local storage can be used.
 int minimum_font_size
          
 int minimum_logical_font_size
          
 cef_state_t plugins
          Controls whether any plugins will be loaded.
 cef_state_t remote_fonts
          Controls the loading of fonts from remote sources.
 cef_string_t sans_serif_font_family
          
 cef_string_t serif_font_family
          
 size_t size
          Size of this structure.
 cef_string_t standard_font_family
          Font settings.
 cef_state_t tab_to_links
          Controls whether the tab key can advance focus to links.
 cef_state_t text_area_resize
          Controls whether text areas can be resized.
 cef_state_t universal_access_from_file_urls
          Controls whether file URLs will have access to all URLs.
 cef_state_t web_security
          Controls whether web security restrictions (same-origin policy) will be enforced.
 cef_state_t webgl
          Controls whether WebGL can be used.
 int windowless_frame_rate
          The maximum rate in frames per second (fps) that CefRenderHandler::OnPaint will be called for a windowless browser.
 

Field Detail

accept_language_list

public cef_string_t accept_language_list;
Comma delimited ordered list of language codes without any whitespace that will be used in the "Accept-Language" HTTP header. May be set globally using the CefBrowserSettings.accept_language_list value. If both values are empty then "en-US,en" will be used.

application_cache

public cef_state_t application_cache;
Controls whether the application cache can be used. Also configurable using the "disable-application-cache" command-line switch.

background_color

public cef_color_t background_color;
Background color used for the browser before a document is loaded and when no document color is specified. The alpha component must be either fully opaque (0xFF) or fully transparent (0x00). If the alpha component is fully opaque then the RGB components will be used as the background color. If the alpha component is fully transparent for a windowed browser then the CefSettings.background_color value will be used. If the alpha component is fully transparent for a windowless (off-screen) browser then transparent painting will be enabled.

cursive_font_family

public cef_string_t cursive_font_family;

databases

public cef_state_t databases;
Controls whether databases can be used. Also configurable using the "disable-databases" command-line switch.

default_encoding

public cef_string_t default_encoding;
Default encoding for Web content. If empty "ISO-8859-1" will be used. Also configurable using the "default-encoding" command-line switch.

default_fixed_font_size

public int default_fixed_font_size;

default_font_size

public int default_font_size;

fantasy_font_family

public cef_string_t fantasy_font_family;

file_access_from_file_urls

public cef_state_t file_access_from_file_urls;
Controls whether file URLs will have access to other file URLs. Also configurable using the "allow-access-from-files" command-line switch.

fixed_font_family

public cef_string_t fixed_font_family;

image_loading

public cef_state_t image_loading;
Controls whether image URLs will be loaded from the network. A cached image will still be rendered if requested. Also configurable using the "disable-image-loading" command-line switch.

image_shrink_standalone_to_fit

public cef_state_t image_shrink_standalone_to_fit;
Controls whether standalone images will be shrunk to fit the page. Also configurable using the "image-shrink-standalone-to-fit" command-line switch.

javascript

public cef_state_t javascript;
Controls whether JavaScript can be executed. Also configurable using the "disable-javascript" command-line switch.

javascript_access_clipboard

public cef_state_t javascript_access_clipboard;
Controls whether JavaScript can access the clipboard. Also configurable using the "disable-javascript-access-clipboard" command-line switch.

javascript_close_windows

public cef_state_t javascript_close_windows;
Controls whether JavaScript can be used to close windows that were not opened via JavaScript. JavaScript can still be used to close windows that were opened via JavaScript or that have no back/forward history. Also configurable using the "disable-javascript-close-windows" command-line switch.

javascript_dom_paste

public cef_state_t javascript_dom_paste;
Controls whether DOM pasting is supported in the editor via execCommand("paste"). The |javascript_access_clipboard| setting must also be enabled. Also configurable using the "disable-javascript-dom-paste" command-line switch.

local_storage

public cef_state_t local_storage;
Controls whether local storage can be used. Also configurable using the "disable-local-storage" command-line switch.

minimum_font_size

public int minimum_font_size;

minimum_logical_font_size

public int minimum_logical_font_size;

plugins

public cef_state_t plugins;
Controls whether any plugins will be loaded. Also configurable using the "disable-plugins" command-line switch.

remote_fonts

public cef_state_t remote_fonts;
Controls the loading of fonts from remote sources. Also configurable using the "disable-remote-fonts" command-line switch.

sans_serif_font_family

public cef_string_t sans_serif_font_family;

serif_font_family

public cef_string_t serif_font_family;

size

public size_t size;
Size of this structure.

standard_font_family

public cef_string_t standard_font_family;
Font settings.

tab_to_links

public cef_state_t tab_to_links;
Controls whether the tab key can advance focus to links. Also configurable using the "disable-tab-to-links" command-line switch.

text_area_resize

public cef_state_t text_area_resize;
Controls whether text areas can be resized. Also configurable using the "disable-text-area-resize" command-line switch.

universal_access_from_file_urls

public cef_state_t universal_access_from_file_urls;
Controls whether file URLs will have access to all URLs. Also configurable using the "allow-universal-access-from-files" command-line switch.

web_security

public cef_state_t web_security;
Controls whether web security restrictions (same-origin policy) will be enforced. Disabling this setting is not recommend as it will allow risky security behavior such as cross-site scripting (XSS). Also configurable using the "disable-web-security" command-line switch.

webgl

public cef_state_t webgl;
Controls whether WebGL can be used. Note that WebGL requires hardware support and may not work on all systems even when enabled. Also configurable using the "disable-webgl" command-line switch.

windowless_frame_rate

public int windowless_frame_rate;
The maximum rate in frames per second (fps) that CefRenderHandler::OnPaint will be called for a windowless browser. The actual fps may be lower if the browser cannot generate frames at the requested rate. The minimum value is 1 and the maximum value is 60 (default 30). This value can also be changed dynamically via CefBrowserHost::SetWindowlessFrameRate.

 Overview   Project   Class   Tree   Index 
CEF3 C++ API Docs - Version 75.1.4+g4210896+chromium-75.0.3770.100
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

Chromium Embedded Framework (CEF) Copyright © 2016 Marshall A. Greenblatt