Chromium Embedded Framework (CEF)  109.0.1+gcd5e37a+chromium-109.0.5414.8
cef_types.h File Reference
#include "include/base/cef_basictypes.h"
#include "include/internal/cef_string.h"
#include "include/internal/cef_string_list.h"
#include "include/internal/cef_time.h"
#include "include/internal/cef_types_geometry.h"
#include "include/internal/cef_types_win.h"
#include "include/base/internal/cef_net_error_list.h"

Classes

struct  cef_settings_t
 Initialization settings. More...
 
struct  cef_request_context_settings_t
 Request context initialization settings. More...
 
struct  cef_browser_settings_t
 Browser initialization settings. More...
 
struct  cef_urlparts_t
 URL component parts. More...
 
struct  cef_cookie_t
 Cookie information. More...
 
struct  cef_draggable_region_t
 Structure representing a draggable region. More...
 
struct  cef_screen_info_t
 Screen information used when window rendering is disabled. More...
 
struct  cef_mouse_event_t
 Structure representing mouse event information. More...
 
struct  cef_touch_event_t
 Structure representing touch event information. More...
 
struct  cef_key_event_t
 Structure representing keyboard event information. More...
 
struct  cef_popup_features_t
 Popup window features. More...
 
struct  cef_cursor_info_t
 Structure representing cursor information. More...
 
struct  cef_pdf_print_settings_t
 Structure representing PDF print settings. More...
 
struct  cef_box_layout_settings_t
 Settings used when initializing a CefBoxLayout. More...
 
struct  cef_range_t
 Structure representing a range. More...
 
struct  cef_composition_underline_t
 Structure representing IME composition underline information. More...
 
struct  cef_audio_parameters_t
 Structure representing the audio parameters for setting up the audio handler. More...
 
struct  cef_media_sink_device_info_t
 Device information for a MediaSink object. More...
 
struct  cef_touch_handle_state_t
 

Macros

#define CefColorGetA(color)   (((color) >> 24) & 0xFF)
 
#define CefColorGetR(color)   (((color) >> 16) & 0xFF)
 
#define CefColorGetG(color)   (((color) >> 8) & 0xFF)
 
#define CefColorGetB(color)   (((color) >> 0) & 0xFF)
 
#define CefColorSetARGB(a, r, g, b)
 
#define CefInt64Set(int32_low, int32_high)
 
#define CefInt64GetLow(int64_val)   static_cast<int32>(int64_val)
 
#define CefInt64GetHigh(int64_val)    static_cast<int32>((static_cast<int64>(int64_val) >> 32) & 0xFFFFFFFFL)
 
#define NET_ERROR(label, value)   ERR_##label = value,
 

Typedefs

typedef uint32 cef_color_t
 

Enumerations

enum  cef_log_severity_t {
  LOGSEVERITY_DEFAULT , LOGSEVERITY_VERBOSE , LOGSEVERITY_DEBUG = LOGSEVERITY_VERBOSE , LOGSEVERITY_INFO ,
  LOGSEVERITY_WARNING , LOGSEVERITY_ERROR , LOGSEVERITY_FATAL , LOGSEVERITY_DISABLE = 99
}
 Log severity levels. More...
 
enum  cef_state_t { STATE_DEFAULT = 0 , STATE_ENABLED , STATE_DISABLED }
 Represents the state of a setting. More...
 
enum  cef_return_value_t { RV_CANCEL = 0 , RV_CONTINUE , RV_CONTINUE_ASYNC }
 Return value types. More...
 
enum  cef_cookie_priority_t { CEF_COOKIE_PRIORITY_LOW = -1 , CEF_COOKIE_PRIORITY_MEDIUM = 0 , CEF_COOKIE_PRIORITY_HIGH = 1 }
 Cookie priority values. More...
 
enum  cef_cookie_same_site_t { CEF_COOKIE_SAME_SITE_UNSPECIFIED , CEF_COOKIE_SAME_SITE_NO_RESTRICTION , CEF_COOKIE_SAME_SITE_LAX_MODE , CEF_COOKIE_SAME_SITE_STRICT_MODE }
 Cookie same site values. More...
 
enum  cef_termination_status_t { TS_ABNORMAL_TERMINATION , TS_PROCESS_WAS_KILLED , TS_PROCESS_CRASHED , TS_PROCESS_OOM }
 Process termination status values. More...
 
enum  cef_path_key_t {
  PK_DIR_CURRENT , PK_DIR_EXE , PK_DIR_MODULE , PK_DIR_TEMP ,
  PK_FILE_EXE , PK_FILE_MODULE , PK_LOCAL_APP_DATA , PK_USER_DATA ,
  PK_DIR_RESOURCES
}
 Path key values. More...
 
enum  cef_storage_type_t { ST_LOCALSTORAGE = 0 , ST_SESSIONSTORAGE }
 Storage types. More...
 
enum  cef_errorcode_t { ERR_NONE = 0 }
 Supported error code values. More...
 
enum  cef_cert_status_t {
  CERT_STATUS_NONE = 0 , CERT_STATUS_COMMON_NAME_INVALID = 1 << 0 , CERT_STATUS_DATE_INVALID = 1 << 1 , CERT_STATUS_AUTHORITY_INVALID = 1 << 2 ,
  CERT_STATUS_NO_REVOCATION_MECHANISM = 1 << 4 , CERT_STATUS_UNABLE_TO_CHECK_REVOCATION = 1 << 5 , CERT_STATUS_REVOKED = 1 << 6 , CERT_STATUS_INVALID = 1 << 7 ,
  CERT_STATUS_WEAK_SIGNATURE_ALGORITHM = 1 << 8 , CERT_STATUS_NON_UNIQUE_NAME = 1 << 10 , CERT_STATUS_WEAK_KEY = 1 << 11 , CERT_STATUS_PINNED_KEY_MISSING = 1 << 13 ,
  CERT_STATUS_NAME_CONSTRAINT_VIOLATION = 1 << 14 , CERT_STATUS_VALIDITY_TOO_LONG = 1 << 15 , CERT_STATUS_IS_EV = 1 << 16 , CERT_STATUS_REV_CHECKING_ENABLED = 1 << 17 ,
  CERT_STATUS_SHA1_SIGNATURE_PRESENT = 1 << 19 , CERT_STATUS_CT_COMPLIANCE_FAILED = 1 << 20
}
 Supported certificate status code values. More...
 
enum  cef_window_open_disposition_t {
  WOD_UNKNOWN , WOD_CURRENT_TAB , WOD_SINGLETON_TAB , WOD_NEW_FOREGROUND_TAB ,
  WOD_NEW_BACKGROUND_TAB , WOD_NEW_POPUP , WOD_NEW_WINDOW , WOD_SAVE_TO_DISK ,
  WOD_OFF_THE_RECORD , WOD_IGNORE_ACTION , WOD_SWITCH_TO_TAB , WOD_NEW_PICTURE_IN_PICTURE
}
 The manner in which a link click should be opened. More...
 
enum  cef_drag_operations_mask_t {
  DRAG_OPERATION_NONE = 0 , DRAG_OPERATION_COPY = 1 , DRAG_OPERATION_LINK = 2 , DRAG_OPERATION_GENERIC = 4 ,
  DRAG_OPERATION_PRIVATE = 8 , DRAG_OPERATION_MOVE = 16 , DRAG_OPERATION_DELETE = 32 , DRAG_OPERATION_EVERY = UINT_MAX
}
 "Verb" of a drag-and-drop operation as negotiated between the source and destination. More...
 
enum  cef_text_input_mode_t {
  CEF_TEXT_INPUT_MODE_DEFAULT , CEF_TEXT_INPUT_MODE_NONE , CEF_TEXT_INPUT_MODE_TEXT , CEF_TEXT_INPUT_MODE_TEL ,
  CEF_TEXT_INPUT_MODE_URL , CEF_TEXT_INPUT_MODE_EMAIL , CEF_TEXT_INPUT_MODE_NUMERIC , CEF_TEXT_INPUT_MODE_DECIMAL ,
  CEF_TEXT_INPUT_MODE_SEARCH , CEF_TEXT_INPUT_MODE_MAX = CEF_TEXT_INPUT_MODE_SEARCH
}
 Input mode of a virtual keyboard. More...
 
enum  cef_v8_accesscontrol_t { V8_ACCESS_CONTROL_DEFAULT = 0 , V8_ACCESS_CONTROL_ALL_CAN_READ = 1 , V8_ACCESS_CONTROL_ALL_CAN_WRITE = 1 << 1 , V8_ACCESS_CONTROL_PROHIBITS_OVERWRITING = 1 << 2 }
 V8 access control values. More...
 
enum  cef_v8_propertyattribute_t { V8_PROPERTY_ATTRIBUTE_NONE = 0 , V8_PROPERTY_ATTRIBUTE_READONLY = 1 << 0 , V8_PROPERTY_ATTRIBUTE_DONTENUM = 1 << 1 , V8_PROPERTY_ATTRIBUTE_DONTDELETE = 1 << 2 }
 V8 property attribute values. More...
 
enum  cef_postdataelement_type_t { PDE_TYPE_EMPTY = 0 , PDE_TYPE_BYTES , PDE_TYPE_FILE }
 Post data elements may represent either bytes or files. More...
 
enum  cef_resource_type_t {
  RT_MAIN_FRAME = 0 , RT_SUB_FRAME , RT_STYLESHEET , RT_SCRIPT ,
  RT_IMAGE , RT_FONT_RESOURCE , RT_SUB_RESOURCE , RT_OBJECT ,
  RT_MEDIA , RT_WORKER , RT_SHARED_WORKER , RT_PREFETCH ,
  RT_FAVICON , RT_XHR , RT_PING , RT_SERVICE_WORKER ,
  RT_CSP_REPORT , RT_PLUGIN_RESOURCE , RT_NAVIGATION_PRELOAD_MAIN_FRAME = 19 , RT_NAVIGATION_PRELOAD_SUB_FRAME
}
 Resource type for a request. More...
 
enum  cef_transition_type_t {
  TT_LINK = 0 , TT_EXPLICIT = 1 , TT_AUTO_BOOKMARK = 2 , TT_AUTO_SUBFRAME = 3 ,
  TT_MANUAL_SUBFRAME = 4 , TT_GENERATED = 5 , TT_AUTO_TOPLEVEL = 6 , TT_FORM_SUBMIT = 7 ,
  TT_RELOAD = 8 , TT_KEYWORD = 9 , TT_KEYWORD_GENERATED = 10 , TT_SOURCE_MASK = 0xFF ,
  TT_BLOCKED_FLAG = 0x00800000 , TT_FORWARD_BACK_FLAG = 0x01000000 , TT_DIRECT_LOAD_FLAG = 0x02000000 , TT_HOME_PAGE_FLAG = 0x04000000 ,
  TT_FROM_API_FLAG = 0x08000000 , TT_CHAIN_START_FLAG = 0x10000000 , TT_CHAIN_END_FLAG = 0x20000000 , TT_CLIENT_REDIRECT_FLAG = 0x40000000 ,
  TT_SERVER_REDIRECT_FLAG = 0x80000000 , TT_IS_REDIRECT_MASK = 0xC0000000 , TT_QUALIFIER_MASK = 0xFFFFFF00
}
 Transition type for a request. More...
 
enum  cef_urlrequest_flags_t {
  UR_FLAG_NONE = 0 , UR_FLAG_SKIP_CACHE = 1 << 0 , UR_FLAG_ONLY_FROM_CACHE = 1 << 1 , UR_FLAG_DISABLE_CACHE = 1 << 2 ,
  UR_FLAG_ALLOW_STORED_CREDENTIALS = 1 << 3 , UR_FLAG_REPORT_UPLOAD_PROGRESS = 1 << 4 , UR_FLAG_NO_DOWNLOAD_DATA = 1 << 5 , UR_FLAG_NO_RETRY_ON_5XX = 1 << 6 ,
  UR_FLAG_STOP_ON_REDIRECT = 1 << 7
}
 Flags used to customize the behavior of CefURLRequest. More...
 
enum  cef_urlrequest_status_t {
  UR_UNKNOWN = 0 , UR_SUCCESS , UR_IO_PENDING , UR_CANCELED ,
  UR_FAILED
}
 Flags that represent CefURLRequest status. More...
 
enum  cef_process_id_t { PID_BROWSER , PID_RENDERER }
 Existing process IDs. More...
 
enum  cef_thread_id_t {
  TID_UI , TID_FILE_BACKGROUND , TID_FILE_USER_VISIBLE , TID_FILE_USER_BLOCKING ,
  TID_PROCESS_LAUNCHER , TID_IO , TID_RENDERER
}
 Existing thread IDs. More...
 
enum  cef_thread_priority_t { TP_BACKGROUND , TP_NORMAL , TP_DISPLAY , TP_REALTIME_AUDIO }
 Thread priority values listed in increasing order of importance. More...
 
enum  cef_message_loop_type_t { ML_TYPE_DEFAULT , ML_TYPE_UI , ML_TYPE_IO }
 Message loop types. More...
 
enum  cef_com_init_mode_t { COM_INIT_MODE_NONE , COM_INIT_MODE_STA , COM_INIT_MODE_MTA }
 Windows COM initialization mode. More...
 
enum  cef_value_type_t {
  VTYPE_INVALID = 0 , VTYPE_NULL , VTYPE_BOOL , VTYPE_INT ,
  VTYPE_DOUBLE , VTYPE_STRING , VTYPE_BINARY , VTYPE_DICTIONARY ,
  VTYPE_LIST
}
 Supported value types. More...
 
