Jump to content
  • Advertisement
Sign in to follow this  
Tangletail

Need Advice: Chromium Implementation

This topic is 1135 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello everyone! I'm begining the long and arduous process of implementing google chrome into my project. I'm still reading the documentation and picking away at where everything is in case I need to modify anything into my use case. But I do have a few questions.

 

A. How did you go about implementing it? Did you toy around with the code so that it's actually part of the game engine, and all it's rendering effects are handled by the game. Or did you make chromium into a shell application who's soul purpose is to only render gui?

 

B. If you implemented the code directly into the engine as a GUI system, what files did you have to change?

 

C. Where are the Chromes calls to the JavaScript interpreter. I'd like to rip it out, and use LUA instead.

Edited by Tangletail

Share this post


Link to post
Share on other sites
Advertisement

Is there a particular reason that you aren't planning to use one of the many existing chromium implementations?

 

A quick glance at the chromiumembedded repository suggests there's nearly 200,000 lines of code in there. Even taking into account that some of that is extended APIs that you probably won't need at first, and some of it is unit tests, that still makes it one hell of a large project to take on single-handed.

 

I did a minimal chromium->opengl integration of my own about 5 years back. It wasn't fun. If chromiumembedded had existed, or awesomium had been free back then, I wouldn't have done it.

Share this post


Link to post
Share on other sites

I am looking at Chromium Embedded. Probably should have clarified that. I forgot that Chromium, and Chromium Embedded are two completely different things.

The other thing I am looking at is EA's Webkit, which looks fairly simple and is pretty direct in what you have to do to implement.

 

EDIT: Not that I'm complaining about it... but why did this post get a +1

Edited by Tangletail

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!