On Mon, Jul 13, 2009 at 3:37 AM, ZHOU Xiao-bo<[email protected]> wrote: > You can't restore a page from only the serialized DOM. > The CachedPage class may help.
> I have looked at CachedPage.h, but I don't see any method to serialize the cached page to files and then de-serialize it later. Can you please tell me how can I do that with cached page? > 2009/7/13 Luka Napotnik <[email protected]> >> >> Hello. >> >> I want to partially prevent the user from loosing focus from the >> current page being displayed. As I see, this can be done by saving the >> current state of webkit which means serializing the DOM tree. But I >> don't know if traversing the DOM tree is sufficient and which >> information is relevant to restore the previous state. Is there >> already some API for session restoration? >> >> Greets, >> Luka >> _______________________________________________ >> webkit-dev mailing list >> [email protected] >> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev > > > _______________________________________________ > webkit-dev mailing list > [email protected] > http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev > > _______________________________________________ webkit-dev mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

