# Record TCefBrowserHost

Description
Fields

## Unit

uCEFTypes

## Declaration

`type TCefBrowserHost = record`

## Description

Structure used to represent the browser process aspects of a browser. The functions of this structure can only be called in the browser process. They may be called on any thread in that process unless otherwise indicated in the comments.

NOTE: This struct is allocated DLL-side.

Implemented by ICefBrowserHost.

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_browser_capi.h">CEF source file: /include/capi/cef_browser_capi.h (cef_browser_host_t))

## Overview

### Fields

Public | `base: TCefBaseRefCounted;`
Public | `get_browser: function(self: PCefBrowserHost): PCefBrowser; stdcall;`
Public | `close_browser: procedure(self: PCefBrowserHost; force_close: Integer); stdcall;`
Public | `try_close_browser: function(self: PCefBrowserHost): Integer; stdcall;`
Public | `is_ready_to_be_closed: function(self: PCefBrowserHost): Integer; stdcall;`
Public | `set_focus: procedure(self: PCefBrowserHost; focus: Integer); stdcall;`
Public | `get_window_handle: function(self: PCefBrowserHost): TCefWindowHandle; stdcall;`
Public | `get_opener_window_handle: function(self: PCefBrowserHost): TCefWindowHandle; stdcall;`
Public | `get_opener_identifier: function(self: PCefBrowserHost): Integer; stdcall;`
Public | `has_view: function(self: PCefBrowserHost): Integer; stdcall;`
Public | `get_client: function(self: PCefBrowserHost): PCefClient; stdcall;`
Public | `get_request_context: function(self: PCefBrowserHost): PCefRequestContext; stdcall;`
Public | `can_zoom: function(self: PCefBrowserHost; command: TCefZoomCommand): Integer; stdcall;`
Public | `zoom: procedure(self: PCefBrowserHost; command: TCefZoomCommand); stdcall;`
Public | `get_default_zoom_level: function(self: PCefBrowserHost): Double; stdcall;`
Public | `get_zoom_level: function(self: PCefBrowserHost): Double; stdcall;`
Public | `set_zoom_level: procedure(self: PCefBrowserHost; zoomLevel: Double); stdcall;`
Public | `run_file_dialog: procedure(self: PCefBrowserHost; mode: TCefFileDialogMode; const title, default_file_path: PCefString; accept_filters: TCefStringList; callback: PCefRunFileDialogCallback); stdcall;`
Public | `start_download: procedure(self: PCefBrowserHost; const url: PCefString); stdcall;`
Public | `download_image: procedure(self: PCefBrowserHost; const image_url: PCefString; is_favicon: Integer; max_image_size: Cardinal; bypass_cache: Integer; callback: PCefDownloadImageCallback); stdcall;`
Public | `print: procedure(self: PCefBrowserHost); stdcall;`
Public | `print_to_pdf: procedure(self: PCefBrowserHost; const path: PCefString; const settings: PCefPdfPrintSettings; callback: PCefPdfPrintCallback); stdcall;`
Public | `find: procedure(self: PCefBrowserHost; const searchText: PCefString; forward_, matchCase, findNext: Integer); stdcall;`
Public | `stop_finding: procedure(self: PCefBrowserHost; clearSelection: Integer); stdcall;`
Public | `show_dev_tools: procedure(self: PCefBrowserHost; const windowInfo: PCefWindowInfo; client: PCefClient; const settings: PCefBrowserSettings; const inspect_element_at: PCefPoint); stdcall;`
Public | `close_dev_tools: procedure(self: PCefBrowserHost); stdcall;`
Public | `has_dev_tools: function(self: PCefBrowserHost): Integer; stdcall;`
Public | `send_dev_tools_message: function(self: PCefBrowserHost; const message_: Pointer; message_size: NativeUInt): Integer; stdcall;`
Public | `execute_dev_tools_method: function(self: PCefBrowserHost; message_id: integer; const method: PCefString; params: PCefDictionaryValue): Integer; stdcall;`
Public | `add_dev_tools_message_observer: function(self: PCefBrowserHost; observer: PCefDevToolsMessageObserver): PCefRegistration; stdcall;`
Public | `get_navigation_entries: procedure(self: PCefBrowserHost; visitor: PCefNavigationEntryVisitor; current_only: Integer); stdcall;`
Public | `replace_misspelling: procedure(self: PCefBrowserHost; const word: PCefString); stdcall;`
Public | `add_word_to_dictionary: procedure(self: PCefBrowserHost; const word: PCefString); stdcall;`
Public | `is_window_rendering_disabled: function(self: PCefBrowserHost): Integer; stdcall;`
Public | `was_resized: procedure(self: PCefBrowserHost); stdcall;`
Public | `was_hidden: procedure(self: PCefBrowserHost; hidden: Integer); stdcall;`
Public | `notify_screen_info_changed: procedure(self: PCefBrowserHost); stdcall;`
Public | `invalidate: procedure(self: PCefBrowserHost; type_: TCefPaintElementType); stdcall;`
Public | `send_external_begin_frame: procedure(self: PCefBrowserHost); stdcall;`
Public | `send_key_event: procedure(self: PCefBrowserHost; const event: PCefKeyEvent); stdcall;`
Public | `send_mouse_click_event: procedure(self: PCefBrowserHost; const event: PCefMouseEvent; type_: TCefMouseButtonType; mouseUp, clickCount: Integer); stdcall;`
Public | `send_mouse_move_event: procedure(self: PCefBrowserHost; const event: PCefMouseEvent; mouseLeave: Integer); stdcall;`
Public | `send_mouse_wheel_event: procedure(self: PCefBrowserHost; const event: PCefMouseEvent; deltaX, deltaY: Integer); stdcall;`
Public | `send_touch_event: procedure(self: PCefBrowserHost; const event: PCefTouchEvent); stdcall;`
Public | `send_capture_lost_event: procedure(self: PCefBrowserHost); stdcall;`
Public | `notify_move_or_resize_started: procedure(self: PCefBrowserHost); stdcall;`
Public | `get_windowless_frame_rate: function(self: PCefBrowserHost): Integer; stdcall;`
Public | `set_windowless_frame_rate: procedure(self: PCefBrowserHost; frame_rate: Integer); stdcall;`
Public | `ime_set_composition: procedure(self: PCefBrowserHost; const text: PCefString; underlinesCount : NativeUInt; const underlines : PCefCompositionUnderline; const replacement_range, selection_range : PCefRange); stdcall;`
Public | `ime_commit_text: procedure(self: PCefBrowserHost; const text: PCefString; const replacement_range : PCefRange; relative_cursor_pos : integer); stdcall;`
Public | `ime_finish_composing_text: procedure(self: PCefBrowserHost; keep_selection : integer); stdcall;`
Public | `ime_cancel_composition: procedure(self: PCefBrowserHost); stdcall;`
Public | `drag_target_drag_enter: procedure(self: PCefBrowserHost; drag_data: PCefDragData; const event: PCefMouseEvent; allowed_ops: TCefDragOperations); stdcall;`
Public | `drag_target_drag_over: procedure(self: PCefBrowserHost; const event: PCefMouseEvent; allowed_ops: TCefDragOperations); stdcall;`
Public | `drag_target_drag_leave: procedure(self: PCefBrowserHost); stdcall;`
Public | `drag_target_drop: procedure(self: PCefBrowserHost; const event: PCefMouseEvent); stdcall;`
Public | `drag_source_ended_at: procedure(self: PCefBrowserHost; x, y: Integer; op: TCefDragOperation); stdcall;`
Public | `drag_source_system_drag_ended: procedure(self: PCefBrowserHost); stdcall;`
Public | `get_visible_navigation_entry: function(self: PCefBrowserHost): PCefNavigationEntry; stdcall;`
Public | `set_accessibility_state: procedure(self: PCefBrowserHost; accessibility_state: TCefState); stdcall;`
Public | `set_auto_resize_enabled: procedure(self: PCefBrowserHost; enabled: integer; const min_size, max_size: PCefSize); stdcall;`
Public | `set_audio_muted: procedure(self: PCefBrowserHost; mute: integer); stdcall;`
Public | `is_audio_muted: function(self: PCefBrowserHost): integer; stdcall;`
Public | `is_fullscreen: function(self: PCefBrowserHost): integer; stdcall;`
Public | `exit_fullscreen: procedure(self: PCefBrowserHost; will_cause_resize: integer); stdcall;`
Public | `can_execute_chrome_command: function(self: PCefBrowserHost; command_id: integer): integer; stdcall;`
Public | `execute_chrome_command: procedure(self: PCefBrowserHost; command_id: integer; disposition: TCefWindowOpenDisposition); stdcall;`
Public | `is_render_process_unresponsive: function(self: PCefBrowserHost): integer; stdcall;`
Public | `get_runtime_style: function(self: PCefBrowserHost): TCefRuntimeStyle; stdcall;`
Public | `set_ax_viewport_collapse: procedure(self: PCefBrowserHost; enabled: integer); stdcall;`

