Hello again and thank you for your help,
as I'm not very familiar with C++, so it may take a while until I figure out how to implement the custom scheme handler there (I use a .net wrapper and attachichng a DevTools to a sample application without using the custom scheme works fine). But I may be doing something wrong... this is what I've done (the custom scheme is named 'msg'):
1. in OnRegisterCustomSchemes I add a custom scheme using
- Code: Select all
registrar.AddCustomScheme("msg", true, true, false);
2. then I use the RegisterSchemeHandlerFactory to register the handler and set the RemoteDebuggingPort (in my case to value 8085, but I think it doesn't matter)
3. using LoadUrl displays the content in the browser fine
4. putting
http://localhost:8085/ into chrome show something like
- Code: Select all
Inspectable WebContents
msg://c2e94bef-2e82-4b71-9b22-ed74576de1ea/viewable
5. from what I saw in the sample application, clicking upon that link should display the devtools, but in my case it only navigates to an empty page and nothing more happens