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()
◆ 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. Use the cef_id_for_pack_resource_name() function for version-safe mapping of resource IDR names from cef_pack_resources.h to version-specific numerical |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.
Use the cef_id_for_pack_string_name() function for version-safe mapping of string IDS names from cef_pack_strings.h to version-specific numerical |string_id| values.
The documentation for this class was generated from the following file: