wiki:HighLevelOverview

Version 3 (modified by chris.jerdonek@gmail.com, 11 years ago) (diff)

Added information about JavaScriptGlue

WebKit is basically made up of the following:

  1. JavaScriptCore: The JavaScript engine. This also includes the WTF

library, which contains various utilities. This is completely cross-platform (though there are various platform-specific JIT backends). This can be used as a separate entity from the rest of WebKit.

  1. WebCore: this is where most of the magic lives. All of the rendering

logic, SVG support, transforms, network support, etc. is here.

Each platform has specific logic here. Look in WebCore platform for the OS-specific and rendering (Skia, CG, Cairo) backends.

  1. WebKit: the front-end layer used by applications. Each GUI platform

(windows, Cocoa, Gtk+, Qt) provides a different implementation of this. Generally, the goal is to make this a client to the WebCore layer, basically just 'shimming' WebCore to the specific Os/Platform that will be using WebKit.

The remaining projects are autogenerated bindings to the DOM, etc.

(Taken from Brent's email to webkit-help)

The WebKit source tree also contains the following project:

  1. JavaScriptGlue: this is a legacy component needed for compatibility

with some older Mac OS X software. It will eventually be retired and should not receive any new development.

(Information taken from a Bugzilla comment by Darin)