Question about CefRenderHandler's default GetScreenPoint etc

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

Question about CefRenderHandler's default GetScreenPoint etc

Postby richeakin » Thu Jan 16, 2014 9:10 pm

I've been wondering, with off screen rendering / CefRenderHandler, what happens when I use the default implementations for GetRootScreenRect and GetScreenPoint? As far as I can tell, cefclient implements them on Mac but not Windows, and when I've been doing the same. But I'm curious to know what is going on behind the scenes (like, Is CEF doing the conversion by querying some other object), and also what I would gain from implementing them myself.

Best,
Rich

edit: I should probably at CefRenderHandler::GetScreenInfo() to that list too... does CEF gather this info some other way?
richeakin
Techie
 
Posts: 21
Joined: Mon Dec 16, 2013 11:50 pm

Re: Question about CefRenderHandler's default GetScreenPoint

Postby magreenblatt » Fri Jan 17, 2014 9:08 pm

You can see the implementation here: http://code.google.com/p/chromiumembedd ... iew_osr.cc
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to CEF Discussion

Who is online

Users browsing this forum: No registered users and 147 guests