enum  cef_jsdialog_type_t { JSDIALOGTYPE_ALERT = 0 , JSDIALOGTYPE_CONFIRM , JSDIALOGTYPE_PROMPT }
 Supported JavaScript dialog types. More...
 
enum  cef_menu_id_t {
  MENU_ID_BACK = 100 , MENU_ID_FORWARD = 101 , MENU_ID_RELOAD = 102 , MENU_ID_RELOAD_NOCACHE = 103 ,
  MENU_ID_STOPLOAD = 104 , MENU_ID_UNDO = 110 , MENU_ID_REDO = 111 , MENU_ID_CUT = 112 ,
  MENU_ID_COPY = 113 , MENU_ID_PASTE = 114 , MENU_ID_DELETE = 115 , MENU_ID_SELECT_ALL = 116 ,
  MENU_ID_FIND = 130 , MENU_ID_PRINT = 131 , MENU_ID_VIEW_SOURCE = 132 , MENU_ID_SPELLCHECK_SUGGESTION_0 = 200 ,
  MENU_ID_SPELLCHECK_SUGGESTION_1 = 201 , MENU_ID_SPELLCHECK_SUGGESTION_2 = 202 , MENU_ID_SPELLCHECK_SUGGESTION_3 = 203 , MENU_ID_SPELLCHECK_SUGGESTION_4 = 204 ,
  MENU_ID_SPELLCHECK_SUGGESTION_LAST = 204 , MENU_ID_NO_SPELLING_SUGGESTIONS = 205 , MENU_ID_ADD_TO_DICTIONARY = 206 , MENU_ID_CUSTOM_FIRST = 220 ,
  MENU_ID_CUSTOM_LAST = 250 , MENU_ID_USER_FIRST = 26500 , MENU_ID_USER_LAST = 28500
}
 Supported menu IDs. More...
 
enum  cef_mouse_button_type_t { MBT_LEFT = 0 , MBT_MIDDLE , MBT_RIGHT }
 Mouse button types. More...
 
enum  cef_touch_event_type_t { CEF_TET_RELEASED = 0 , CEF_TET_PRESSED , CEF_TET_MOVED , CEF_TET_CANCELLED }
 Touch points states types. More...
 
enum  cef_pointer_type_t {
  CEF_POINTER_TYPE_TOUCH = 0 , CEF_POINTER_TYPE_MOUSE , CEF_POINTER_TYPE_PEN , CEF_POINTER_TYPE_ERASER ,
  CEF_POINTER_TYPE_UNKNOWN
}
 The device type that caused the event. More...
 
enum  cef_paint_element_type_t { PET_VIEW = 0 , PET_POPUP }
 Paint element types. More...
 
enum  cef_event_flags_t {
  EVENTFLAG_NONE = 0 , EVENTFLAG_CAPS_LOCK_ON = 1 << 0 , EVENTFLAG_SHIFT_DOWN = 1 << 1 , EVENTFLAG_CONTROL_DOWN = 1 << 2 ,
  EVENTFLAG_ALT_DOWN = 1 << 3 , EVENTFLAG_LEFT_MOUSE_BUTTON = 1 << 4 , EVENTFLAG_MIDDLE_MOUSE_BUTTON = 1 << 5 , EVENTFLAG_RIGHT_MOUSE_BUTTON = 1 << 6 ,
  EVENTFLAG_COMMAND_DOWN = 1 << 7 , EVENTFLAG_NUM_LOCK_ON = 1 << 8 , EVENTFLAG_IS_KEY_PAD = 1 << 9 , EVENTFLAG_IS_LEFT = 1 << 10 ,
  EVENTFLAG_IS_RIGHT = 1 << 11 , EVENTFLAG_ALTGR_DOWN = 1 << 12 , EVENTFLAG_IS_REPEAT = 1 << 13
}
 Supported event bit flags. More...
 
enum  cef_menu_item_type_t {
  MENUITEMTYPE_NONE , MENUITEMTYPE_COMMAND , MENUITEMTYPE_CHECK , MENUITEMTYPE_RADIO ,
  MENUITEMTYPE_SEPARATOR , MENUITEMTYPE_SUBMENU
}
 Supported menu item types. More...
 
enum  cef_context_menu_type_flags_t {
  CM_TYPEFLAG_NONE = 0 , CM_TYPEFLAG_PAGE = 1 << 0 , CM_TYPEFLAG_FRAME = 1 << 1 , CM_TYPEFLAG_LINK = 1 << 2 ,
  CM_TYPEFLAG_MEDIA = 1 << 3 , CM_TYPEFLAG_SELECTION = 1 << 4 , CM_TYPEFLAG_EDITABLE = 1 << 5
}
 Supported context menu type flags. More...
 
enum  cef_context_menu_media_type_t {
  CM_MEDIATYPE_NONE , CM_MEDIATYPE_IMAGE , CM_MEDIATYPE_VIDEO , CM_MEDIATYPE_AUDIO ,
  CM_MEDIATYPE_CANVAS , CM_MEDIATYPE_FILE , CM_MEDIATYPE_PLUGIN
}
 Supported context menu media types. More...
 
enum  cef_context_menu_media_state_flags_t {
  CM_MEDIAFLAG_NONE = 0 , CM_MEDIAFLAG_IN_ERROR = 1 << 0 , CM_MEDIAFLAG_PAUSED = 1 << 1 , CM_MEDIAFLAG_MUTED = 1 << 2 ,
  CM_MEDIAFLAG_LOOP = 1 << 3 , CM_MEDIAFLAG_CAN_SAVE = 1 << 4 , CM_MEDIAFLAG_HAS_AUDIO = 1 << 5 , CM_MEDIAFLAG_CAN_TOGGLE_CONTROLS = 1 << 6 ,
  CM_MEDIAFLAG_CONTROLS = 1 << 7 , CM_MEDIAFLAG_CAN_PRINT = 1 << 8 , CM_MEDIAFLAG_CAN_ROTATE = 1 << 9 , CM_MEDIAFLAG_CAN_PICTURE_IN_PICTURE = 1 << 10 ,
  CM_MEDIAFLAG_PICTURE_IN_PICTURE = 1 << 11 , CM_MEDIAFLAG_CAN_LOOP = 1 << 12
}
 Supported context menu media state bit flags. More...
 
enum  cef_context_menu_edit_state_flags_t {
  CM_EDITFLAG_NONE = 0 , CM_EDITFLAG_CAN_UNDO = 1 << 0 , CM_EDITFLAG_CAN_REDO = 1 << 1 , CM_EDITFLAG_CAN_CUT = 1 << 2 ,
  CM_EDITFLAG_CAN_COPY = 1 << 3 , CM_EDITFLAG_CAN_PASTE = 1 << 4 , CM_EDITFLAG_CAN_DELETE = 1 << 5 , CM_EDITFLAG_CAN_SELECT_ALL = 1 << 6 ,
  CM_EDITFLAG_CAN_TRANSLATE = 1 << 7 , CM_EDITFLAG_CAN_EDIT_RICHLY = 1 << 8
}
 Supported context menu edit state bit flags. More...
 
enum  cef_quick_menu_edit_state_flags_t {
  QM_EDITFLAG_NONE = 0 , QM_EDITFLAG_CAN_ELLIPSIS = 1 << 0 , QM_EDITFLAG_CAN_CUT = 1 << 1 , QM_EDITFLAG_CAN_COPY = 1 << 2 ,
  QM_EDITFLAG_CAN_PASTE = 1 << 3
}
 Supported quick menu state bit flags. More...
 
enum  cef_key_event_type_t { KEYEVENT_RAWKEYDOWN = 0 , KEYEVENT_KEYDOWN , KEYEVENT_KEYUP , KEYEVENT_CHAR }
 Key event types. More...
 
enum  cef_focus_source_t { FOCUS_SOURCE_NAVIGATION = 0 , FOCUS_SOURCE_SYSTEM }
 Focus sources. More...
 
enum  cef_navigation_type_t {
  NAVIGATION_LINK_CLICKED = 0 , NAVIGATION_FORM_SUBMITTED , NAVIGATION_BACK_FORWARD , NAVIGATION_RELOAD ,
  NAVIGATION_FORM_RESUBMITTED , NAVIGATION_OTHER
}
 Navigation types. More...
 
enum  cef_xml_encoding_type_t {
  XML_ENCODING_NONE = 0 , XML_ENCODING_UTF8 , XML_ENCODING_UTF16LE , XML_ENCODING_UTF16BE ,
  XML_ENCODING_ASCII
}
 Supported XML encoding types. More...
 
enum  cef_xml_node_type_t {
  XML_NODE_UNSUPPORTED = 0 , XML_NODE_PROCESSING_INSTRUCTION , XML_NODE_DOCUMENT_TYPE , XML_NODE_ELEMENT_START ,
  XML_NODE_ELEMENT_END , XML_NODE_ATTRIBUTE , XML_NODE_TEXT , XML_NODE_CDATA ,
  XML_NODE_ENTITY_REFERENCE , XML_NODE_WHITESPACE , XML_NODE_COMMENT
}
 XML node types. More...
 
enum  cef_dom_document_type_t { DOM_DOCUMENT_TYPE_UNKNOWN = 0 , DOM_DOCUMENT_TYPE_HTML , DOM_DOCUMENT_TYPE_XHTML , DOM_DOCUMENT_TYPE_PLUGIN }
 DOM document types. More...
 
enum  cef_dom_event_category_t {
  DOM_EVENT_CATEGORY_UNKNOWN = 0x0 , DOM_EVENT_CATEGORY_UI = 0x1 , DOM_EVENT_CATEGORY_MOUSE = 0x2 , DOM_EVENT_CATEGORY_MUTATION = 0x4 ,
  DOM_EVENT_CATEGORY_KEYBOARD = 0x8 , DOM_EVENT_CATEGORY_TEXT = 0x10 , DOM_EVENT_CATEGORY_COMPOSITION = 0x20 , DOM_EVENT_CATEGORY_DRAG = 0x40 ,
  DOM_EVENT_CATEGORY_CLIPBOARD = 0x80 , DOM_EVENT_CATEGORY_MESSAGE = 0x100 , DOM_EVENT_CATEGORY_WHEEL = 0x200 , DOM_EVENT_CATEGORY_BEFORE_TEXT_INSERTED = 0x400 ,
  DOM_EVENT_CATEGORY_OVERFLOW = 0x800 , DOM_EVENT_CATEGORY_PAGE_TRANSITION = 0x1000 , DOM_EVENT_CATEGORY_POPSTATE = 0x2000 , DOM_EVENT_CATEGORY_PROGRESS = 0x4000 ,
  DOM_EVENT_CATEGORY_XMLHTTPREQUEST_PROGRESS = 0x8000
}
 DOM event category flags. More...
 
enum  cef_dom_event_phase_t { DOM_EVENT_PHASE_UNKNOWN = 0 , DOM_EVENT_PHASE_CAPTURING , DOM_EVENT_PHASE_AT_TARGET , DOM_EVENT_PHASE_BUBBLING }
 DOM event processing phases. More...
 
enum  cef_dom_node_type_t {
  DOM_NODE_TYPE_UNSUPPORTED = 0 , DOM_NODE_TYPE_ELEMENT , DOM_NODE_TYPE_ATTRIBUTE , DOM_NODE_TYPE_TEXT ,
  DOM_NODE_TYPE_CDATA_SECTION , DOM_NODE_TYPE_PROCESSING_INSTRUCTIONS , DOM_NODE_TYPE_COMMENT , DOM_NODE_TYPE_DOCUMENT ,
  DOM_NODE_TYPE_DOCUMENT_TYPE , DOM_NODE_TYPE_DOCUMENT_FRAGMENT
}
 DOM node types. More...
 
enum  cef_file_dialog_mode_t { FILE_DIALOG_OPEN = 0 , FILE_DIALOG_OPEN_MULTIPLE , FILE_DIALOG_OPEN_FOLDER , FILE_DIALOG_SAVE }
 Supported file dialog modes. More...
 
enum  cef_color_model_t {
  COLOR_MODEL_UNKNOWN , COLOR_MODEL_GRAY , COLOR_MODEL_COLOR , COLOR_MODEL_CMYK ,
  COLOR_MODEL_CMY , COLOR_MODEL_KCMY , COLOR_MODEL_CMY_K , COLOR_MODEL_BLACK ,
  COLOR_MODEL_GRAYSCALE , COLOR_MODEL_RGB , COLOR_MODEL_RGB16 , COLOR_MODEL_RGBA ,
  COLOR_MODEL_COLORMODE_COLOR , COLOR_MODEL_COLORMODE_MONOCHROME , COLOR_MODEL_HP_COLOR_COLOR , COLOR_MODEL_HP_COLOR_BLACK ,
  COLOR_MODEL_PRINTOUTMODE_NORMAL , COLOR_MODEL_PRINTOUTMODE_NORMAL_GRAY , COLOR_MODEL_PROCESSCOLORMODEL_CMYK , COLOR_MODEL_PROCESSCOLORMODEL_GREYSCALE ,
  COLOR_MODEL_PROCESSCOLORMODEL_RGB
}
 Print job color mode values. More...
 
enum  cef_duplex_mode_t { DUPLEX_MODE_UNKNOWN = -1 , DUPLEX_MODE_SIMPLEX , DUPLEX_MODE_LONG_EDGE , DUPLEX_MODE_SHORT_EDGE }
 Print job duplex mode values. More...
 
