# Record TCefPreferenceManager

Description
Fields

## Unit

uCEFTypes

## Declaration

`type TCefPreferenceManager = record`

## Description

Manage access to preferences. Many built-in preferences are registered by Chromium. Custom preferences can be registered in ICefBrowserProcessHandler.OnRegisterCustomPreferences.

NOTE: This struct is allocated DLL-side.

Implemented by ICefPreferenceManager.

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

## Overview

### Fields

Public | `base: TCefBaseRefCounted;`
Public | `has_preference: function(self: PCefPreferenceManager; const name: PCefString): Integer; stdcall;`
Public | `get_preference: function(self: PCefPreferenceManager; const name: PCefString): PCefValue; stdcall;`
Public | `get_all_preferences: function(self: PCefPreferenceManager; include_defaults: Integer): PCefDictionaryValue; stdcall;`
Public | `can_set_preference: function(self: PCefPreferenceManager; const name: PCefString): Integer; stdcall;`
Public | `set_preference: function(self: PCefPreferenceManager; const name: PCefString; value: PCefValue; error: PCefString): Integer; stdcall;`
Public | `add_preference_observer: function(self: PCefPreferenceManager; const name: PCefString; observer: PCefPreferenceObserver): PCefRegistration; stdcall;`

## Description

### Fields

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

Public | `has_preference: function(self: PCefPreferenceManager; const name: PCefString): Integer; stdcall;`
This item has no description.

Public | `get_preference: function(self: PCefPreferenceManager; const name: PCefString): PCefValue; stdcall;`
This item has no description.

Public | `get_all_preferences: function(self: PCefPreferenceManager; include_defaults: Integer): PCefDictionaryValue; stdcall;`
This item has no description.

Public | `can_set_preference: function(self: PCefPreferenceManager; const name: PCefString): Integer; stdcall;`
This item has no description.

Public | `set_preference: function(self: PCefPreferenceManager; const name: PCefString; value: PCefValue; error: PCefString): Integer; stdcall;`
This item has no description.

Public | `add_preference_observer: function(self: PCefPreferenceManager; const name: PCefString; observer: PCefPreferenceObserver): PCefRegistration; stdcall;`
This item has no description.

Generated by PasDoc 1.0.4.