Re: [webkit-dev] Turning off rendering in WebKit

2009-01-14 Thread goldeneyes



Bugzilla from tr...@kde.org wrote:
> 
> 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
> ___
> 

Hi Adam , Thank you for the answer, 

I am under Fedora core 9 and i use WebKit for GTK, 

Thank you in advance for any help,
-- 
View this message in context: 
http://www.nabble.com/Turning-off-rendering-in-WebKit-tp21419298p21458323.html
Sent from the Webkit mailing list archive at Nabble.com.

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Turning off rendering in WebKit

2009-01-14 Thread Adam Treat
On Wednesday 14 January 2009 5:07:56 am goldeneyes wrote:
> Bugzilla from tr...@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
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Turning off rendering in WebKit

2009-01-14 Thread goldeneyes



Bugzilla from tr...@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,

-- 
View this message in context: 
http://www.nabble.com/Turning-off-rendering-in-WebKit-tp21419298p21453089.html
Sent from the Webkit mailing list archive at Nabble.com.

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Turning off rendering in WebKit

2009-01-13 Thread Adam Treat
On Tuesday 13 January 2009 5:53:33 am goldeneyes wrote:
> Bugzilla from tr...@kde.org wrote:
> > Not sure what port you are using, but perhaps put in a 'return;' at the
> > beginning of Frame::paint(...) ?
> >
> > Adam
>
> hi,
>
> I want to do the same thing, I search the word "Frame:" with the following
> command:
> find /home/hiba/webkit-last-version/WebKit/  -type "f" | xargs grep -i
> "Frame::" | less -S
> but i don't found "Frame:: paint"
> where i can  find it ? please, can you help me.
>
> thank you in advance for any help,

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
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Turning off rendering in WebKit

2009-01-13 Thread Nilesh Patil
Hi

Prpbably you should start form FrameLoader::load. The root of the
render tree is called the RenderView, and this class corresponds to
the initial containing block according to CSS2.1. It is also the
renderer that will be returned if the renderer() method is called on
the Document. U can have a look at that.
So i guess, DOM tree will be created but u can stop it from being rendered.

Thanks & Regards
Niilesh

On Tue, Jan 13, 2009 at 4:23 PM, goldeneyes  wrote:
>
>
> Bugzilla from tr...@kde.org wrote:
>>
>>
>> Not sure what port you are using, but perhaps put in a 'return;' at the
>> beginning of Frame::paint(...) ?
>>
>> Adam
>>
> hi,
>
> I want to do the same thing, I search the word "Frame:" with the following
> command:
> find /home/hiba/webkit-last-version/WebKit/  -type "f" | xargs grep -i
> "Frame::" | less -S
> but i don't found "Frame:: paint"
> where i can  find it ? please, can you help me.
>
> thank you in advance for any help,
>
> --
> View this message in context: 
> http://www.nabble.com/Turning-off-rendering-in-WebKit-tp21419298p21433194.html
> Sent from the Webkit mailing list archive at Nabble.com.
>
> ___
> webkit-dev mailing list
> webkit-dev@lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Turning off rendering in WebKit

2009-01-13 Thread goldeneyes


Bugzilla from tr...@kde.org wrote:
> 
> 
> Not sure what port you are using, but perhaps put in a 'return;' at the 
> beginning of Frame::paint(...) ?
> 
> Adam
> 
hi,

I want to do the same thing, I search the word "Frame:" with the following
command:
find /home/hiba/webkit-last-version/WebKit/  -type "f" | xargs grep -i
"Frame::" | less -S
but i don't found "Frame:: paint"
where i can  find it ? please, can you help me.

thank you in advance for any help,

-- 
View this message in context: 
http://www.nabble.com/Turning-off-rendering-in-WebKit-tp21419298p21433194.html
Sent from the Webkit mailing list archive at Nabble.com.

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Turning off rendering in WebKit

2009-01-12 Thread Adam Treat
On Monday 12 January 2009 12:25:05 pm Shariq Rizvi wrote:
> I am using WebKit to piggy-back on the non-rendering phases of WebKit's
> loading of a page (parsing, DOM creation, onload-time Javascript
> execution), for doing some dynamic analysis of the in-memory objects that
> result after these phases.
>
> Hence, I want to disable the actual "rendering" of visible objects (I don't
> need to "see" any window). So far, I have been using Xvfb (X Virtual Frame
> Buffer) to have my application send its window into this fake X server. Is
> there an even better approach - perhaps a macro/flag that I can turn off so
> that WebKit does not graphically render anything?
>
> Thanks!

Not sure what port you are using, but perhaps put in a 'return;' at the 
beginning of Frame::paint(...) ?

Adam
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] Turning off rendering in WebKit

2009-01-12 Thread Shariq Rizvi
I am using WebKit to piggy-back on the non-rendering phases of WebKit's
loading of a page (parsing, DOM creation, onload-time Javascript execution),
for doing some dynamic analysis of the in-memory objects that result after
these phases.

Hence, I want to disable the actual "rendering" of visible objects (I don't
need to "see" any window). So far, I have been using Xvfb (X Virtual Frame
Buffer) to have my application send its window into this fake X server. Is
there an even better approach - perhaps a macro/flag that I can turn off so
that WebKit does not graphically render anything?

Thanks!
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev