Overview   Project   Class   Tree   Index 
CEF C++ API Docs - Revision 439
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.


Field Summary
 bool accelerated_2d_canvas_disabled
          Set to true (1) to disable accelerated 2d canvas.
 bool accelerated_compositing_enabled
          Set to true (1) to enable accelerated compositing.
 bool accelerated_drawing_disabled
          Set to true (1) to disable accelerated drawing.
 bool accelerated_layers_disabled
          Set to true (1) to disable accelerated layers.
 bool accelerated_plugins_disabled
          Set to true (1) to disable accelerated plugins.
 bool accelerated_video_disabled
          Set to true (1) to disable accelerated video.
 bool application_cache_disabled
          Set to true (1) to disable application cache.
 bool author_and_user_styles_disabled
          Set to true (1) to disable style sheets.
 bool caret_browsing_enabled
          Set to true (1) to enable drawing of the caret position.
 cef_string_t cursive_font_family
          
 bool databases_disabled
          Set to true (1) to disable databases.
 cef_string_t default_encoding
          Default encoding for Web content.
 int default_fixed_font_size
          
 int default_font_size
          
 bool developer_tools_disabled
          Set to true (1) to disable developer tools (WebKit inspector).
 bool dom_paste_disabled
          Set to true (1) to disable DOM pasting in the editor.
 bool drag_drop_disabled
          Disable drag & drop of URLs from other windows.
 bool encoding_detector_enabled
          Set to true (1) to attempt automatic detection of content encoding.
 cef_string_t fantasy_font_family
          
 bool file_access_from_file_urls_allowed
          Set to true (1) to allow access to file URLs from other file URLs.
 cef_string_t fixed_font_family
          
 bool fullscreen_enabled
          Set to true (1) to enable fullscreen mode.
 bool history_disabled
          Disable history back/forward navigation.
 bool hyperlink_auditing_disabled
          Set to true (1) to disable hyperlink pings ( and window.sendPing).
 bool image_load_disabled
          Set to true (1) to suppress the network load of image URLs.
 bool java_disabled
          Set to true (1) to disable Java.
 bool javascript_access_clipboard_disallowed
          Set to true (1) to disallow JavaScript from accessing the clipboard.
 bool javascript_close_windows_disallowed
          Set to true (1) to disallow JavaScript from closing windows.
 bool javascript_disabled
          Set to true (1) to disable JavaScript.
 bool javascript_open_windows_disallowed
          Set to true (1) to disallow JavaScript from opening windows.
 bool load_drops_disabled
          Disable default navigation resulting from drag & drop of URLs.
 bool local_storage_disabled
          Set to true (1) to disable local storage.
 int minimum_font_size
          
 int minimum_logical_font_size
          
 bool page_cache_disabled
          Set to true (1) to disable use of the page cache.
 bool plugins_disabled
          Set to true (1) to disable plugins.
 bool remote_fonts_disabled
          Set to true (1) to disable loading of fonts from remote sources.
 cef_string_t sans_serif_font_family
          
 cef_string_t serif_font_family
          
 bool shrink_standalone_images_to_fit
          Set to true (1) to shrink standalone images to fit the page.
 bool site_specific_quirks_disabled
          Set to true (1) to disable browser backwards compatibility features.
 size_t size
          Size of this structure.
 cef_string_t standard_font_family
          Font settings.
 bool tab_to_links_disabled
          Set to true (1) to not have the tab key advance focus to links.
 bool text_area_resize_disabled
          Set to true (1) to disable resize of text areas.
 bool threaded_compositing_enabled
          Set to true (1) to enable threaded compositing.
 bool universal_access_from_file_urls_allowed
          Set to true (1) to allow access to all URLs from file URLs.
 bool user_style_sheet_enabled
          Set to true (1) to enable the user style sheet for all pages.
 cef_string_t user_style_sheet_location
          Location of the user style sheet.
 bool web_security_disabled
          Set to true (1) to allow risky security behavior such as cross-site scripting (XSS).
 bool webgl_disabled
          Set to true (1) to disable WebGL.
 bool xss_auditor_enabled
          Set to true (1) to enable console warnings about XSS attempts.
 

Field Detail

accelerated_2d_canvas_disabled

public bool accelerated_2d_canvas_disabled;
Set to true (1) to disable accelerated 2d canvas.

accelerated_compositing_enabled

public bool accelerated_compositing_enabled;
Set to true (1) to enable accelerated compositing. This is turned off by default because the current in-process GPU implementation does not support it correctly.

accelerated_drawing_disabled

public bool accelerated_drawing_disabled;
Set to true (1) to disable accelerated drawing.

accelerated_layers_disabled

public bool accelerated_layers_disabled;
Set to true (1) to disable accelerated layers. This affects features like 3D CSS transforms.

accelerated_plugins_disabled

public bool accelerated_plugins_disabled;
Set to true (1) to disable accelerated plugins.

accelerated_video_disabled

public bool accelerated_video_disabled;
Set to true (1) to disable accelerated video.

application_cache_disabled

