This way, the use of WebKitWebBase will be transparent for the C API and we can get rid of WKViewGetWindow() which is very confusing because it doesn't return a window, but a GtkWidget that is indeed the view.
Created attachment 91274 [details] Patch
Created attachment 91440 [details] New patch As martin poined out, we don't need a new class inheriting from WebKitWebViewBase, we can simply map WKViewRef to WebKitWebViewBase. So this patch leaves WebKitWebViewBase as a non-abstract class and makes WKViewCreate return the widget instead of the page client so that WKView can be used as a widget.
Committed r85192: <http://trac.webkit.org/changeset/85192>