Chromium Embedded Framework (CEF)
127.1.0+ga1ec504+chromium-127.0.6533.57
|
Class used to implement a custom resource bundle interface. More...
#include "include/cef_resource_bundle_handler.h"
Public Types | |
typedef cef_scale_factor_t | ScaleFactor |
Public Member Functions | |
virtual bool | GetLocalizedString (int string_id, CefString &string)=0 |
Called to retrieve a localized translation for the specified |string_id|. More... | |
virtual bool | GetDataResource (int resource_id, void *&data, size_t &data_size)=0 |
Called to retrieve data for the specified scale independent |resource_id|. More... | |
virtual bool | GetDataResourceForScale (int resource_id, ScaleFactor scale_factor, void *&data, size_t &data_size)=0 |
Called to retrieve data for the specified |resource_id| nearest the scale factor |scale_factor|. More... | |
Public Member Functions inherited from CefBaseRefCounted | |
virtual void | AddRef () const =0 |
Called to increment the reference count for the object. More... | |
virtual bool | Release () const =0 |
Called to decrement the reference count for the object. More... | |
virtual bool | HasOneRef () const =0 |
Returns true if the reference count is 1. More... | |
virtual bool | HasAtLeastOneRef () const =0 |
Returns true if the reference count is at least 1. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from CefBaseRefCounted | |
virtual | ~CefBaseRefCounted () |
Class used to implement a custom resource bundle interface.
See CefSettings for additional options related to resource bundle loading. The methods of this class may be called on multiple threads.
|
pure virtual |
Called to retrieve data for the specified scale independent |resource_id|.
To provide the resource data set |data| and |data_size| to the data pointer and size respectively and return true. To use the default resource data return false. 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.
|
pure virtual |
Called to retrieve data for the specified |resource_id| nearest the scale factor |scale_factor|.
To provide the resource data set |data| and |data_size| to the data pointer and size respectively and return true. To use the default resource data return false. 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.
|
pure virtual |
Called to retrieve a localized translation for the specified |string_id|.
To provide the translation set |string| to the translation string and return true. To use the default translation return false. Include cef_pack_strings.h for a listing of valid string ID values.