Page 1 of 1

Override accept_language_list via CefRequestContextSettings

PostPosted: Sat May 01, 2021 3:37 am
by finder2
I need to change accept language before each site get loaded without re-launching browser itself.
I use CEF 4147 at the moment.

I can see in cef_types.h that accept_language_list can be overridden for individual CefRequestContext instances.
How can I implement that?

I'm trying to figure it out and can see that CefRequestContext can be via specified via CefURLRequest.
Does anybody have an example of that implementation or and advice?