## Description

### Fields

Public | `base: TCefBaseRefCounted;`
This item has no description.

Public | `get_browser: function(self: PCefBrowserHost): PCefBrowser; stdcall;`
This item has no description.

Public | `close_browser: procedure(self: PCefBrowserHost; force_close: Integer); stdcall;`
This item has no description.

Public | `try_close_browser: function(self: PCefBrowserHost): Integer; stdcall;`
This item has no description.

Public | `is_ready_to_be_closed: function(self: PCefBrowserHost): Integer; stdcall;`
This item has no description.

Public | `set_focus: procedure(self: PCefBrowserHost; focus: Integer); stdcall;`
This item has no description.

Public | `get_window_handle: function(self: PCefBrowserHost): TCefWindowHandle; stdcall;`
This item has no description.

Public | `get_opener_window_handle: function(self: PCefBrowserHost): TCefWindowHandle; stdcall;`
This item has no description.

Public | `get_opener_identifier: function(self: PCefBrowserHost): Integer; stdcall;`
This item has no description.

Public | `has_view: function(self: PCefBrowserHost): Integer; stdcall;`
This item has no description.

Public | `get_client: function(self: PCefBrowserHost): PCefClient; stdcall;`
This item has no description.

Public | `get_request_context: function(self: PCefBrowserHost): PCefRequestContext; stdcall;`
This item has no description.

