Re: [webkit-dev] FrameLoaderClient notifications

2008-03-13 Thread Darin Adler
On Mar 13, 2008, at 8:50 AM, Artem Ananiev wrote: I suppose the following order of loading events for a page with a single frame (please, correct me, if I'm wrong): page load started main document load started title received icon received * main document load finished ** resource load started

Re: [webkit-dev] FrameLoaderClient notifications

2008-03-13 Thread Artem Ananiev
Please, see my comments below. Darin Adler wrote: On Mar 13, 2008, at 4:11 AM, Artem Ananiev wrote: I work on dispatching web load/progress events for Java port and have some questions about notifications in FrameLoaderClient class. 1. What is the right method to implement to get a 'page loa

Re: [webkit-dev] FrameLoaderClient notifications

2008-03-13 Thread Darin Adler
On Mar 13, 2008, at 4:11 AM, Artem Ananiev wrote: I work on dispatching web load/progress events for Java port and have some questions about notifications in FrameLoaderClient class. 1. What is the right method to implement to get a 'page load started' and 'page load finished' events? I tri

Re: [webkit-dev] FrameLoaderClient notifications

2008-03-13 Thread Patrick Hanna
Can you get the provisionalDocumentLoader from the FrameLoader and use that url? Patrick On Mar 13, 2008, at 9:19 AM, Artem Ananiev wrote: Hi, Patrick, in Java port we do the same: store Frame* in FrameLoaderClient. However, this frame's loader URL can't be used, for example, in postPro

Re: [webkit-dev] FrameLoaderClient notifications

2008-03-13 Thread Artem Ananiev
Hi, Patrick, in Java port we do the same: store Frame* in FrameLoaderClient. However, this frame's loader URL can't be used, for example, in postProgressStartedNotification as it contains the current URL, not the URL which is about to be loaded... Thanks, Artem Patrick Hanna wrote: Artem,

Re: [webkit-dev] FrameLoaderClient notifications

2008-03-13 Thread Patrick Hanna
Artem, For our port, we construct the FrameLoaderClient with a pointer to the Frame object. So in all the progress notification callbacks we can say m_frame->loader()->url() or whatever to get the current url of the frame. Patrick On Mar 13, 2008, at 7:11 AM, Artem Ananiev wrote: Hi,

[webkit-dev] FrameLoaderClient notifications

2008-03-13 Thread Artem Ananiev
Hi, I work on dispatching web load/progress events for Java port and have some questions about notifications in FrameLoaderClient class. 1. What is the right method to implement to get a 'page load started' and 'page load finished' events? I tried the following methods: postProgressStartedN