enum  cef_cursor_type_t {
  CT_POINTER = 0 , CT_CROSS , CT_HAND , CT_IBEAM ,
  CT_WAIT , CT_HELP , CT_EASTRESIZE , CT_NORTHRESIZE ,
  CT_NORTHEASTRESIZE , CT_NORTHWESTRESIZE , CT_SOUTHRESIZE , CT_SOUTHEASTRESIZE ,
  CT_SOUTHWESTRESIZE , CT_WESTRESIZE , CT_NORTHSOUTHRESIZE , CT_EASTWESTRESIZE ,
  CT_NORTHEASTSOUTHWESTRESIZE , CT_NORTHWESTSOUTHEASTRESIZE , CT_COLUMNRESIZE , CT_ROWRESIZE ,
  CT_MIDDLEPANNING , CT_EASTPANNING , CT_NORTHPANNING , CT_NORTHEASTPANNING ,
  CT_NORTHWESTPANNING , CT_SOUTHPANNING , CT_SOUTHEASTPANNING , CT_SOUTHWESTPANNING ,
  CT_WESTPANNING , CT_MOVE , CT_VERTICALTEXT , CT_CELL ,
  CT_CONTEXTMENU , CT_ALIAS , CT_PROGRESS , CT_NODROP ,
  CT_COPY , CT_NONE , CT_NOTALLOWED , CT_ZOOMIN ,
  CT_ZOOMOUT , CT_GRAB , CT_GRABBING , CT_MIDDLE_PANNING_VERTICAL ,
  CT_MIDDLE_PANNING_HORIZONTAL , CT_CUSTOM , CT_DND_NONE , CT_DND_MOVE ,
  CT_DND_COPY , CT_DND_LINK
}
 Cursor type values. More...
 
enum  cef_uri_unescape_rule_t {
  UU_NONE = 0 , UU_NORMAL = 1 << 0 , UU_SPACES = 1 << 1 , UU_PATH_SEPARATORS = 1 << 2 ,
  UU_URL_SPECIAL_CHARS_EXCEPT_PATH_SEPARATORS = 1 << 3 , UU_REPLACE_PLUS_WITH_SPACE = 1 << 4
}
 URI unescape rules passed to CefURIDecode(). More...
 
enum  cef_json_parser_options_t { JSON_PARSER_RFC = 0 , JSON_PARSER_ALLOW_TRAILING_COMMAS = 1 << 0 }
 Options that can be passed to CefParseJSON. More...
 
enum  cef_json_writer_options_t { JSON_WRITER_DEFAULT = 0 , JSON_WRITER_OMIT_BINARY_VALUES = 1 << 0 , JSON_WRITER_OMIT_DOUBLE_TYPE_PRESERVATION = 1 << 1 , JSON_WRITER_PRETTY_PRINT = 1 << 2 }
 Options that can be passed to CefWriteJSON. More...
 
enum  cef_pdf_print_margin_type_t { PDF_PRINT_MARGIN_DEFAULT , PDF_PRINT_MARGIN_NONE , PDF_PRINT_MARGIN_CUSTOM }
 Margin type for PDF printing. More...
 
enum  cef_scale_factor_t {
  SCALE_FACTOR_NONE = 0 , SCALE_FACTOR_100P , SCALE_FACTOR_125P , SCALE_FACTOR_133P ,
  SCALE_FACTOR_140P , SCALE_FACTOR_150P , SCALE_FACTOR_180P , SCALE_FACTOR_200P ,
  SCALE_FACTOR_250P , SCALE_FACTOR_300P
}
 Supported UI scale factors for the platform. More...
 
enum  cef_referrer_policy_t {
  REFERRER_POLICY_CLEAR_REFERRER_ON_TRANSITION_FROM_SECURE_TO_INSECURE , REFERRER_POLICY_DEFAULT , REFERRER_POLICY_REDUCE_REFERRER_GRANULARITY_ON_TRANSITION_CROSS_ORIGIN , REFERRER_POLICY_ORIGIN_ONLY_ON_TRANSITION_CROSS_ORIGIN ,
  REFERRER_POLICY_NEVER_CLEAR_REFERRER , REFERRER_POLICY_ORIGIN , REFERRER_POLICY_CLEAR_REFERRER_ON_TRANSITION_CROSS_ORIGIN , REFERRER_POLICY_ORIGIN_CLEAR_ON_TRANSITION_FROM_SECURE_TO_INSECURE ,
  REFERRER_POLICY_NO_REFERRER , REFERRER_POLICY_LAST_VALUE = REFERRER_POLICY_NO_REFERRER
}
 Policy for how the Referrer HTTP header value will be sent during navigation. More...
 
enum  cef_response_filter_status_t { RESPONSE_FILTER_NEED_MORE_DATA , RESPONSE_FILTER_DONE , RESPONSE_FILTER_ERROR }
 Return values for CefResponseFilter::Filter(). More...
 
enum  cef_color_type_t { CEF_COLOR_TYPE_RGBA_8888 , CEF_COLOR_TYPE_BGRA_8888 }
 Describes how to interpret the components of a pixel. More...
 
enum  cef_alpha_type_t { CEF_ALPHA_TYPE_OPAQUE , CEF_ALPHA_TYPE_PREMULTIPLIED , CEF_ALPHA_TYPE_POSTMULTIPLIED }
 Describes how to interpret the alpha component of a pixel. More...
 
enum  cef_text_style_t {
  CEF_TEXT_STYLE_BOLD , CEF_TEXT_STYLE_ITALIC , CEF_TEXT_STYLE_STRIKE , CEF_TEXT_STYLE_DIAGONAL_STRIKE ,
  CEF_TEXT_STYLE_UNDERLINE
}
 Text style types. More...
 
enum  cef_main_axis_alignment_t { CEF_MAIN_AXIS_ALIGNMENT_START , CEF_MAIN_AXIS_ALIGNMENT_CENTER , CEF_MAIN_AXIS_ALIGNMENT_END }
 Specifies where along the main axis the CefBoxLayout child views should be laid out. More...
 
enum  cef_cross_axis_alignment_t { CEF_CROSS_AXIS_ALIGNMENT_STRETCH , CEF_CROSS_AXIS_ALIGNMENT_START , CEF_CROSS_AXIS_ALIGNMENT_CENTER , CEF_CROSS_AXIS_ALIGNMENT_END }
 Specifies where along the cross axis the CefBoxLayout child views should be laid out. More...
 
enum  cef_button_state_t { CEF_BUTTON_STATE_NORMAL , CEF_BUTTON_STATE_HOVERED , CEF_BUTTON_STATE_PRESSED , CEF_BUTTON_STATE_DISABLED }
 Specifies the button display state. More...
 
enum  cef_horizontal_alignment_t { CEF_HORIZONTAL_ALIGNMENT_LEFT , CEF_HORIZONTAL_ALIGNMENT_CENTER , CEF_HORIZONTAL_ALIGNMENT_RIGHT }
 Specifies the horizontal text alignment mode. More...
 
enum  cef_menu_anchor_position_t { CEF_MENU_ANCHOR_TOPLEFT , CEF_MENU_ANCHOR_TOPRIGHT , CEF_MENU_ANCHOR_BOTTOMCENTER }
 Specifies how a menu will be anchored for non-RTL languages. More...
 
enum  cef_menu_color_type_t {
  CEF_MENU_COLOR_TEXT , CEF_MENU_COLOR_TEXT_HOVERED , CEF_MENU_COLOR_TEXT_ACCELERATOR , CEF_MENU_COLOR_TEXT_ACCELERATOR_HOVERED ,
  CEF_MENU_COLOR_BACKGROUND , CEF_MENU_COLOR_BACKGROUND_HOVERED , CEF_MENU_COLOR_COUNT
}
 Supported color types for menu items. More...
 
enum  cef_ssl_version_t {
  SSL_CONNECTION_VERSION_UNKNOWN = 0 , SSL_CONNECTION_VERSION_SSL2 = 1 , SSL_CONNECTION_VERSION_SSL3 = 2 , SSL_CONNECTION_VERSION_TLS1 = 3 ,
  SSL_CONNECTION_VERSION_TLS1_1 = 4 , SSL_CONNECTION_VERSION_TLS1_2 = 5 , SSL_CONNECTION_VERSION_TLS1_3 = 6 , SSL_CONNECTION_VERSION_QUIC = 7
}
 Supported SSL version values. More...
 
enum  cef_ssl_content_status_t { SSL_CONTENT_NORMAL_CONTENT = 0 , SSL_CONTENT_DISPLAYED_INSECURE_CONTENT = 1 << 0 , SSL_CONTENT_RAN_INSECURE_CONTENT = 1 << 1 }
 Supported SSL content status flags. More...
 
enum  cef_scheme_options_t {
  CEF_SCHEME_OPTION_NONE = 0 , CEF_SCHEME_OPTION_STANDARD = 1 << 0 , CEF_SCHEME_OPTION_LOCAL = 1 << 1 , CEF_SCHEME_OPTION_DISPLAY_ISOLATED = 1 << 2 ,
  CEF_SCHEME_OPTION_SECURE = 1 << 3 , CEF_SCHEME_OPTION_CORS_ENABLED = 1 << 4 , CEF_SCHEME_OPTION_CSP_BYPASSING = 1 << 5 , CEF_SCHEME_OPTION_FETCH_ENABLED = 1 << 6
}
 Configuration options for registering a custom scheme. More...
 
enum  cef_composition_underline_style_t { CEF_CUS_SOLID , CEF_CUS_DOT , CEF_CUS_DASH , CEF_CUS_NONE }
 Composition underline style. More...
 
enum  cef_channel_layout_t {
  CEF_CHANNEL_LAYOUT_NONE = 0 , CEF_CHANNEL_LAYOUT_UNSUPPORTED = 1 , CEF_CHANNEL_LAYOUT_MONO = 2 , CEF_CHANNEL_LAYOUT_STEREO = 3 ,
  CEF_CHANNEL_LAYOUT_2_1 = 4 , CEF_CHANNEL_LAYOUT_SURROUND = 5 , CEF_CHANNEL_LAYOUT_4_0 = 6 , CEF_CHANNEL_LAYOUT_2_2 = 7 ,
  CEF_CHANNEL_LAYOUT_QUAD = 8 , CEF_CHANNEL_LAYOUT_5_0 = 9 , CEF_CHANNEL_LAYOUT_5_1 = 10 , CEF_CHANNEL_LAYOUT_5_0_BACK = 11 ,
  CEF_CHANNEL_LAYOUT_5_1_BACK = 12 , CEF_CHANNEL_LAYOUT_7_0 = 13 , CEF_CHANNEL_LAYOUT_7_1 = 14 , CEF_CHANNEL_LAYOUT_7_1_WIDE = 15 ,
  CEF_CHANNEL_LAYOUT_STEREO_DOWNMIX = 16 , CEF_CHANNEL_LAYOUT_2POINT1 = 17 , CEF_CHANNEL_LAYOUT_3_1 = 18 , CEF_CHANNEL_LAYOUT_4_1 = 19 ,
  CEF_CHANNEL_LAYOUT_6_0 = 20 , CEF_CHANNEL_LAYOUT_6_0_FRONT = 21 , CEF_CHANNEL_LAYOUT_HEXAGONAL = 22 , CEF_CHANNEL_LAYOUT_6_1 = 23 ,
  CEF_CHANNEL_LAYOUT_6_1_BACK = 24 , CEF_CHANNEL_LAYOUT_6_1_FRONT = 25 , CEF_CHANNEL_LAYOUT_7_0_FRONT = 26 , CEF_CHANNEL_LAYOUT_7_1_WIDE_BACK = 27 ,
  CEF_CHANNEL_LAYOUT_OCTAGONAL = 28 , CEF_CHANNEL_LAYOUT_DISCRETE = 29 , CEF_CHANNEL_LAYOUT_STEREO_AND_KEYBOARD_MIC = 30 , CEF_CHANNEL_LAYOUT_4_1_QUAD_SIDE = 31 ,
  CEF_CHANNEL_LAYOUT_BITSTREAM = 32 , CEF_CHANNEL_LAYOUT_5_1_4_DOWNMIX = 33 , CEF_CHANNEL_LAYOUT_MAX = CEF_CHANNEL_LAYOUT_5_1_4_DOWNMIX
}
 Enumerates the various representations of the ordering of audio channels. More...
 
enum  cef_media_route_create_result_t {
  CEF_MRCR_UNKNOWN_ERROR = 0 , CEF_MRCR_OK = 1 , CEF_MRCR_TIMED_OUT = 2 , CEF_MRCR_ROUTE_NOT_FOUND = 3 ,
  CEF_MRCR_SINK_NOT_FOUND = 4 , CEF_MRCR_INVALID_ORIGIN = 5 , CEF_MRCR_NO_SUPPORTED_PROVIDER = 7 , CEF_MRCR_CANCELLED = 8 ,
  CEF_MRCR_ROUTE_ALREADY_EXISTS = 9 , CEF_MRCR_ROUTE_ALREADY_TERMINATED = 11
}
 Result codes for CefMediaRouter::CreateRoute. More...
 
enum  cef_media_route_connection_state_t {
  CEF_MRCS_UNKNOWN , CEF_MRCS_CONNECTING , CEF_MRCS_CONNECTED , CEF_MRCS_CLOSED ,
  CEF_MRCS_TERMINATED
}
 Connection state for a MediaRoute object. More...
 
enum  cef_media_sink_icon_type_t {
  CEF_MSIT_CAST , CEF_MSIT_CAST_AUDIO_GROUP , CEF_MSIT_CAST_AUDIO , CEF_MSIT_MEETING ,
  CEF_MSIT_HANGOUT , CEF_MSIT_EDUCATION , CEF_MSIT_WIRED_DISPLAY , CEF_MSIT_GENERIC ,
  CEF_MSIT_TOTAL_COUNT
}
 Icon types for a MediaSink object. More...
 
