# Record TCefBrowserHost

Description
Hierarchy
Fields
Methods
Properties

## 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.

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

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

## Description

### Fields

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

| `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.

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

| `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.

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

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

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

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

| `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.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

| `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.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Generated by PasDoc 0.16.0-snapshot.