The documentation for HandleBeforeBrowse states "The client has an opportunity to modify the |request| object if desired." While this is technically true, it doesn't seem like changes that a client makes to the request propagate through to WebKit. For example, I'd like to modify the request's header map to include some custom HTTP headers. However, when I add my custom headers to the CefRequest and return RV_CONTINUE, it doesn't appear to have any effect on the request parameter that was passed to BrowserWebViewDelegate::decidePolicyForNavigation (the request parameter is const, actually).
Is the documentation incorrect, is there a bug in CEF, or am I just misunderstanding something here? Does anyone know?
Thanks,
Emerick