[webkit-dev] Turning off rendering in WebKit
Adam Treat
treat at kde.org
Wed Jan 14 07:18:15 PST 2009
On Wednesday 14 January 2009 5:07:56 am goldeneyes wrote:
> Bugzilla from treat at kde.org wrote:
> > Sorry, the method had moved. Here you go:
> >
> > void FrameView::paintContents(GraphicsContext* p, const IntRect& rect)
> >
> > from
> > http://trac.webkit.org/browser/trunk/WebCore/page/FrameView.cpp?rev=39858
> >
> > Cheers,
> > Adam
>
> hi, Thank you for the answer,
>
> I have made the changes in this file "WebKit / WebCore / page /
> FrameView.cpp"
> but it stil displays the main window whith no Content( white page ).
> But how can i do to hide the whole browser ?
>
> Thank you in advance for any help,
That's not what you asked for before. You just didn't want WebKit to render
any of the contents unless I read something wrong.
If you want to disable all painting altogether then that will depend on the
port of WebKit you are using: Qt, Mac, Windows, etc. For the Qt port you
could just use QWebPage with no QWebView and nothing would be drawn to screen.
Cheers,
Adam
More information about the webkit-dev
mailing list