Public | `can_zoom: function(self: PCefBrowserHost; command: TCefZoomCommand): Integer; stdcall;`
This item has no description.

Public | `zoom: procedure(self: PCefBrowserHost; command: TCefZoomCommand); stdcall;`
This item has no description.

Public | `get_default_zoom_level: function(self: PCefBrowserHost): Double; stdcall;`
This item has no description.

Public | `get_zoom_level: function(self: PCefBrowserHost): Double; stdcall;`
This item has no description.

Public | `set_zoom_level: procedure(self: PCefBrowserHost; zoomLevel: Double); stdcall;`
This item has no description.

Public | `run_file_dialog: procedure(self: PCefBrowserHost; mode: TCefFileDialogMode; const title, default_file_path: PCefString; accept_filters: TCefStringList; callback: PCefRunFileDialogCallback); stdcall;`
This item has no description.

Public | `start_download: procedure(self: PCefBrowserHost; const url: PCefString); stdcall;`
This item has no description.

Public | `download_image: procedure(self: PCefBrowserHost; const image_url: PCefString; is_favicon: Integer; max_image_size: Cardinal; bypass_cache: Integer; callback: PCefDownloadImageCallback); stdcall;`
This item has no description.

Public | `print: procedure(self: PCefBrowserHost); stdcall;`
This item has no description.

Public | `print_to_pdf: procedure(self: PCefBrowserHost; const path: PCefString; const settings: PCefPdfPrintSettings; callback: PCefPdfPrintCallback); stdcall;`
This item has no description.

Public | `find: procedure(self: PCefBrowserHost; const searchText: PCefString; forward_, matchCase, findNext: Integer); stdcall;`
This item has no description.

Public | `stop_finding: procedure(self: PCefBrowserHost; clearSelection: Integer); stdcall;`
This item has no description.

Public | `show_dev_tools: procedure(self: PCefBrowserHost; const windowInfo: PCefWindowInfo; client: PCefClient; const settings: PCefBrowserSettings; const inspect_element_at: PCefPoint); stdcall;`
This item has no description.

Public | `close_dev_tools: procedure(self: PCefBrowserHost); stdcall;`
This item has no description.

Public | `has_dev_tools: function(self: PCefBrowserHost): Integer; stdcall;`
This item has no description.

Public | `send_dev_tools_message: function(self: PCefBrowserHost; const message_: Pointer; message_size: NativeUInt): Integer; stdcall;`
This item has no description.

Public | `execute_dev_tools_method: function(self: PCefBrowserHost; message_id: integer; const method: PCefString; params: PCefDictionaryValue): Integer; stdcall;`
This item has no description.

Public | `add_dev_tools_message_observer: function(self: PCefBrowserHost; observer: PCefDevToolsMessageObserver): PCefRegistration; stdcall;`
This item has no description.

Public | `get_navigation_entries: procedure(self: PCefBrowserHost; visitor: PCefNavigationEntryVisitor; current_only: Integer); stdcall;`
This item has no description.

Public | `replace_misspelling: procedure(self: PCefBrowserHost; const word: PCefString); stdcall;`
This item has no description.

Public | `add_word_to_dictionary: procedure(self: PCefBrowserHost; const word: PCefString); stdcall;`
This item has no description.

Public | `is_window_rendering_disabled: function(self: PCefBrowserHost): Integer; stdcall;`
This item has no description.

Public | `was_resized: procedure(self: PCefBrowserHost); stdcall;`
This item has no description.

Public | `was_hidden: procedure(self: PCefBrowserHost; hidden: Integer); stdcall;`
This item has no description.

Public | `notify_screen_info_changed: procedure(self: PCefBrowserHost); stdcall;`
This item has no description.

Public | `invalidate: procedure(self: PCefBrowserHost; type_: TCefPaintElementType); stdcall;`
This item has no description.