enum  cef_text_field_commands_t {
  CEF_TFC_CUT = 1 , CEF_TFC_COPY , CEF_TFC_PASTE , CEF_TFC_UNDO ,
  CEF_TFC_DELETE , CEF_TFC_SELECT_ALL
}
 Represents commands available to TextField. More...
 
enum  cef_chrome_toolbar_type_t { CEF_CTT_NONE = 1 , CEF_CTT_NORMAL , CEF_CTT_LOCATION }
 Supported Chrome toolbar types. More...
 
enum  cef_docking_mode_t {
  CEF_DOCKING_MODE_TOP_LEFT = 1 , CEF_DOCKING_MODE_TOP_RIGHT , CEF_DOCKING_MODE_BOTTOM_LEFT , CEF_DOCKING_MODE_BOTTOM_RIGHT ,
  CEF_DOCKING_MODE_CUSTOM
}
 Docking modes supported by CefWindow::AddOverlay. More...
 
enum  cef_show_state_t { CEF_SHOW_STATE_NORMAL = 1 , CEF_SHOW_STATE_MINIMIZED , CEF_SHOW_STATE_MAXIMIZED , CEF_SHOW_STATE_FULLSCREEN }
 Show states supported by CefWindowDelegate::GetInitialShowState. More...
 
enum  cef_touch_handle_state_flags_t {
  CEF_THS_FLAG_NONE = 0 , CEF_THS_FLAG_ENABLED = 1 << 0 , CEF_THS_FLAG_ORIENTATION = 1 << 1 , CEF_THS_FLAG_ORIGIN = 1 << 2 ,
  CEF_THS_FLAG_ALPHA = 1 << 3
}
 Values indicating what state of the touch handle is set. More...
 
enum  cef_media_access_permission_types_t {
  CEF_MEDIA_PERMISSION_NONE = 0 , CEF_MEDIA_PERMISSION_DEVICE_AUDIO_CAPTURE = 1 << 0 , CEF_MEDIA_PERMISSION_DEVICE_VIDEO_CAPTURE = 1 << 1 , CEF_MEDIA_PERMISSION_DESKTOP_AUDIO_CAPTURE = 1 << 2 ,
  CEF_MEDIA_PERMISSION_DESKTOP_VIDEO_CAPTURE = 1 << 3
}
 Media access permissions used by OnRequestMediaAccessPermission. More...
 
enum  cef_permission_request_types_t {
  CEF_PERMISSION_TYPE_NONE = 0 , CEF_PERMISSION_TYPE_ACCESSIBILITY_EVENTS = 1 << 0 , CEF_PERMISSION_TYPE_AR_SESSION = 1 << 1 , CEF_PERMISSION_TYPE_CAMERA_PAN_TILT_ZOOM = 1 << 2 ,
  CEF_PERMISSION_TYPE_CAMERA_STREAM = 1 << 3 , CEF_PERMISSION_TYPE_CLIPBOARD = 1 << 4 , CEF_PERMISSION_TYPE_DISK_QUOTA = 1 << 5 , CEF_PERMISSION_TYPE_LOCAL_FONTS = 1 << 6 ,
  CEF_PERMISSION_TYPE_GEOLOCATION = 1 << 7 , CEF_PERMISSION_TYPE_IDLE_DETECTION = 1 << 8 , CEF_PERMISSION_TYPE_MIC_STREAM = 1 << 9 , CEF_PERMISSION_TYPE_MIDI_SYSEX = 1 << 10 ,
  CEF_PERMISSION_TYPE_MULTIPLE_DOWNLOADS = 1 << 11 , CEF_PERMISSION_TYPE_NOTIFICATIONS = 1 << 12 , CEF_PERMISSION_TYPE_PROTECTED_MEDIA_IDENTIFIER = 1 << 13 , CEF_PERMISSION_TYPE_REGISTER_PROTOCOL_HANDLER = 1 << 14 ,
  CEF_PERMISSION_TYPE_SECURITY_ATTESTATION = 1 << 15 , CEF_PERMISSION_TYPE_STORAGE_ACCESS = 1 << 16 , CEF_PERMISSION_TYPE_U2F_API_REQUEST = 1 << 17 , CEF_PERMISSION_TYPE_VR_SESSION = 1 << 18 ,
  CEF_PERMISSION_TYPE_WINDOW_MANAGEMENT = 1 << 19
}
 Permission types used with OnShowPermissionPrompt. More...
 
enum  cef_permission_request_result_t { CEF_PERMISSION_RESULT_ACCEPT , CEF_PERMISSION_RESULT_DENY , CEF_PERMISSION_RESULT_DISMISS , CEF_PERMISSION_RESULT_IGNORE }
 Permission request results. More...
 
enum  cef_test_cert_type_t { CEF_TEST_CERT_OK_IP , CEF_TEST_CERT_OK_DOMAIN , CEF_TEST_CERT_EXPIRED }
 Certificate types supported by CefTestServer::CreateAndStart. More...
 
enum  cef_preferences_type_t { CEF_PREFERENCES_TYPE_GLOBAL , CEF_PREFERENCES_TYPE_REQUEST_CONTEXT }
 Preferences type passed to CefBrowserProcessHandler::OnRegisterCustomPreferences. More...
 

Macro Definition Documentation

◆ CefColorGetA

#define CefColorGetA (   color)    (((color) >> 24) & 0xFF)

◆ CefColorGetB

#define CefColorGetB (   color)    (((color) >> 0) & 0xFF)

◆ CefColorGetG

#define CefColorGetG (   color)    (((color) >> 8) & 0xFF)

◆ CefColorGetR

#define CefColorGetR (   color)    (((color) >> 16) & 0xFF)

◆ CefColorSetARGB

#define CefColorSetARGB (   a,
  r,
  g,
 
)
Value:
static_cast<cef_color_t>( \
(static_cast<unsigned>(a) << 24) | (static_cast<unsigned>(r) << 16) | \
(static_cast<unsigned>(g) << 8) | (static_cast<unsigned>(b) << 0))
uint32 cef_color_t
Definition: cef_types.h:51

◆ CefInt64GetHigh

#define CefInt64GetHigh (   int64_val)     static_cast<int32>((static_cast<int64>(int64_val) >> 32) & 0xFFFFFFFFL)

◆ CefInt64GetLow

#define CefInt64GetLow (   int64_val)    static_cast<int32>(int64_val)

◆ CefInt64Set

#define CefInt64Set (   int32_low,
  int32_high 
)
Value:
static_cast<int64>((static_cast<uint32>(int32_low)) | \
(static_cast<int64>(static_cast<int32>(int32_high))) \
<< 32)
unsigned int uint32
Definition: cef_basictypes.h:64
int int32
Definition: cef_basictypes.h:57
long long int64
Definition: cef_basictypes.h:49

◆ NET_ERROR

#define NET_ERROR (   label,
  value 
)    ERR_##label = value,

Typedef Documentation

◆ cef_color_t

Enumeration Type Documentation

◆ cef_alpha_type_t

Describes how to interpret the alpha component of a pixel.

Enumerator
CEF_ALPHA_TYPE_OPAQUE 

No transparency.

The alpha component is ignored.

CEF_ALPHA_TYPE_PREMULTIPLIED 

Transparency with pre-multiplied alpha component.

CEF_ALPHA_TYPE_POSTMULTIPLIED 

Transparency with post-multiplied alpha component.

◆ cef_button_state_t

Specifies the button display state.

Enumerator
CEF_BUTTON_STATE_NORMAL 
CEF_BUTTON_STATE_HOVERED 
CEF_BUTTON_STATE_PRESSED 
CEF_BUTTON_STATE_DISABLED 

◆ cef_cert_status_t

Supported certificate status code values.

See net\cert\cert_status_flags.h for more information. CERT_STATUS_NONE is new in CEF because we use an enum while cert_status_flags.h uses a typedef and static const variables.

Enumerator
CERT_STATUS_NONE 
CERT_STATUS_COMMON_NAME_INVALID 
CERT_STATUS_DATE_INVALID 
CERT_STATUS_AUTHORITY_INVALID 
CERT_STATUS_NO_REVOCATION_MECHANISM 
CERT_STATUS_UNABLE_TO_CHECK_REVOCATION 
CERT_STATUS_REVOKED 
CERT_STATUS_INVALID 
CERT_STATUS_WEAK_SIGNATURE_ALGORITHM 
CERT_STATUS_NON_UNIQUE_NAME 
CERT_STATUS_WEAK_KEY 
CERT_STATUS_PINNED_KEY_MISSING 
CERT_STATUS_NAME_CONSTRAINT_VIOLATION 
CERT_STATUS_VALIDITY_TOO_LONG 
CERT_STATUS_IS_EV 
CERT_STATUS_REV_CHECKING_ENABLED 
CERT_STATUS_SHA1_SIGNATURE_PRESENT 
CERT_STATUS_CT_COMPLIANCE_FAILED 

◆ cef_channel_layout_t

Enumerates the various representations of the ordering of audio channels.

Must be kept synchronized with media::ChannelLayout from Chromium. See media\base\channel_layout.h

Enumerator
CEF_CHANNEL_LAYOUT_NONE 
CEF_CHANNEL_LAYOUT_UNSUPPORTED 
CEF_CHANNEL_LAYOUT_MONO 

Front C.

CEF_CHANNEL_LAYOUT_STEREO 

Front L, Front R.

CEF_CHANNEL_LAYOUT_2_1 

Front L, Front R, Back C.

CEF_CHANNEL_LAYOUT_SURROUND 

Front L, Front R, Front C.

CEF_CHANNEL_LAYOUT_4_0 

Front L, Front R, Front C, Back C.

CEF_CHANNEL_LAYOUT_2_2 

Front L, Front R, Side L, Side R.

CEF_CHANNEL_LAYOUT_QUAD 

Front L, Front R, Back L, Back R.

CEF_CHANNEL_LAYOUT_5_0 

Front L, Front R, Front C, Side L, Side R.

CEF_CHANNEL_LAYOUT_5_1 

Front L, Front R, Front C, LFE, Side L, Side R.

CEF_CHANNEL_LAYOUT_5_0_BACK 

Front L, Front R, Front C, Back L, Back R.

CEF_CHANNEL_LAYOUT_5_1_BACK 

Front L, Front R, Front C, LFE, Back L, Back R.

CEF_CHANNEL_LAYOUT_7_0 

Front L, Front R, Front C, Side L, Side R, Back L, Back R.

CEF_CHANNEL_LAYOUT_7_1 

Front L, Front R, Front C, LFE, Side L, Side R, Back L, Back R.

CEF_CHANNEL_LAYOUT_7_1_WIDE 

Front L, Front R, Front C, LFE, Side L, Side R, Front LofC, Front RofC.

CEF_CHANNEL_LAYOUT_STEREO_DOWNMIX 

Stereo L, Stereo R.

CEF_CHANNEL_LAYOUT_2POINT1 

Stereo L, Stereo R, LFE.

CEF_CHANNEL_LAYOUT_3_1 

Stereo L, Stereo R, Front C, LFE.

CEF_CHANNEL_LAYOUT_4_1 

Stereo L, Stereo R, Front C, Rear C, LFE.

CEF_CHANNEL_LAYOUT_6_0 

Stereo L, Stereo R, Front C, Side L, Side R, Back C.

CEF_CHANNEL_LAYOUT_6_0_FRONT 

Stereo L, Stereo R, Side L, Side R, Front LofC, Front RofC.

CEF_CHANNEL_LAYOUT_HEXAGONAL 

Stereo L, Stereo R, Front C, Rear L, Rear R, Rear C.

CEF_CHANNEL_LAYOUT_6_1 

Stereo L, Stereo R, Front C, LFE, Side L, Side R, Rear Center.

CEF_CHANNEL_LAYOUT_6_1_BACK 

Stereo L, Stereo R, Front C, LFE, Back L, Back R, Rear Center.

CEF_CHANNEL_LAYOUT_6_1_FRONT 

Stereo L, Stereo R, Side L, Side R, Front LofC, Front RofC, LFE.

CEF_CHANNEL_LAYOUT_7_0_FRONT 

Front L, Front R, Front C, Side L, Side R, Front LofC, Front RofC.

CEF_CHANNEL_LAYOUT_7_1_WIDE_BACK 

Front L, Front R, Front C, LFE, Back L, Back R, Front LofC, Front RofC.

CEF_CHANNEL_LAYOUT_OCTAGONAL 

Front L, Front R, Front C, Side L, Side R, Rear L, Back R, Back C.

CEF_CHANNEL_LAYOUT_DISCRETE 

Channels are not explicitly mapped to speakers.

CEF_CHANNEL_LAYOUT_STEREO_AND_KEYBOARD_MIC 

Front L, Front R, Front C.

Front C contains the keyboard mic audio. This layout is only intended for input for WebRTC. The Front C channel is stripped away in the WebRTC audio input pipeline and never seen outside of that.

CEF_CHANNEL_LAYOUT_4_1_QUAD_SIDE 

Front L, Front R, Side L, Side R, LFE.

CEF_CHANNEL_LAYOUT_BITSTREAM 

Actual channel layout is specified in the bitstream and the actual channel count is unknown at Chromium media pipeline level (useful for audio pass-through mode).

CEF_CHANNEL_LAYOUT_5_1_4_DOWNMIX 

