Any walkthrough or API reference for CEF?

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.

Any walkthrough or API reference for CEF?

Postby applegrew » Fri Mar 04, 2011 1:10 pm

Is there any API reference or tutorial for CEF?
applegrew
Newbie
 
Posts: 7
Joined: Fri Mar 04, 2011 1:03 pm

Re: Any walkthrough or API reference for CEF?

Postby magreenblatt » Fri Mar 04, 2011 2:21 pm

The Wiki provides general usage information:
http://code.google.com/p/chromiumembedd ... neralUsage

You can also read the comments in "cef.h" and browse the cefclient application source code.
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: Any walkthrough or API reference for CEF?

Postby applegrew » Fri Mar 04, 2011 9:55 pm

Thanks a lot. I am not sure how to that. It seems we need to use CefBrowser to interact with CEF, but this class seems to draw its own window.
applegrew
Newbie
 
Posts: 7
Joined: Fri Mar 04, 2011 1:03 pm

Re: Any walkthrough or API reference for CEF?

Postby magreenblatt » Fri Mar 04, 2011 10:20 pm

Correct, the CefBrowser::CreateBrowser method creates a browser window. That window can be the child of another window (your application). The cefclient application demonstrates this usage.
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: Any walkthrough or API reference for CEF?

Postby applegrew » Fri Mar 04, 2011 10:40 pm

But I don't want any GUI.
applegrew
Newbie
 
Posts: 7
Joined: Fri Mar 04, 2011 1:03 pm

Re: Any walkthrough or API reference for CEF?

Postby magreenblatt » Fri Mar 04, 2011 10:54 pm

So make the window hidden. A browser requires a window for event handling even if you don't want to see the rendered output.
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: Any walkthrough or API reference for CEF?

Postby applegrew » Sat Mar 05, 2011 10:48 am

Hmmm.
applegrew
Newbie
 
Posts: 7
Joined: Fri Mar 04, 2011 1:03 pm


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 32 guests