RenderProcessHandler

Do not post support requests, bug reports or feature requests. Discuss CEF here. Non-CEF related discussion goes in General Discussion!

RenderProcessHandler

Postby notepadexe » Thu Mar 29, 2018 4:59 pm

hi

i have done an override for the oncreatedcontext in a class for the renderprocesshandler but how do I progress to actually link it to be invoked ?

appreciate any advices thank you
notepadexe
Techie
 
Posts: 16
Joined: Mon Feb 19, 2018 3:13 pm

Re: RenderProcessHandler

Postby notepadexe » Thu Mar 29, 2018 5:13 pm

sorry. didnt realise at first but did it now ,. anyone wondering you must use CefApp to create the class for CefRenderProcessHandler
notepadexe
Techie
 
Posts: 16
Joined: Mon Feb 19, 2018 3:13 pm

Re: RenderProcessHandler

Postby ndesktop » Fri Mar 30, 2018 10:20 am

Yes, you must implement CefApp and its method GetRenderProcessHandler. Can be the same class derived from both CefApp and CefRenderProcessHandler, or keep CefApp separate and delegate to a class implementing CefRenderProcessHandler.

I'm using a single class implementing CefApp, CefBrowserProcessHandler, CefRenderProcessHandler, CefProxyHandler and CefPrintHandler, for example.
ndesktop
Master
 
Posts: 750
Joined: Thu Dec 03, 2015 10:10 am


Return to CEF Discussion

Who is online

Users browsing this forum: No registered users and 26 guests