Front L, Front R, Front C, LFE, Side L, Side R, Front Height L, Front Height R, Rear Height L, Rear Height R Will be represented as six channels (5.1) due to eight channel limit kMaxConcurrentChannels.

CEF_CHANNEL_LAYOUT_MAX 

Max value, must always equal the largest entry ever logged.

◆ cef_chrome_toolbar_type_t

Supported Chrome toolbar types.

Enumerator
CEF_CTT_NONE 
CEF_CTT_NORMAL 
CEF_CTT_LOCATION 

◆ cef_color_model_t

Print job color mode values.

Enumerator
COLOR_MODEL_UNKNOWN 
COLOR_MODEL_GRAY 
COLOR_MODEL_COLOR 
COLOR_MODEL_CMYK 
COLOR_MODEL_CMY 
COLOR_MODEL_KCMY 
COLOR_MODEL_CMY_K 
COLOR_MODEL_BLACK 
COLOR_MODEL_GRAYSCALE 
COLOR_MODEL_RGB 
COLOR_MODEL_RGB16 
COLOR_MODEL_RGBA 
COLOR_MODEL_COLORMODE_COLOR 
COLOR_MODEL_COLORMODE_MONOCHROME 
COLOR_MODEL_HP_COLOR_COLOR 
COLOR_MODEL_HP_COLOR_BLACK 
COLOR_MODEL_PRINTOUTMODE_NORMAL 
COLOR_MODEL_PRINTOUTMODE_NORMAL_GRAY 
COLOR_MODEL_PROCESSCOLORMODEL_CMYK 
COLOR_MODEL_PROCESSCOLORMODEL_GREYSCALE 
COLOR_MODEL_PROCESSCOLORMODEL_RGB 

◆ cef_color_type_t

Describes how to interpret the components of a pixel.

Enumerator
CEF_COLOR_TYPE_RGBA_8888 

RGBA with 8 bits per pixel (32bits total).

CEF_COLOR_TYPE_BGRA_8888 

BGRA with 8 bits per pixel (32bits total).

◆ cef_com_init_mode_t

Windows COM initialization mode.

Specifies how COM will be initialized for a new thread.

Enumerator
COM_INIT_MODE_NONE 

No COM initialization.

COM_INIT_MODE_STA 

Initialize COM using single-threaded apartments.

COM_INIT_MODE_MTA 

Initialize COM using multi-threaded apartments.

◆ cef_composition_underline_style_t

Composition underline style.

Enumerator
CEF_CUS_SOLID 
CEF_CUS_DOT 
CEF_CUS_DASH 
CEF_CUS_NONE 

◆ cef_context_menu_edit_state_flags_t

Supported context menu edit state bit flags.

These constants match their equivalents in Chromium's ContextMenuDataEditFlags and should not be renumbered.

Enumerator
CM_EDITFLAG_NONE 
CM_EDITFLAG_CAN_UNDO 
CM_EDITFLAG_CAN_REDO 
CM_EDITFLAG_CAN_CUT 
CM_EDITFLAG_CAN_COPY 
CM_EDITFLAG_CAN_PASTE 
CM_EDITFLAG_CAN_DELETE 
CM_EDITFLAG_CAN_SELECT_ALL 
CM_EDITFLAG_CAN_TRANSLATE 
CM_EDITFLAG_CAN_EDIT_RICHLY 

◆ cef_context_menu_media_state_flags_t

Supported context menu media state bit flags.

These constants match their equivalents in Chromium's ContextMenuData::MediaFlags and should not be renumbered.

Enumerator
CM_MEDIAFLAG_NONE 
CM_MEDIAFLAG_IN_ERROR 
CM_MEDIAFLAG_PAUSED 
CM_MEDIAFLAG_MUTED 
CM_MEDIAFLAG_LOOP 
CM_MEDIAFLAG_CAN_SAVE 
CM_MEDIAFLAG_HAS_AUDIO 
CM_MEDIAFLAG_CAN_TOGGLE_CONTROLS 
CM_MEDIAFLAG_CONTROLS 
CM_MEDIAFLAG_CAN_PRINT 
CM_MEDIAFLAG_CAN_ROTATE 
CM_MEDIAFLAG_CAN_PICTURE_IN_PICTURE 
CM_MEDIAFLAG_PICTURE_IN_PICTURE 
CM_MEDIAFLAG_CAN_LOOP 

◆ cef_context_menu_media_type_t

Supported context menu media types.

These constants match their equivalents in Chromium's ContextMenuDataMediaType and should not be renumbered.

Enumerator
CM_MEDIATYPE_NONE 

No special node is in context.

CM_MEDIATYPE_IMAGE 

An image node is selected.

CM_MEDIATYPE_VIDEO 

A video node is selected.

CM_MEDIATYPE_AUDIO 

An audio node is selected.

CM_MEDIATYPE_CANVAS 

An canvas node is selected.

CM_MEDIATYPE_FILE 

A file node is selected.

CM_MEDIATYPE_PLUGIN 

A plugin node is selected.

◆ cef_context_menu_type_flags_t

Supported context menu type flags.

Enumerator
CM_TYPEFLAG_NONE 

No node is selected.

CM_TYPEFLAG_PAGE 

The top page is selected.

CM_TYPEFLAG_FRAME 

A subframe page is selected.

CM_TYPEFLAG_LINK 

A link is selected.

CM_TYPEFLAG_MEDIA 

A media node is selected.

CM_TYPEFLAG_SELECTION 

There is a textual or mixed selection that is selected.

CM_TYPEFLAG_EDITABLE 

An editable element is selected.

◆ cef_cookie_priority_t

Cookie priority values.

Enumerator
CEF_COOKIE_PRIORITY_LOW 
CEF_COOKIE_PRIORITY_MEDIUM 
CEF_COOKIE_PRIORITY_HIGH 

◆ cef_cookie_same_site_t

Cookie same site values.

Enumerator
CEF_COOKIE_SAME_SITE_UNSPECIFIED 
CEF_COOKIE_SAME_SITE_NO_RESTRICTION 
CEF_COOKIE_SAME_SITE_LAX_MODE 
CEF_COOKIE_SAME_SITE_STRICT_MODE 

◆ cef_cross_axis_alignment_t

Specifies where along the cross axis the CefBoxLayout child views should be laid out.

Enumerator
CEF_CROSS_AXIS_ALIGNMENT_STRETCH 

Child views will be stretched to fit.

CEF_CROSS_AXIS_ALIGNMENT_START 

Child views will be left-aligned.

CEF_CROSS_AXIS_ALIGNMENT_CENTER 

Child views will be center-aligned.

CEF_CROSS_AXIS_ALIGNMENT_END 

Child views will be right-aligned.

◆ cef_cursor_type_t

Cursor type values.

Enumerator
CT_POINTER 
CT_CROSS 
CT_HAND 
CT_IBEAM 
CT_WAIT 
CT_HELP 
CT_EASTRESIZE 
CT_NORTHRESIZE 
CT_NORTHEASTRESIZE 
CT_NORTHWESTRESIZE 
CT_SOUTHRESIZE 
CT_SOUTHEASTRESIZE 
CT_SOUTHWESTRESIZE 
CT_WESTRESIZE 
CT_NORTHSOUTHRESIZE 
CT_EASTWESTRESIZE 
CT_NORTHEASTSOUTHWESTRESIZE 
CT_NORTHWESTSOUTHEASTRESIZE 
CT_COLUMNRESIZE 
CT_ROWRESIZE 
CT_MIDDLEPANNING 
CT_EASTPANNING 
CT_NORTHPANNING 
CT_NORTHEASTPANNING 
CT_NORTHWESTPANNING 
CT_SOUTHPANNING 
CT_SOUTHEASTPANNING 
CT_SOUTHWESTPANNING 
CT_WESTPANNING 
CT_MOVE 
CT_VERTICALTEXT 
CT_CELL 
CT_CONTEXTMENU 
CT_ALIAS 
CT_PROGRESS 
CT_NODROP 
CT_COPY 
CT_NONE 
CT_NOTALLOWED 
CT_ZOOMIN 
CT_ZOOMOUT 
CT_GRAB 
CT_GRABBING 
CT_MIDDLE_PANNING_VERTICAL 
CT_MIDDLE_PANNING_HORIZONTAL 
CT_CUSTOM 
CT_DND_NONE 
CT_DND_MOVE 
CT_DND_COPY 
CT_DND_LINK 

◆ cef_docking_mode_t

Docking modes supported by CefWindow::AddOverlay.

Enumerator
CEF_DOCKING_MODE_TOP_LEFT 
CEF_DOCKING_MODE_TOP_RIGHT 
CEF_DOCKING_MODE_BOTTOM_LEFT 
CEF_DOCKING_MODE_BOTTOM_RIGHT 
CEF_DOCKING_MODE_CUSTOM 

◆ cef_dom_document_type_t

DOM document types.

Enumerator
DOM_DOCUMENT_TYPE_UNKNOWN 
DOM_DOCUMENT_TYPE_HTML 
DOM_DOCUMENT_TYPE_XHTML 
DOM_DOCUMENT_TYPE_PLUGIN 

◆ cef_dom_event_category_t

DOM event category flags.

Enumerator
DOM_EVENT_CATEGORY_UNKNOWN 
DOM_EVENT_CATEGORY_UI 
DOM_EVENT_CATEGORY_MOUSE 
DOM_EVENT_CATEGORY_MUTATION 
DOM_EVENT_CATEGORY_KEYBOARD 
DOM_EVENT_CATEGORY_TEXT 
DOM_EVENT_CATEGORY_COMPOSITION 
DOM_EVENT_CATEGORY_DRAG 
DOM_EVENT_CATEGORY_CLIPBOARD 
DOM_EVENT_CATEGORY_MESSAGE 
DOM_EVENT_CATEGORY_WHEEL 
DOM_EVENT_CATEGORY_BEFORE_TEXT_INSERTED 
DOM_EVENT_CATEGORY_OVERFLOW 
DOM_EVENT_CATEGORY_PAGE_TRANSITION 
DOM_EVENT_CATEGORY_POPSTATE 
DOM_EVENT_CATEGORY_PROGRESS 
DOM_EVENT_CATEGORY_XMLHTTPREQUEST_PROGRESS 

◆ cef_dom_event_phase_t

DOM event processing phases.

Enumerator
DOM_EVENT_PHASE_UNKNOWN 
DOM_EVENT_PHASE_CAPTURING 
DOM_EVENT_PHASE_AT_TARGET 
DOM_EVENT_PHASE_BUBBLING 

◆ cef_dom_node_type_t

DOM node types.

Enumerator
DOM_NODE_TYPE_UNSUPPORTED 
DOM_NODE_TYPE_ELEMENT 
DOM_NODE_TYPE_ATTRIBUTE 
DOM_NODE_TYPE_TEXT 
DOM_NODE_TYPE_CDATA_SECTION 
DOM_NODE_TYPE_PROCESSING_INSTRUCTIONS 
DOM_NODE_TYPE_COMMENT 
DOM_NODE_TYPE_DOCUMENT 
DOM_NODE_TYPE_DOCUMENT_TYPE 
DOM_NODE_TYPE_DOCUMENT_FRAGMENT 

◆ cef_drag_operations_mask_t

"Verb" of a drag-and-drop operation as negotiated between the source and destination.

These constants match their equivalents in WebCore's DragActions.h and should not be renumbered.

Enumerator
DRAG_OPERATION_NONE 
DRAG_OPERATION_COPY 
DRAG_OPERATION_LINK 
DRAG_OPERATION_GENERIC 
DRAG_OPERATION_PRIVATE 
DRAG_OPERATION_MOVE 
DRAG_OPERATION_DELETE 
DRAG_OPERATION_EVERY 

◆ cef_duplex_mode_t

Print job duplex mode values.

Enumerator
DUPLEX_MODE_UNKNOWN 
DUPLEX_MODE_SIMPLEX 
DUPLEX_MODE_LONG_EDGE 
DUPLEX_MODE_SHORT_EDGE 

◆ cef_errorcode_t

Supported error code values.

For the complete list of error values see "include/base/internal/cef_net_error_list.h".

Enumerator
ERR_NONE 

◆ cef_event_flags_t

Supported event bit flags.

Enumerator
EVENTFLAG_NONE 
EVENTFLAG_CAPS_LOCK_ON 
EVENTFLAG_SHIFT_DOWN 
EVENTFLAG_CONTROL_DOWN 
EVENTFLAG_ALT_DOWN 
EVENTFLAG_LEFT_MOUSE_BUTTON 
EVENTFLAG_MIDDLE_MOUSE_BUTTON 
EVENTFLAG_RIGHT_MOUSE_BUTTON 
EVENTFLAG_COMMAND_DOWN 

Mac OS-X command key.

EVENTFLAG_NUM_LOCK_ON 
EVENTFLAG_IS_KEY_PAD 
EVENTFLAG_IS_LEFT 
EVENTFLAG_IS_RIGHT 
EVENTFLAG_ALTGR_DOWN 
EVENTFLAG_IS_REPEAT 

◆ cef_file_dialog_mode_t

Supported file dialog modes.

Enumerator
FILE_DIALOG_OPEN 

Requires that the file exists before allowing the user to pick it.

FILE_DIALOG_OPEN_MULTIPLE 

Like Open, but allows picking multiple files to open.

FILE_DIALOG_OPEN_FOLDER 

Like Open, but selects a folder to open.

FILE_DIALOG_SAVE 

Allows picking a nonexistent file, and prompts to overwrite if the file already exists.

◆ cef_focus_source_t

Focus sources.

