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

(default)
Struct _cef_settings_t

   in cef_types.h

struct _cef_settings_t

Initialization settings. Specify NULL or 0 to get the recommended default values.


Field Summary
 bool auto_detect_proxy_settings_enabled
          Set to true (1) to use the system proxy resolver on Windows when "Automatically detect settings" is checked.
 cef_string_t cache_path
          The location where cache data will be stored on disk.
 int context_safety_implementation
          By default CEF V8 references will be invalidated (the IsValid() method will return false) after the owning context has been released.
 cef_string_list_t extra_plugin_paths
          List of fully qualified paths to plugins (including plugin name) that will be loaded in addition to any plugins found in the default search paths.
 cef_graphics_implementation_t graphics_implementation
          The graphics implementation that CEF will use for rendering GPU accelerated content like WebGL, accelerated layers and 3D CSS.
 cef_string_t javascript_flags
          Custom flags that will be used when initializing the V8 JavaScript engine.
 unsigned int local_storage_quota
          Quota limit for localStorage data across all origins.
 cef_string_t locale
          The locale string that will be passed to WebKit.
 cef_string_t locales_dir_path
          The fully qualified path for the locales directory.
 cef_string_t log_file
          The directory and file name to use for the debug log.
 cef_log_severity_t log_severity
          The log severity.
 bool multi_threaded_message_loop
          Set to true (1) to have the message loop run in a separate thread.
 bool pack_loading_disabled
          Set to true (1) to disable loading of pack files for resources and locales.
 cef_string_t product_version
          Value that will be inserted as the product portion of the default User-Agent string.
 bool release_dcheck_enabled
          Enable DCHECK in release mode to ease debugging.
 cef_string_t resources_dir_path
          The fully qualified path for the resources directory.
 unsigned int session_storage_quota
          Quota limit for sessionStorage data per namespace.
 size_t size
          Size of this structure.
 int uncaught_exception_stack_size
          The number of stack trace frames to capture for uncaught exceptions.
 cef_string_t user_agent
          Value that will be returned as the User-Agent HTTP header.
 

Field Detail

auto_detect_proxy_settings_enabled

public bool auto_detect_proxy_settings_enabled;
Set to true (1) to use the system proxy resolver on Windows when "Automatically detect settings" is checked. This setting is disabled by default for performance reasons.

cache_path

public cef_string_t cache_path;
The location where cache data will be stored on disk. If empty an in-memory cache will be used. HTML5 databases such as localStorage will only persist across sessions if a cache path is specified.

context_safety_implementation

public int context_safety_implementation;
By default CEF V8 references will be invalidated (the IsValid() method will return false) after the owning context has been released. This reduces the need for external record keeping and avoids crashes due to the use of V8 references after the associated context has been released. CEF currently offers two context safety implementations with different performance characteristics. The default implementation (value of 0) uses a map of hash values and should provide better performance in situations with a small number contexts. The alternate implementation (value of 1) uses a hidden value attached to each context and should provide better performance in situations with a large number of contexts. If you need better performance in the creation of V8 references and you plan to manually track context lifespan you can disable context safety by specifying a value of -1.

extra_plugin_paths

public cef_string_list_t extra_plugin_paths;
List of fully qualified paths to plugins (including plugin name) that will be loaded in addition to any plugins found in the default search paths.

graphics_implementation

public cef_graphics_implementation_t graphics_implementation;
The graphics implementation that CEF will use for rendering GPU accelerated content like WebGL, accelerated layers and 3D CSS.

javascript_flags

public cef_string_t javascript_flags;
Custom flags that will be used when initializing the V8 JavaScript engine. The consequences of using custom flags may not be well tested.

local_storage_quota

public unsigned int local_storage_quota;
Quota limit for localStorage data across all origins. Default size is 5MB.

locale

public cef_string_t locale;
The locale string that will be passed to WebKit. If empty the default locale of "en-US" will be used. This value is ignored on Linux where locale is determined using environment variable parsing with the precedence order: LANGUAGE, LC_ALL, LC_MESSAGES and LANG.

locales_dir_path

public cef_string_t locales_dir_path;
The fully qualified path for the locales directory. If this value is empty the locales directory must be located in the module directory. This value is ignored on Mac OS X where pack files are always loaded from the app bundle Resources directory.

log_file

public cef_string_t log_file;
The directory and file name to use for the debug log. If empty, the default name of "debug.log" will be used and the file will be written to the application directory.

log_severity

public cef_log_severity_t log_severity;
The log severity. Only messages of this severity level or higher will be logged.

multi_threaded_message_loop

public bool multi_threaded_message_loop;
Set to true (1) to have the message loop run in a separate thread. If false (0) than the CefDoMessageLoopWork() function must be called from your application message loop.

pack_loading_disabled

public bool pack_loading_disabled;
Set to true (1) to disable loading of pack files for resources and locales. A resource bundle handler must be provided for the browser and renderer processes via CefApp::GetResourceBundleHandler() if loading of pack files is disabled.

product_version

public cef_string_t product_version;
Value that will be inserted as the product portion of the default User-Agent string. If empty the Chromium product version will be used. If |userAgent| is specified this value will be ignored.

release_dcheck_enabled

public bool release_dcheck_enabled;
Enable DCHECK in release mode to ease debugging.

resources_dir_path

public cef_string_t resources_dir_path;
The fully qualified path for the resources directory. If this value is empty the chrome.pak and/or devtools_resources.pak files must be located in the module directory on Windows/Linux or the app bundle Resources directory on Mac OS X.

session_storage_quota

public unsigned int session_storage_quota;
Quota limit for sessionStorage data per namespace. Default size is 5MB.

size

public size_t size;
Size of this structure.

uncaught_exception_stack_size

public int uncaught_exception_stack_size;
The number of stack trace frames to capture for uncaught exceptions. Specify a positive value to enable the CefV8ContextHandler:: OnUncaughtException() callback. Specify 0 (default value) and OnUncaughtException() will not be called.

user_agent

public cef_string_t user_agent;
Value that will be returned as the User-Agent HTTP header. If empty the default User-Agent string will be used.

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

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