Unfortunately no. That method is only called when I send a WM_PRINTCLIENT to 
the webkit window. I need to know when something on the UI has changed (for 
example a flash animation) so that I can tell webkit when to render instead of 
constantly hogging the CPU.

I hope I am making sense here :)

Regards, Frank


From: Adam Roben [mailto:aro...@apple.com]
Sent: 24. februar 2009 16:45
To: Frank Thomsen
Cc: webkit-dev@lists.webkit.org
Subject: Re: [webkit-dev] WM_PRINTCLIENT and when to send it


On Feb 24, 2009, at 4:44 AM, Frank Thomsen wrote:


Hi

I have hosted webkit in a hidden window (on a Windows platform), and I need to 
find out when it is necessary to send a WM_PRINTCLIENT to it. The problem is 
that at the moment I force Webkit to render every 30 ms, which is far from 
optimal. Isn't there some way for me to get an event when it is time to redraw 
the UI?

IWebUIDelegatePrivate2::webViewPainted should be what you need.

-Adam

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

Reply via email to