Enumerator
FOCUS_SOURCE_NAVIGATION 

The source is explicit navigation via the API (LoadURL(), etc).

FOCUS_SOURCE_SYSTEM 

The source is a system-generated focus event.

◆ cef_horizontal_alignment_t

Specifies the horizontal text alignment mode.

Enumerator
CEF_HORIZONTAL_ALIGNMENT_LEFT 

Align the text's left edge with that of its display area.

CEF_HORIZONTAL_ALIGNMENT_CENTER 

Align the text's center with that of its display area.

CEF_HORIZONTAL_ALIGNMENT_RIGHT 

Align the text's right edge with that of its display area.

◆ cef_jsdialog_type_t

Supported JavaScript dialog types.

Enumerator
JSDIALOGTYPE_ALERT 
JSDIALOGTYPE_CONFIRM 
JSDIALOGTYPE_PROMPT 

◆ cef_json_parser_options_t

Options that can be passed to CefParseJSON.

Enumerator
JSON_PARSER_RFC 

Parses the input strictly according to RFC 4627.

See comments in Chromium's base/json/json_reader.h file for known limitations/ deviations from the RFC.

JSON_PARSER_ALLOW_TRAILING_COMMAS 

Allows commas to exist after the last element in structures.

◆ cef_json_writer_options_t

Options that can be passed to CefWriteJSON.

Enumerator
JSON_WRITER_DEFAULT 

Default behavior.

JSON_WRITER_OMIT_BINARY_VALUES 

This option instructs the writer that if a Binary value is encountered, the value (and key if within a dictionary) will be omitted from the output, and success will be returned.

Otherwise, if a binary value is encountered, failure will be returned.

JSON_WRITER_OMIT_DOUBLE_TYPE_PRESERVATION 

This option instructs the writer to write doubles that have no fractional part as a normal integer (i.e., without using exponential notation or appending a '.0') as long as the value is within the range of a 64-bit int.

JSON_WRITER_PRETTY_PRINT 

Return a slightly nicer formatted json string (pads with whitespace to help with readability).

◆ cef_key_event_type_t

Key event types.

Enumerator
KEYEVENT_RAWKEYDOWN 

Notification that a key transitioned from "up" to "down".

KEYEVENT_KEYDOWN 

Notification that a key was pressed.

This does not necessarily correspond to a character depending on the key and language. Use KEYEVENT_CHAR for character input.

KEYEVENT_KEYUP 

Notification that a key was released.

KEYEVENT_CHAR 

Notification that a character was typed.

Use this for text input. Key down events may generate 0, 1, or more than one character event depending on the key, locale, and operating system.

◆ cef_log_severity_t

Log severity levels.

Enumerator
LOGSEVERITY_DEFAULT 

Default logging (currently INFO logging).

LOGSEVERITY_VERBOSE 

Verbose logging.

LOGSEVERITY_DEBUG 

DEBUG logging.

LOGSEVERITY_INFO 

INFO logging.

LOGSEVERITY_WARNING 

WARNING logging.

LOGSEVERITY_ERROR 

ERROR logging.

LOGSEVERITY_FATAL 

FATAL logging.

LOGSEVERITY_DISABLE 

Disable logging to file for all messages, and to stderr for messages with severity less than FATAL.

◆ cef_main_axis_alignment_t

Specifies where along the main axis the CefBoxLayout child views should be laid out.

Enumerator
CEF_MAIN_AXIS_ALIGNMENT_START 

Child views will be left-aligned.

CEF_MAIN_AXIS_ALIGNMENT_CENTER 

Child views will be center-aligned.

CEF_MAIN_AXIS_ALIGNMENT_END 

Child views will be right-aligned.

◆ cef_media_access_permission_types_t

Media access permissions used by OnRequestMediaAccessPermission.

Enumerator
CEF_MEDIA_PERMISSION_NONE 

No permission.

CEF_MEDIA_PERMISSION_DEVICE_AUDIO_CAPTURE 

Device audio capture permission.

CEF_MEDIA_PERMISSION_DEVICE_VIDEO_CAPTURE 

Device video capture permission.

CEF_MEDIA_PERMISSION_DESKTOP_AUDIO_CAPTURE 

Desktop audio capture permission.

CEF_MEDIA_PERMISSION_DESKTOP_VIDEO_CAPTURE 

Desktop video capture permission.

◆ cef_media_route_connection_state_t

Connection state for a MediaRoute object.

Enumerator
CEF_MRCS_UNKNOWN 
CEF_MRCS_CONNECTING 
CEF_MRCS_CONNECTED 
CEF_MRCS_CLOSED 
CEF_MRCS_TERMINATED 

◆ cef_media_route_create_result_t

Result codes for CefMediaRouter::CreateRoute.

Should be kept in sync with Chromium's media_router::mojom::RouteRequestResultCode type.

Enumerator
CEF_MRCR_UNKNOWN_ERROR 
CEF_MRCR_OK 
CEF_MRCR_TIMED_OUT 
CEF_MRCR_ROUTE_NOT_FOUND 
CEF_MRCR_SINK_NOT_FOUND 
CEF_MRCR_INVALID_ORIGIN 
CEF_MRCR_NO_SUPPORTED_PROVIDER 
CEF_MRCR_CANCELLED 
CEF_MRCR_ROUTE_ALREADY_EXISTS 
CEF_MRCR_ROUTE_ALREADY_TERMINATED 

◆ cef_media_sink_icon_type_t

Icon types for a MediaSink object.

Should be kept in sync with Chromium's media_router::SinkIconType type.

Enumerator
CEF_MSIT_CAST 
CEF_MSIT_CAST_AUDIO_GROUP 
CEF_MSIT_CAST_AUDIO 
CEF_MSIT_MEETING 
CEF_MSIT_HANGOUT 
CEF_MSIT_EDUCATION 
CEF_MSIT_WIRED_DISPLAY 
CEF_MSIT_GENERIC 
CEF_MSIT_TOTAL_COUNT 

◆ cef_menu_anchor_position_t

Specifies how a menu will be anchored for non-RTL languages.

The opposite position will be used for RTL languages.

Enumerator
CEF_MENU_ANCHOR_TOPLEFT 
CEF_MENU_ANCHOR_TOPRIGHT 
CEF_MENU_ANCHOR_BOTTOMCENTER 

◆ cef_menu_color_type_t

Supported color types for menu items.

Enumerator
CEF_MENU_COLOR_TEXT 
CEF_MENU_COLOR_TEXT_HOVERED 
CEF_MENU_COLOR_TEXT_ACCELERATOR 
CEF_MENU_COLOR_TEXT_ACCELERATOR_HOVERED 
CEF_MENU_COLOR_BACKGROUND 
CEF_MENU_COLOR_BACKGROUND_HOVERED 
CEF_MENU_COLOR_COUNT 

◆ cef_menu_id_t

Supported menu IDs.

Non-English translations can be provided for the IDS_MENU_* strings in CefResourceBundleHandler::GetLocalizedString().

Enumerator
MENU_ID_BACK 
MENU_ID_FORWARD 
MENU_ID_RELOAD 
MENU_ID_RELOAD_NOCACHE 
MENU_ID_STOPLOAD 
MENU_ID_UNDO 
MENU_ID_REDO 
MENU_ID_CUT 
MENU_ID_COPY 
MENU_ID_PASTE 
MENU_ID_DELETE 
MENU_ID_SELECT_ALL 
MENU_ID_FIND 
MENU_ID_PRINT 
MENU_ID_VIEW_SOURCE 
MENU_ID_SPELLCHECK_SUGGESTION_0 
MENU_ID_SPELLCHECK_SUGGESTION_1 
MENU_ID_SPELLCHECK_SUGGESTION_2 
MENU_ID_SPELLCHECK_SUGGESTION_3 
MENU_ID_SPELLCHECK_SUGGESTION_4 
MENU_ID_SPELLCHECK_SUGGESTION_LAST 
MENU_ID_NO_SPELLING_SUGGESTIONS 
MENU_ID_ADD_TO_DICTIONARY 
MENU_ID_CUSTOM_FIRST 
MENU_ID_CUSTOM_LAST 
MENU_ID_USER_FIRST 
MENU_ID_USER_LAST 

◆ cef_menu_item_type_t

Supported menu item types.

Enumerator
MENUITEMTYPE_NONE 
MENUITEMTYPE_COMMAND 
MENUITEMTYPE_CHECK 
MENUITEMTYPE_RADIO 
MENUITEMTYPE_SEPARATOR 
MENUITEMTYPE_SUBMENU 

◆ cef_message_loop_type_t

Message loop types.

Indicates the set of asynchronous events that a message loop can process.

Enumerator
ML_TYPE_DEFAULT 

Supports tasks and timers.

ML_TYPE_UI 

Supports tasks, timers and native UI events (e.g.

Windows messages).

ML_TYPE_IO 

Supports tasks, timers and asynchronous IO events.

◆ cef_mouse_button_type_t

Mouse button types.

Enumerator
MBT_LEFT 
MBT_MIDDLE 
MBT_RIGHT 

◆ cef_navigation_type_t

Navigation types.

Enumerator
NAVIGATION_LINK_CLICKED 
NAVIGATION_FORM_SUBMITTED 
NAVIGATION_BACK_FORWARD 
NAVIGATION_RELOAD 
NAVIGATION_FORM_RESUBMITTED 
NAVIGATION_OTHER 

◆ cef_paint_element_type_t

Paint element types.

Enumerator
PET_VIEW 
PET_POPUP 

◆ cef_path_key_t

Path key values.

Enumerator
PK_DIR_CURRENT 

Current directory.

PK_DIR_EXE 

Directory containing PK_FILE_EXE.

PK_DIR_MODULE 

Directory containing PK_FILE_MODULE.

PK_DIR_TEMP 

Temporary directory.

PK_FILE_EXE 

Path and filename of the current executable.

PK_FILE_MODULE 

Path and filename of the module containing the CEF code (usually the libcef module).

PK_LOCAL_APP_DATA 

"Local Settings\Application Data" directory under the user profile directory on Windows.

PK_USER_DATA 

"Application Data" directory under the user profile directory on Windows and "~/Library/Application Support" directory on MacOS.

PK_DIR_RESOURCES 

Directory containing application resources.

Can be configured via CefSettings.resources_dir_path.

◆ cef_pdf_print_margin_type_t

Margin type for PDF printing.

Enumerator
PDF_PRINT_MARGIN_DEFAULT 

Default margins of 1cm (~0.4 inches).

PDF_PRINT_MARGIN_NONE 

No margins.

PDF_PRINT_MARGIN_CUSTOM 

Custom margins using the |margin_*| values from cef_pdf_print_settings_t.

◆ cef_permission_request_result_t

Permission request results.

Enumerator
CEF_PERMISSION_RESULT_ACCEPT 

Accept the permission request as an explicit user action.

CEF_PERMISSION_RESULT_DENY 

Deny the permission request as an explicit user action.

CEF_PERMISSION_RESULT_DISMISS 

Dismiss the permission request as an explicit user action.

CEF_PERMISSION_RESULT_IGNORE 

Ignore the permission request.

If the prompt remains unhandled (e.g. OnShowPermissionPrompt returns false and there is no default permissions UI) then any related promises may remain unresolved.

◆ cef_permission_request_types_t

Permission types used with OnShowPermissionPrompt.

Some types are platform-specific or only supported with the Chrome runtime. Should be kept in sync with Chromium's permissions::RequestType type.

Enumerator
CEF_PERMISSION_TYPE_NONE 
CEF_PERMISSION_TYPE_ACCESSIBILITY_EVENTS 
CEF_PERMISSION_TYPE_AR_SESSION 
CEF_PERMISSION_TYPE_CAMERA_PAN_TILT_ZOOM 
CEF_PERMISSION_TYPE_CAMERA_STREAM 
CEF_PERMISSION_TYPE_CLIPBOARD 
CEF_PERMISSION_TYPE_DISK_QUOTA 
CEF_PERMISSION_TYPE_LOCAL_FONTS 
CEF_PERMISSION_TYPE_GEOLOCATION 
CEF_PERMISSION_TYPE_IDLE_DETECTION 
CEF_PERMISSION_TYPE_MIC_STREAM 
CEF_PERMISSION_TYPE_MIDI_SYSEX 
CEF_PERMISSION_TYPE_MULTIPLE_DOWNLOADS 
CEF_PERMISSION_TYPE_NOTIFICATIONS 
CEF_PERMISSION_TYPE_PROTECTED_MEDIA_IDENTIFIER 
CEF_PERMISSION_TYPE_REGISTER_PROTOCOL_HANDLER 
CEF_PERMISSION_TYPE_SECURITY_ATTESTATION 
CEF_PERMISSION_TYPE_STORAGE_ACCESS 
CEF_PERMISSION_TYPE_U2F_API_REQUEST 
CEF_PERMISSION_TYPE_VR_SESSION 
CEF_PERMISSION_TYPE_WINDOW_MANAGEMENT 

◆ cef_pointer_type_t

The device type that caused the event.

Enumerator
CEF_POINTER_TYPE_TOUCH 
CEF_POINTER_TYPE_MOUSE 
CEF_POINTER_TYPE_PEN 
CEF_POINTER_TYPE_ERASER 
CEF_POINTER_TYPE_UNKNOWN 

◆ cef_postdataelement_type_t

Post data elements may represent either bytes or files.

Enumerator
PDE_TYPE_EMPTY 
PDE_TYPE_BYTES 
PDE_TYPE_FILE 

◆ cef_preferences_type_t

