Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Use Google Chrome/ Chromium instead of WebKit on MacOS

I would like to use Google Chrome instead of the WebKit Framework in one of my projects. I found the 'chromiumembedded' project for Windows but nothing similar for Mac. Best would be to have it in form of a Framework to just drop it into a XCode project.

Question: Is there an easy way to integrate the Webkit of Google Chromium in own MacOS X projects?

like image 952
Holtwick Avatar asked Nov 25 '22 21:11

Holtwick


1 Answers

There are xcode project files throughout the Chromium code and you'll find that WebKit has its own xcodeproj files. Note that Chromium's WebKit routinely merges with the trunk WebKit and upstreams its changes. I don't really see why you'd want to go through the trouble of pulling from the Chromium's WebKit tree rather than getting it from the head WebKit revision. However you should be able to grab the {$chromium_trunk}/src/third_party/WebKit directory to get Chromium's version of WebKit. There aren't any dependencies on the Chromium browser specific code so that won't be an issue.

What are you trying to get from this; a rendering engine or a browser? The ambiguity in your question leaves a lot of confusion in interpretation.

If your looking at embedded browsers you may want to check out Android's WebKit browser. Android is open source as well.

like image 140
Pierre-Antoine LaFayette Avatar answered Dec 11 '22 09:12

Pierre-Antoine LaFayette