public bool application_cache_disabled;
Set to true (1) to disable application cache.

author_and_user_styles_disabled

public bool author_and_user_styles_disabled;
Set to true (1) to disable style sheets.

caret_browsing_enabled

public bool caret_browsing_enabled;
Set to true (1) to enable drawing of the caret position.

cursive_font_family

public cef_string_t cursive_font_family;

databases_disabled

public bool databases_disabled;
Set to true (1) to disable databases.

default_encoding

public cef_string_t default_encoding;
Default encoding for Web content. If empty "ISO-8859-1" will be used.

default_fixed_font_size

public int default_fixed_font_size;

default_font_size

public int default_font_size;

developer_tools_disabled

public bool developer_tools_disabled;
Set to true (1) to disable developer tools (WebKit inspector).

dom_paste_disabled

public bool dom_paste_disabled;
Set to true (1) to disable DOM pasting in the editor. DOM pasting also depends on |javascript_cannot_access_clipboard| being false (0).

drag_drop_disabled

public bool drag_drop_disabled;
Disable drag & drop of URLs from other windows.

encoding_detector_enabled

public bool encoding_detector_enabled;
Set to true (1) to attempt automatic detection of content encoding.

fantasy_font_family

public cef_string_t fantasy_font_family;

file_access_from_file_urls_allowed

public bool file_access_from_file_urls_allowed;
Set to true (1) to allow access to file URLs from other file URLs.

fixed_font_family

public cef_string_t fixed_font_family;

fullscreen_enabled

public bool fullscreen_enabled;
Set to true (1) to enable fullscreen mode.

history_disabled

public bool history_disabled;
Disable history back/forward navigation.

hyperlink_auditing_disabled

public bool hyperlink_auditing_disabled;
Set to true (1) to disable hyperlink pings ( and window.sendPing).

image_load_disabled

public bool image_load_disabled;
Set to true (1) to suppress the network load of image URLs. A cached image will still be rendered if requested.

java_disabled

public bool java_disabled;
Set to true (1) to disable Java.

javascript_access_clipboard_disallowed

public bool javascript_access_clipboard_disallowed;
Set to true (1) to disallow JavaScript from accessing the clipboard.

javascript_close_windows_disallowed

public bool javascript_close_windows_disallowed;
Set to true (1) to disallow JavaScript from closing windows.

javascript_disabled

public bool javascript_disabled;
Set to true (1) to disable JavaScript.

javascript_open_windows_disallowed

public bool javascript_open_windows_disallowed;
Set to true (1) to disallow JavaScript from opening windows.

load_drops_disabled

public bool load_drops_disabled;
Disable default navigation resulting from drag & drop of URLs.

local_storage_disabled

public bool local_storage_disabled;
Set to true (1) to disable local storage.

minimum_font_size

public int minimum_font_size;

minimum_logical_font_size

public int minimum_logical_font_size;

page_cache_disabled

public bool page_cache_disabled;
Set to true (1) to disable use of the page cache.

plugins_disabled

public bool plugins_disabled;
Set to true (1) to disable plugins.

remote_fonts_disabled

public bool remote_fonts_disabled;
Set to true (1) to disable loading of fonts from remote sources.

sans_serif_font_family

public cef_string_t sans_serif_font_family;

serif_font_family

public cef_string_t serif_font_family;

shrink_standalone_images_to_fit

public bool shrink_standalone_images_to_fit;
Set to true (1) to shrink standalone images to fit the page.

site_specific_quirks_disabled

public bool site_specific_quirks_disabled;
Set to true (1) to disable browser backwards compatibility features.

size

public size_t size;
Size of this structure.

standard_font_family

public cef_string_t standard_font_family;
Font settings.

tab_to_links_disabled

public bool tab_to_links_disabled;
Set to true (1) to not have the tab key advance focus to links.

text_area_resize_disabled

public bool text_area_resize_disabled;
Set to true (1) to disable resize of text areas.

threaded_compositing_enabled

public bool threaded_compositing_enabled;
Set to true (1) to enable threaded compositing. This is currently only supported by the command buffer graphics implementation.

universal_access_from_file_urls_allowed

public bool universal_access_from_file_urls_allowed;
Set to true (1) to allow access to all URLs from file URLs.

user_style_sheet_enabled

public bool user_style_sheet_enabled;
Set to true (1) to enable the user style sheet for all pages.

user_style_sheet_location

public cef_string_t user_style_sheet_location;
Location of the user style sheet. This must be a data URL of the form "data:text/css;charset=utf-8;base64,csscontent" where "csscontent" is the base64 encoded contents of the CSS file.

web_security_disabled

public bool web_security_disabled;
Set to true (1) to allow risky security behavior such as cross-site scripting (XSS). Use with extreme care.

webgl_disabled

public bool webgl_disabled;
Set to true (1) to disable WebGL.

xss_auditor_enabled

public bool xss_auditor_enabled;
Set to true (1) to enable console warnings about XSS attempts.

 Overview   Project   Class   Tree   Index 
CEF C++ API Docs - Revision 439
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

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