Preferences type passed to CefBrowserProcessHandler::OnRegisterCustomPreferences.

Enumerator
CEF_PREFERENCES_TYPE_GLOBAL 

Global preferences registered a single time at application startup.

CEF_PREFERENCES_TYPE_REQUEST_CONTEXT 

Request context preferences registered each time a new CefRequestContext is created.

◆ cef_process_id_t

Existing process IDs.

Enumerator
PID_BROWSER 

Browser process.

PID_RENDERER 

Renderer process.

◆ cef_quick_menu_edit_state_flags_t

Supported quick menu state bit flags.

Enumerator
QM_EDITFLAG_NONE 
QM_EDITFLAG_CAN_ELLIPSIS 
QM_EDITFLAG_CAN_CUT 
QM_EDITFLAG_CAN_COPY 
QM_EDITFLAG_CAN_PASTE 

◆ cef_referrer_policy_t

Policy for how the Referrer HTTP header value will be sent during navigation.

If the --no-referrers command-line flag is specified then the policy value will be ignored and the Referrer value will never be sent. Must be kept synchronized with net::URLRequest::ReferrerPolicy from Chromium.

Enumerator
REFERRER_POLICY_CLEAR_REFERRER_ON_TRANSITION_FROM_SECURE_TO_INSECURE 

Clear the referrer header if the header value is HTTPS but the request destination is HTTP.

This is the default behavior.

REFERRER_POLICY_DEFAULT 
REFERRER_POLICY_REDUCE_REFERRER_GRANULARITY_ON_TRANSITION_CROSS_ORIGIN 

A slight variant on CLEAR_REFERRER_ON_TRANSITION_FROM_SECURE_TO_INSECURE: If the request destination is HTTP, an HTTPS referrer will be cleared.

If the request's destination is cross-origin with the referrer (but does not downgrade), the referrer's granularity will be stripped down to an origin rather than a full URL. Same-origin requests will send the full referrer.

REFERRER_POLICY_ORIGIN_ONLY_ON_TRANSITION_CROSS_ORIGIN 

Strip the referrer down to an origin when the origin of the referrer is different from the destination's origin.

REFERRER_POLICY_NEVER_CLEAR_REFERRER 

Never change the referrer.

REFERRER_POLICY_ORIGIN 

Strip the referrer down to the origin regardless of the redirect location.

REFERRER_POLICY_CLEAR_REFERRER_ON_TRANSITION_CROSS_ORIGIN 

Clear the referrer when the request's referrer is cross-origin with the request's destination.

REFERRER_POLICY_ORIGIN_CLEAR_ON_TRANSITION_FROM_SECURE_TO_INSECURE 

Strip the referrer down to the origin, but clear it entirely if the referrer value is HTTPS and the destination is HTTP.

REFERRER_POLICY_NO_REFERRER 

Always clear the referrer regardless of the request destination.

REFERRER_POLICY_LAST_VALUE 

Always the last value in this enumeration.

◆ cef_resource_type_t

Resource type for a request.

These constants match their equivalents in Chromium's ResourceType and should not be renumbered.

Enumerator
RT_MAIN_FRAME 

Top level page.

RT_SUB_FRAME 

Frame or iframe.

RT_STYLESHEET 

CSS stylesheet.

RT_SCRIPT 

External script.

RT_IMAGE 

Image (jpg/gif/png/etc).

RT_FONT_RESOURCE 

Font.

RT_SUB_RESOURCE 

Some other subresource.

This is the default type if the actual type is unknown.

RT_OBJECT 

Object (or embed) tag for a plugin, or a resource that a plugin requested.

RT_MEDIA 

Media resource.

RT_WORKER 

Main resource of a dedicated worker.

RT_SHARED_WORKER 

Main resource of a shared worker.

RT_PREFETCH 

Explicitly requested prefetch.

RT_FAVICON 

Favicon.

RT_XHR 

XMLHttpRequest.

RT_PING 

A request for a "<ping>".

RT_SERVICE_WORKER 

Main resource of a service worker.

RT_CSP_REPORT 

A report of Content Security Policy violations.

RT_PLUGIN_RESOURCE 

A resource that a plugin requested.

RT_NAVIGATION_PRELOAD_MAIN_FRAME 

A main-frame service worker navigation preload request.

RT_NAVIGATION_PRELOAD_SUB_FRAME 

A sub-frame service worker navigation preload request.

◆ cef_response_filter_status_t

Return values for CefResponseFilter::Filter().

Enumerator
RESPONSE_FILTER_NEED_MORE_DATA 

Some or all of the pre-filter data was read successfully but more data is needed in order to continue filtering (filtered output is pending).

RESPONSE_FILTER_DONE 

Some or all of the pre-filter data was read successfully and all available filtered output has been written.

RESPONSE_FILTER_ERROR 

An error occurred during filtering.

◆ cef_return_value_t

Return value types.

Enumerator
RV_CANCEL 

Cancel immediately.

RV_CONTINUE 

Continue immediately.

RV_CONTINUE_ASYNC 

Continue asynchronously (usually via a callback).

◆ cef_scale_factor_t

Supported UI scale factors for the platform.

SCALE_FACTOR_NONE is used for density independent resources such as string, html/js files or an image that can be used for any scale factors (such as wallpapers).

Enumerator
SCALE_FACTOR_NONE 
SCALE_FACTOR_100P 
SCALE_FACTOR_125P 
SCALE_FACTOR_133P 
SCALE_FACTOR_140P 
SCALE_FACTOR_150P 
SCALE_FACTOR_180P 
SCALE_FACTOR_200P 
SCALE_FACTOR_250P 
SCALE_FACTOR_300P 

◆ cef_scheme_options_t

Configuration options for registering a custom scheme.

These values are used when calling AddCustomScheme.

Enumerator
CEF_SCHEME_OPTION_NONE 
CEF_SCHEME_OPTION_STANDARD 

If CEF_SCHEME_OPTION_STANDARD is set the scheme will be treated as a standard scheme.

Standard schemes are subject to URL canonicalization and parsing rules as defined in the Common Internet Scheme Syntax RFC 1738 Section 3.1 available at http://www.ietf.org/rfc/rfc1738.txt In particular, the syntax for standard scheme URLs must be of the form:

   [scheme]://[username]:[password]@[host]:[port]/[url-path]
  

Standard scheme URLs must have a host component that is a fully qualified domain name as defined in Section 3.5 of RFC 1034 [13] and Section 2.1 of RFC 1123. These URLs will be canonicalized to "scheme://host/path" in the simplest case and "scheme://username:password@host:port/path" in the most explicit case. For example, "scheme:host/path" and "scheme:///host/path" will both be canonicalized to "scheme://host/path". The origin of a standard scheme URL is the combination of scheme, host and port (i.e., "scheme://host:port" in the most explicit case). For non-standard scheme URLs only the "scheme:" component is parsed and canonicalized. The remainder of the URL will be passed to the handler as- is. For example, "scheme:///some%20text" will remain the same. Non-standard scheme URLs cannot be used as a target for form submission.

CEF_SCHEME_OPTION_LOCAL 

If CEF_SCHEME_OPTION_LOCAL is set the scheme will be treated with the same security rules as those applied to "file" URLs.

Normal pages cannot link to or access local URLs. Also, by default, local URLs can only perform XMLHttpRequest calls to the same URL (origin + path) that originated the request. To allow XMLHttpRequest calls from a local URL to other URLs with the same origin set the CefSettings.file_access_from_file_urls_allowed value to true (1). To allow XMLHttpRequest calls from a local URL to all origins set the CefSettings.universal_access_from_file_urls_allowed value to true (1).

CEF_SCHEME_OPTION_DISPLAY_ISOLATED 

If CEF_SCHEME_OPTION_DISPLAY_ISOLATED is set the scheme can only be displayed from other content hosted with the same scheme.

For example, pages in other origins cannot create iframes or hyperlinks to URLs with the scheme. For schemes that must be accessible from other schemes don't set this, set CEF_SCHEME_OPTION_CORS_ENABLED, and use CORS "Access-Control-Allow-Origin" headers to further restrict access.

CEF_SCHEME_OPTION_SECURE 

If CEF_SCHEME_OPTION_SECURE is set the scheme will be treated with the same security rules as those applied to "https" URLs.

For example, loading this scheme from other secure schemes will not trigger mixed content warnings.

CEF_SCHEME_OPTION_CORS_ENABLED 

If CEF_SCHEME_OPTION_CORS_ENABLED is set the scheme can be sent CORS requests.

This value should be set in most cases where CEF_SCHEME_OPTION_STANDARD is set.

CEF_SCHEME_OPTION_CSP_BYPASSING 

If CEF_SCHEME_OPTION_CSP_BYPASSING is set the scheme can bypass Content- Security-Policy (CSP) checks.

This value should not be set in most cases where CEF_SCHEME_OPTION_STANDARD is set.

CEF_SCHEME_OPTION_FETCH_ENABLED 

If CEF_SCHEME_OPTION_FETCH_ENABLED is set the scheme can perform Fetch API requests.

◆ cef_show_state_t

Show states supported by CefWindowDelegate::GetInitialShowState.

Enumerator
CEF_SHOW_STATE_NORMAL 
CEF_SHOW_STATE_MINIMIZED 
CEF_SHOW_STATE_MAXIMIZED 
CEF_SHOW_STATE_FULLSCREEN 

◆ cef_ssl_content_status_t

Supported SSL content status flags.

See content/public/common/ssl_status.h for more information.

Enumerator
SSL_CONTENT_NORMAL_CONTENT 
SSL_CONTENT_DISPLAYED_INSECURE_CONTENT 
SSL_CONTENT_RAN_INSECURE_CONTENT 

◆ cef_ssl_version_t

Supported SSL version values.

See net/ssl/ssl_connection_status_flags.h for more information.

Enumerator
SSL_CONNECTION_VERSION_UNKNOWN 
SSL_CONNECTION_VERSION_SSL2 
SSL_CONNECTION_VERSION_SSL3 
SSL_CONNECTION_VERSION_TLS1 
SSL_CONNECTION_VERSION_TLS1_1 
SSL_CONNECTION_VERSION_TLS1_2 
SSL_CONNECTION_VERSION_TLS1_3 
SSL_CONNECTION_VERSION_QUIC 

◆ cef_state_t

Represents the state of a setting.

Enumerator
STATE_DEFAULT 

Use the default state for the setting.

STATE_ENABLED 

Enable or allow the setting.

STATE_DISABLED 

Disable or disallow the setting.

◆ cef_storage_type_t

Storage types.

Enumerator
ST_LOCALSTORAGE 
ST_SESSIONSTORAGE 

◆ cef_termination_status_t

Process termination status values.

Enumerator
TS_ABNORMAL_TERMINATION 

Non-zero exit status.

TS_PROCESS_WAS_KILLED 

SIGKILL or task manager kill.

TS_PROCESS_CRASHED 

Segmentation fault.

TS_PROCESS_OOM 

Out of memory.

Some platforms may use TS_PROCESS_CRASHED instead.

◆ cef_test_cert_type_t

Certificate types supported by CefTestServer::CreateAndStart.

The matching certificate file must exist in the "net/data/ssl/certificates" directory. See CefSetDataDirectoryForTests() for related configuration.

Enumerator
CEF_TEST_CERT_OK_IP 

Valid certificate using the IP (127.0.0.1). Loads the "ok_cert.pem" file.

CEF_TEST_CERT_OK_DOMAIN 

Valid certificate using the domain ("localhost").

Loads the "localhost_cert.pem" file.

CEF_TEST_CERT_EXPIRED 

Expired certificate. Loads the "expired_cert.pem" file.

◆ cef_text_field_commands_t

Represents commands available to TextField.

Enumerator
CEF_TFC_CUT 
CEF_TFC_COPY 
CEF_TFC_PASTE 
CEF_TFC_UNDO 
CEF_TFC_DELETE 
CEF_TFC_SELECT_ALL 

◆ cef_text_input_mode_t

Input mode of a virtual keyboard.

These constants match their equivalents in Chromium's text_input_mode.h and should not be renumbered. See https://html.spec.whatwg.org/#input-modalities:-the-inputmode-attribute

Enumerator
CEF_TEXT_INPUT_MODE_DEFAULT 
CEF_TEXT_INPUT_MODE_NONE 
CEF_TEXT_INPUT_MODE_TEXT 
CEF_TEXT_INPUT_MODE_TEL 
CEF_TEXT_INPUT_MODE_URL 
CEF_TEXT_INPUT_MODE_EMAIL 
CEF_TEXT_INPUT_MODE_NUMERIC 
CEF_TEXT_INPUT_MODE_DECIMAL 
CEF_TEXT_INPUT_MODE_SEARCH 
CEF_TEXT_INPUT_MODE_MAX 

◆ cef_text_style_t

Text style types.

Should be kepy in sync with gfx::TextStyle.

Enumerator
CEF_TEXT_STYLE_BOLD 
CEF_TEXT_STYLE_ITALIC 
CEF_TEXT_STYLE_STRIKE 
CEF_TEXT_STYLE_DIAGONAL_STRIKE 
CEF_TEXT_STYLE_UNDERLINE 

◆ cef_thread_id_t

Existing thread IDs.

Enumerator
TID_UI 

The main thread in the browser.

This will be the same as the main application thread if CefInitialize() is called with a CefSettings.multi_threaded_message_loop value of false. Do not perform blocking tasks on this thread. All tasks posted after CefBrowserProcessHandler::OnContextInitialized() and before CefShutdown() are guaranteed to run. This thread will outlive all other CEF threads.

TID_FILE_BACKGROUND 

