[webkit-help] Howto show blank screen during page load
Srinivas Rao M Hamse
msrinirao at gmail.com
Wed Feb 3 03:27:08 PST 2010
Hi,
I want to clear the screen by showing an "about:blank" during the loading of
page. This is to make the user see a blank page or some local page while
there is page load is in progress.
For this if i make an explicit call to webkit_web_view_load_uri(web_view,
"about:blank"), followed by one more call webkit_web_view_load_uri() with
actual url;, i get this blank getting stored as a valid page inside
backforward list (history items list). I do not want to store blank page
into history list, as this is just a dummy page to clear off screen.
In the previous posts, i read the prepareForLoadStart() is the first event
that gets invoked during page load. I am trying to invoke a didOpenUrl()
from inside this function as:
FrameLoader::prepareForLoadStart()
{
KURL url = blankURL();
didOpenURL(url);
...... Original code follows ....
...... Original code follows ....
...... Original code follows ....
}
But this doesn't seem to be working, Is this a right place to invoke loading
dummy pages prior to loading actual pages.
thanks and regards,
--
Srinivas Rao M Hamse
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20100203/68f66392/attachment.html>
More information about the webkit-help
mailing list