Re: [chromium-dev] How can I tell if a Renderer process finishes loading a page

2010-01-11 Thread hap 497
Thank you.

But when I load www.cnn.com, I see something strange:
First the throbber is spinning, and then the cnn fave icon is shown
and then the throbber is spinning again, and then fave icon is shown.
And then the fave icon stays.

Can you please help me understand under what situation will cause this
to happen? I don't think it is caused by frame set. This is because I
tried http://java.sun.com/j2se/1.5.0/docs/api/index.html, the throbber
stops after each frame in frame set is loaded.


On Sat, Jan 9, 2010 at 10:11 AM, Peter Kasting pkast...@google.com wrote:
 On Sat, Jan 9, 2010 at 12:15 AM, hap 497 hap...@gmail.com wrote:

 So how does renderer process knows the whole page is loaded completely
 and tell the browser process to stop the spinning icons and shows the
 favicon of the page?

 Sounds like you should start by looking in the browser for what controls the
 throbber and backtrack from there.  You want the NavigationController class.
 PK
-- 
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev

Re: [chromium-dev] How can I tell if a Renderer process finishes loading a page

2010-01-11 Thread Brett Wilson
On Mon, Jan 11, 2010 at 12:59 AM, hap 497 hap...@gmail.com wrote:
 Thank you.

 But when I load www.cnn.com, I see something strange:
 First the throbber is spinning, and then the cnn fave icon is shown
 and then the throbber is spinning again, and then fave icon is shown.
 And then the fave icon stays.

 Can you please help me understand under what situation will cause this
 to happen? I don't think it is caused by frame set. This is because I
 tried http://java.sun.com/j2se/1.5.0/docs/api/index.html, the throbber
 stops after each frame in frame set is loaded.

I don't think anybody is able to answer this type of question off the
top of their head.

RenderView::didStartLoading / didStopLoading correspond to the
throbber starting and stopping in the renderer, I'd trace back form
there.

Brett
-- 
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev

Re: [chromium-dev] How can I tell if a Renderer process finishes loading a page

2010-01-09 Thread Peter Kasting
On Sat, Jan 9, 2010 at 12:15 AM, hap 497 hap...@gmail.com wrote:

 So how does renderer process knows the whole page is loaded completely
 and tell the browser process to stop the spinning icons and shows the
 favicon of the page?


Sounds like you should start by looking in the browser for what controls the
throbber and backtrack from there.  You want the NavigationController class.

PK
-- 
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev