How can I access the browser renderhandler

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

How can I access the browser renderhandler

Postby hydroflame » Wed Nov 18, 2015 5:34 pm

So I'm trying to figure out how I can get a valid render handler for offscreen rendering

First I thought to look in browser/frame to get a direct reference, but no luck

Then I noted that the cef_client_t does have a get_render_handler function member but it doesn't get populated by cef_browser_host_create_browser_sync.
Do I have to manually populate that member with a function that will return my instance of cef_render_handler, if so, is there a default implementation to cef_render_handler or is it up to the user as well ?
hydroflame
Newbie
 
Posts: 5
Joined: Wed Nov 18, 2015 3:16 pm

Re: How can I access the browser renderhandler

Postby magreenblatt » Wed Nov 18, 2015 5:39 pm

The cef_client_t structure needs to be populated/implemented by your application. See https://bitbucket.org/chromiumembedded/ ... TheCAPI.md for more information.
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 56 guests