Used for blocking tasks like file system access where the user won't notice if the task takes an arbitrarily long time to complete.

All tasks posted after CefBrowserProcessHandler::OnContextInitialized() and before CefShutdown() are guaranteed to run.

TID_FILE_USER_VISIBLE 

Used for blocking tasks like file system access that affect UI or responsiveness of future user interactions.

Do not use if an immediate response to a user interaction is expected. All tasks posted after CefBrowserProcessHandler::OnContextInitialized() and before CefShutdown() are guaranteed to run. Examples:

  • Updating the UI to reflect progress on a long task.
  • Loading data that might be shown in the UI after a future user interaction.
TID_FILE_USER_BLOCKING 

Used for blocking tasks like file system access that affect UI immediately after a user interaction.

All tasks posted after CefBrowserProcessHandler::OnContextInitialized() and before CefShutdown() are guaranteed to run. Example: Generating data shown in the UI immediately after a click.

TID_PROCESS_LAUNCHER 

Used to launch and terminate browser processes.

TID_IO 

Used to process IPC and network messages.

Do not perform blocking tasks on this thread. All tasks posted after CefBrowserProcessHandler::OnContextInitialized() and before CefShutdown() are guaranteed to run.

TID_RENDERER 

The main thread in the renderer.

Used for all WebKit and V8 interaction. Tasks may be posted to this thread after CefRenderProcessHandler::OnWebKitInitialized but are not guaranteed to run before sub-process termination (sub-processes may be killed at any time without warning).

◆ cef_thread_priority_t

Thread priority values listed in increasing order of importance.

Enumerator
TP_BACKGROUND 

Suitable for threads that shouldn't disrupt high priority work.

TP_NORMAL 

Default priority level.

TP_DISPLAY 

Suitable for threads which generate data for the display (at ~60Hz).

TP_REALTIME_AUDIO 

Suitable for low-latency, glitch-resistant audio.

◆ cef_touch_event_type_t

Touch points states types.

Enumerator
CEF_TET_RELEASED 
CEF_TET_PRESSED 
CEF_TET_MOVED 
CEF_TET_CANCELLED 

◆ cef_touch_handle_state_flags_t

Values indicating what state of the touch handle is set.

Enumerator
CEF_THS_FLAG_NONE 
CEF_THS_FLAG_ENABLED 
CEF_THS_FLAG_ORIENTATION 
CEF_THS_FLAG_ORIGIN 
CEF_THS_FLAG_ALPHA 

◆ cef_transition_type_t

Transition type for a request.

Made up of one source value and 0 or more qualifiers.

Enumerator
TT_LINK 

Source is a link click or the JavaScript window.open function.

This is also the default value for requests like sub-resource loads that are not navigations.

TT_EXPLICIT 

Source is some other "explicit" navigation.

This is the default value for navigations where the actual type is unknown. See also TT_DIRECT_LOAD_FLAG.

TT_AUTO_BOOKMARK 

User got to this page through a suggestion in the UI (for example, via the destinations page).

Chrome runtime only.

TT_AUTO_SUBFRAME 

Source is a subframe navigation.

This is any content that is automatically loaded in a non-toplevel frame. For example, if a page consists of several frames containing ads, those ad URLs will have this transition type. The user may not even realize the content in these pages is a separate frame, so may not care about the URL.

TT_MANUAL_SUBFRAME 

Source is a subframe navigation explicitly requested by the user that will generate new navigation entries in the back/forward list.

These are probably more important than frames that were automatically loaded in the background because the user probably cares about the fact that this link was loaded.

TT_GENERATED 

User got to this page by typing in the URL bar and selecting an entry that did not look like a URL.

For example, a match might have the URL of a Google search result page, but appear like "Search Google for ...". These are not quite the same as EXPLICIT navigations because the user didn't type or see the destination URL. Chrome runtime only. See also TT_KEYWORD.

TT_AUTO_TOPLEVEL 

This is a toplevel navigation.

This is any content that is automatically loaded in a toplevel frame. For example, opening a tab to show the ASH screen saver, opening the devtools window, opening the NTP after the safe browsing warning, opening web-based dialog boxes are examples of AUTO_TOPLEVEL navigations. Chrome runtime only.

TT_FORM_SUBMIT 

Source is a form submission by the user.

NOTE: In some situations submitting a form does not result in this transition type. This can happen if the form uses a script to submit the contents.

TT_RELOAD 

Source is a "reload" of the page via the Reload function or by re-visiting the same URL.

NOTE: This is distinct from the concept of whether a particular load uses "reload semantics" (i.e. bypasses cached data).

TT_KEYWORD 

The url was generated from a replaceable keyword other than the default search provider.

If the user types a keyword (which also applies to tab-to-search) in the omnibox this qualifier is applied to the transition type of the generated url. TemplateURLModel then may generate an additional visit with a transition type of TT_KEYWORD_GENERATED against the url 'http://' + keyword. For example, if you do a tab-to-search against wikipedia the generated url has a transition qualifer of TT_KEYWORD, and TemplateURLModel generates a visit for 'wikipedia.org' with a transition type of TT_KEYWORD_GENERATED. Chrome runtime only.

TT_KEYWORD_GENERATED 

Corresponds to a visit generated for a keyword.

See description of TT_KEYWORD for more details. Chrome runtime only.

TT_SOURCE_MASK 

General mask defining the bits used for the source values.

TT_BLOCKED_FLAG 

Qualifiers.

Any of the core values above can be augmented by one or more qualifiers. These qualifiers further define the transition. Attempted to visit a URL but was blocked.

TT_FORWARD_BACK_FLAG 

Used the Forward or Back function to navigate among browsing history.

Will be ORed to the transition type for the original load.

TT_DIRECT_LOAD_FLAG 

Loaded a URL directly via CreateBrowser, LoadURL or LoadRequest.

TT_HOME_PAGE_FLAG 

User is navigating to the home page.

Chrome runtime only.

TT_FROM_API_FLAG 

The transition originated from an external application; the exact definition of this is embedder dependent.

Chrome runtime and extension system only.

TT_CHAIN_START_FLAG 

The beginning of a navigation chain.

TT_CHAIN_END_FLAG 

The last transition in a redirect chain.

TT_CLIENT_REDIRECT_FLAG 

Redirects caused by JavaScript or a meta refresh tag on the page.

TT_SERVER_REDIRECT_FLAG 

Redirects sent from the server by HTTP headers.

TT_IS_REDIRECT_MASK 

Used to test whether a transition involves a redirect.

TT_QUALIFIER_MASK 

General mask defining the bits used for the qualifiers.

◆ cef_uri_unescape_rule_t

URI unescape rules passed to CefURIDecode().

Enumerator
UU_NONE 

Don't unescape anything at all.

UU_NORMAL 

Don't unescape anything special, but all normal unescaping will happen.

This is a placeholder and can't be combined with other flags (since it's just the absence of them). All other unescape rules imply "normal" in addition to their special meaning. Things like escaped letters, digits, and most symbols will get unescaped with this mode.

UU_SPACES 

Convert %20 to spaces.

In some places where we're showing URLs, we may want this. In places where the URL may be copied and pasted out, then you wouldn't want this since it might not be interpreted in one piece by other applications.

UU_PATH_SEPARATORS 

Unescapes '/' and '\'.

If these characters were unescaped, the resulting URL won't be the same as the source one. Moreover, they are dangerous to unescape in strings that will be used as file paths or names. This value should only be used when slashes don't have special meaning, like data URLs.

UU_URL_SPECIAL_CHARS_EXCEPT_PATH_SEPARATORS 

Unescapes various characters that will change the meaning of URLs, including '', '+', '&', '#'.

Does not unescape path separators. If these characters were unescaped, the resulting URL won't be the same as the source one. This flag is used when generating final output like filenames for URLs where we won't be interpreting as a URL and want to do as much unescaping as possible.

UU_REPLACE_PLUS_WITH_SPACE 

URL queries use "+" for space.

This flag controls that replacement.

◆ cef_urlrequest_flags_t

Flags used to customize the behavior of CefURLRequest.

Enumerator
UR_FLAG_NONE 

Default behavior.

UR_FLAG_SKIP_CACHE 

If set the cache will be skipped when handling the request.

Setting this value is equivalent to specifying the "Cache-Control: no-cache" request header. Setting this value in combination with UR_FLAG_ONLY_FROM_CACHE will cause the request to fail.

UR_FLAG_ONLY_FROM_CACHE 

If set the request will fail if it cannot be served from the cache (or some equivalent local store).

Setting this value is equivalent to specifying the "Cache-Control: only-if-cached" request header. Setting this value in combination with UR_FLAG_SKIP_CACHE or UR_FLAG_DISABLE_CACHE will cause the request to fail.

UR_FLAG_DISABLE_CACHE 

If set the cache will not be used at all.

Setting this value is equivalent to specifying the "Cache-Control: no-store" request header. Setting this value in combination with UR_FLAG_ONLY_FROM_CACHE will cause the request to fail.

UR_FLAG_ALLOW_STORED_CREDENTIALS 

If set user name, password, and cookies may be sent with the request, and cookies may be saved from the response.

UR_FLAG_REPORT_UPLOAD_PROGRESS 

If set upload progress events will be generated when a request has a body.

UR_FLAG_NO_DOWNLOAD_DATA 

If set the CefURLRequestClient::OnDownloadData method will not be called.

UR_FLAG_NO_RETRY_ON_5XX 

If set 5XX redirect errors will be propagated to the observer instead of automatically re-tried.

This currently only applies for requests originated in the browser process.

UR_FLAG_STOP_ON_REDIRECT 

If set 3XX responses will cause the fetch to halt immediately rather than continue through the redirect.

◆ cef_urlrequest_status_t

Flags that represent CefURLRequest status.

Enumerator
UR_UNKNOWN 

Unknown status.

UR_SUCCESS 

Request succeeded.

UR_IO_PENDING 

An IO request is pending, and the caller will be informed when it is completed.

UR_CANCELED 

Request was canceled programatically.

UR_FAILED 

Request failed for some reason.

◆ cef_v8_accesscontrol_t

V8 access control values.

Enumerator
V8_ACCESS_CONTROL_DEFAULT 
V8_ACCESS_CONTROL_ALL_CAN_READ 
V8_ACCESS_CONTROL_ALL_CAN_WRITE 
V8_ACCESS_CONTROL_PROHIBITS_OVERWRITING 

◆ cef_v8_propertyattribute_t

V8 property attribute values.

Enumerator
V8_PROPERTY_ATTRIBUTE_NONE 

Writeable, Enumerable, Configurable.

V8_PROPERTY_ATTRIBUTE_READONLY 

Not writeable.

V8_PROPERTY_ATTRIBUTE_DONTENUM 

Not enumerable.

V8_PROPERTY_ATTRIBUTE_DONTDELETE 

Not configurable.

◆ cef_value_type_t

Supported value types.

Enumerator
VTYPE_INVALID 
VTYPE_NULL 
VTYPE_BOOL 
VTYPE_INT 
VTYPE_DOUBLE 
VTYPE_STRING 
VTYPE_BINARY 
VTYPE_DICTIONARY 
VTYPE_LIST 

◆ cef_window_open_disposition_t

The manner in which a link click should be opened.

These constants match their equivalents in Chromium's window_open_disposition.h and should not be renumbered.

Enumerator
WOD_UNKNOWN 
WOD_CURRENT_TAB 

Current tab.

This is the default in most cases.

WOD_SINGLETON_TAB 

Indicates that only one tab with the url should exist in the same window.

WOD_NEW_FOREGROUND_TAB 

Shift key + Middle mouse button or meta/ctrl key while clicking.

WOD_NEW_BACKGROUND_TAB 

Middle mouse button or meta/ctrl key while clicking.

WOD_NEW_POPUP 

New popup window.

WOD_NEW_WINDOW 

Shift key while clicking.

WOD_SAVE_TO_DISK 

Alt key while clicking.

WOD_OFF_THE_RECORD 

New off-the-record (incognito) window.

WOD_IGNORE_ACTION 

Special case error condition from the renderer.

WOD_SWITCH_TO_TAB 

Activates an existing tab containing the url, rather than navigating.

This is similar to SINGLETON_TAB, but searches across all windows from the current profile and anonymity (instead of just the current one); closes the current tab on switching if the current tab was the NTP with no session history; and behaves like CURRENT_TAB instead of NEW_FOREGROUND_TAB when no existing tab is found.

WOD_NEW_PICTURE_IN_PICTURE 

Creates a new document picture-in-picture window showing a child WebView.

◆ cef_xml_encoding_type_t

Supported XML encoding types.

The parser supports ASCII, ISO-8859-1, and UTF16 (LE and BE) by default. All other types must be translated to UTF8 before being passed to the parser. If a BOM is detected and the correct decoder is available then that decoder will be used automatically.

Enumerator
XML_ENCODING_NONE 
XML_ENCODING_UTF8 
XML_ENCODING_UTF16LE 
XML_ENCODING_UTF16BE 
XML_ENCODING_ASCII 

◆ cef_xml_node_type_t

XML node types.

Enumerator
XML_NODE_UNSUPPORTED 
XML_NODE_PROCESSING_INSTRUCTION 
XML_NODE_DOCUMENT_TYPE 
XML_NODE_ELEMENT_START 
XML_NODE_ELEMENT_END 
XML_NODE_ATTRIBUTE 
XML_NODE_TEXT 
XML_NODE_CDATA 
XML_NODE_ENTITY_REFERENCE 
XML_NODE_WHITESPACE 
XML_NODE_COMMENT