Public | `send_external_begin_frame: procedure(self: PCefBrowserHost); stdcall;`
This item has no description.

Public | `send_key_event: procedure(self: PCefBrowserHost; const event: PCefKeyEvent); stdcall;`
This item has no description.

Public | `send_mouse_click_event: procedure(self: PCefBrowserHost; const event: PCefMouseEvent; type_: TCefMouseButtonType; mouseUp, clickCount: Integer); stdcall;`
This item has no description.

Public | `send_mouse_move_event: procedure(self: PCefBrowserHost; const event: PCefMouseEvent; mouseLeave: Integer); stdcall;`
This item has no description.

Public | `send_mouse_wheel_event: procedure(self: PCefBrowserHost; const event: PCefMouseEvent; deltaX, deltaY: Integer); stdcall;`
This item has no description.

Public | `send_touch_event: procedure(self: PCefBrowserHost; const event: PCefTouchEvent); stdcall;`
This item has no description.

Public | `send_capture_lost_event: procedure(self: PCefBrowserHost); stdcall;`
This item has no description.

Public | `notify_move_or_resize_started: procedure(self: PCefBrowserHost); stdcall;`
This item has no description.

Public | `get_windowless_frame_rate: function(self: PCefBrowserHost): Integer; stdcall;`
This item has no description.

Public | `set_windowless_frame_rate: procedure(self: PCefBrowserHost; frame_rate: Integer); stdcall;`
This item has no description.

Public | `ime_set_composition: procedure(self: PCefBrowserHost; const text: PCefString; underlinesCount : NativeUInt; const underlines : PCefCompositionUnderline; const replacement_range, selection_range : PCefRange); stdcall;`
This item has no description.

Public | `ime_commit_text: procedure(self: PCefBrowserHost; const text: PCefString; const replacement_range : PCefRange; relative_cursor_pos : integer); stdcall;`
This item has no description.

Public | `ime_finish_composing_text: procedure(self: PCefBrowserHost; keep_selection : integer); stdcall;`
This item has no description.

Public | `ime_cancel_composition: procedure(self: PCefBrowserHost); stdcall;`
This item has no description.

Public | `drag_target_drag_enter: procedure(self: PCefBrowserHost; drag_data: PCefDragData; const event: PCefMouseEvent; allowed_ops: TCefDragOperations); stdcall;`
This item has no description.

Public | `drag_target_drag_over: procedure(self: PCefBrowserHost; const event: PCefMouseEvent; allowed_ops: TCefDragOperations); stdcall;`
This item has no description.

Public | `drag_target_drag_leave: procedure(self: PCefBrowserHost); stdcall;`
This item has no description.

Public | `drag_target_drop: procedure(self: PCefBrowserHost; const event: PCefMouseEvent); stdcall;`
This item has no description.

Public | `drag_source_ended_at: procedure(self: PCefBrowserHost; x, y: Integer; op: TCefDragOperation); stdcall;`
This item has no description.

Public | `drag_source_system_drag_ended: procedure(self: PCefBrowserHost); stdcall;`
This item has no description.

Public | `get_visible_navigation_entry: function(self: PCefBrowserHost): PCefNavigationEntry; stdcall;`
This item has no description.

Public | `set_accessibility_state: procedure(self: PCefBrowserHost; accessibility_state: TCefState); stdcall;`
This item has no description.

Public | `set_auto_resize_enabled: procedure(self: PCefBrowserHost; enabled: integer; const min_size, max_size: PCefSize); stdcall;`
This item has no description.

Public | `set_audio_muted: procedure(self: PCefBrowserHost; mute: integer); stdcall;`
This item has no description.

Public | `is_audio_muted: function(self: PCefBrowserHost): integer; stdcall;`
This item has no description.

Public | `is_fullscreen: function(self: PCefBrowserHost): integer; stdcall;`
This item has no description.

Public | `exit_fullscreen: procedure(self: PCefBrowserHost; will_cause_resize: integer); stdcall;`
This item has no description.

Public | `can_execute_chrome_command: function(self: PCefBrowserHost; command_id: integer): integer; stdcall;`
This item has no description.

Public | `execute_chrome_command: procedure(self: PCefBrowserHost; command_id: integer; disposition: TCefWindowOpenDisposition); stdcall;`
This item has no description.

Public | `is_render_process_unresponsive: function(self: PCefBrowserHost): integer; stdcall;`
This item has no description.

Public | `get_runtime_style: function(self: PCefBrowserHost): TCefRuntimeStyle; stdcall;`
This item has no description.

Public | `set_ax_viewport_collapse: procedure(self: PCefBrowserHost; enabled: integer); stdcall;`
This item has no description.

Generated by PasDoc 1.0.4.