Class used for retrieving resources from the resource bundle (*.pak) files loaded by CEF during startup or via the CefResourceBundleHandler returned from CefApp::GetResourceBundleHandler.
More...
#include "include/cef_resource_bundle.h"
Class used for retrieving resources from the resource bundle (*.pak) files loaded by CEF during startup or via the CefResourceBundleHandler returned from CefApp::GetResourceBundleHandler.
See CefSettings for additional options related to resource bundle loading. The methods of this class may be called on any thread unless otherwise indicated.
◆ ScaleFactor
◆ GetDataResource()
Returns a CefBinaryValue containing the decompressed contents of the specified scale independent |resource_id| or NULL if not found.
Include cef_pack_resources.h for a listing of valid resource ID values.
◆ GetDataResourceForScale()
Returns a CefBinaryValue containing the decompressed contents of the specified |resource_id| nearest the scale factor |scale_factor| or NULL if not found.
Use a |scale_factor| value of SCALE_FACTOR_NONE for scale independent resources or call GetDataResource instead.Include cef_pack_resources.h for a listing of valid resource ID values.
◆ GetGlobal()
Returns the global resource bundle instance.
◆ GetLocalizedString()
virtual CefString CefResourceBundle::GetLocalizedString |
( |
int |
string_id | ) |
|
|
pure virtual |
Returns the localized string for the specified |string_id| or an empty string if the value is not found.
Include cef_pack_strings.h for a listing of valid string ID values.
The documentation for this class was generated from the following file: