Click or drag to resize
CfxResourceBundleHandler Class

[This is preliminary documentation and is subject to change.]

Structure used to implement a custom resource bundle structure. See CfxSettings for additional options related to resource bundle loading. The functions of this structure may be called on multiple threads.
Inheritance Hierarchy
SystemObject
  ChromiumCfxObject
    ChromiumCfxBase
      ChromiumCfxClientBase
        ChromiumCfxResourceBundleHandler

Namespace: Chromium
Assembly: ChromiumFX (in ChromiumFX.dll)
Syntax
public class CfxResourceBundleHandler : CfxClientBase

The CfxResourceBundleHandler type exposes the following members.

Constructors
  NameDescription
Public methodCfxResourceBundleHandler
Initializes a new instance of the CfxResourceBundleHandler class
Top
Properties
  NameDescription
Public propertyCallbacksDisabled
When true, all CEF callback events are disabled for this handler. Incoming callbacks will return default values to CEF.
(Inherited from CfxClientBase.)
Public propertyNativePtr
Provides access to the underlying native cef struct. This is a refcounted client struct derived from cef_base_t. Add a ref in order to keep it alive when this managed object go out of scope.
(Inherited from CfxClientBase.)
Top
Events
  NameDescription
Public eventGetDataResource
Called to retrieve data for the specified scale independent |ResourceId|. To provide the resource data set |Data| and |DataSize| to the data pointer and size respectively and return true (1). To use the default resource data return false (0). The resource data will not be copied and must remain resident in memory. Include cef_pack_resources.h for a listing of valid resource ID values.
Public eventGetDataResourceForScale
Called to retrieve data for the specified |ResourceId| nearest the scale factor |ScaleFactor|. To provide the resource data set |Data| and |DataSize| to the data pointer and size respectively and return true (1). To use the default resource data return false (0). The resource data will not be copied and must remain resident in memory. Include cef_pack_resources.h for a listing of valid resource ID values.
Public eventGetLocalizedString
Called to retrieve a localized translation for the specified |StringId|. To provide the translation set |String| to the translation string and return true (1). To use the default translation return false (0). Include cef_pack_strings.h for a listing of valid string ID values.
Top
Remarks
See also the original CEF documentation in cef/include/capi/cef_resource_bundle_handler_capi.h.
See Also