[Very thanks, Boris! I get the docshell from WebBrowser which init the URL load and it seems work in most cases. But I still have some troubles with the pages with flash. I installed adobe flashplayer in my server. but it seems RenderDocument can not deal with flash. Does my flashplayer work or something else wrong? Thanks!
2009/6/27 <dev-embedding-requ...@lists.mozilla.org> > Send dev-embedding mailing list submissions to > dev-embedding@lists.mozilla.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.mozilla.org/listinfo/dev-embedding > or, via email, send a message with subject or body 'help' to > dev-embedding-requ...@lists.mozilla.org > > You can reach the person managing the list at > dev-embedding-ow...@lists.mozilla.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of dev-embedding digest..." > > > Today's Topics: > > 1. Re: Flash plugin and OnStateChange flags (Havvy) > 2. Re: Flash plugin and OnStateChange flags (Boris Zbarsky) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 26 Jun 2009 18:43:16 +0800 > From: Havvy <wanghewei1...@gmail.com> > To: dev-embedding@lists.mozilla.org > Subject: Re: Flash plugin and OnStateChange flags > Message-ID: > <5835bc6e0906260343w1aca2949l9b36a30ed170c...@mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > > You have the nsIWebNavigation you started the load on, right? Can you > > not just get the information you need from it? > > > -Boris > > > > Hi, Boris, > > Very thanks for your reply! > Sorry to say that I have no idea how and what to get from the > nsIWebNavigation. > Code snippet would be very appreciate. > > > > > > > > > > > ------------------------------ > > > > _______________________________________________ > > dev-embedding mailing list > > dev-embedding@lists.mozilla.org > > https://lists.mozilla.org/listinfo/dev-embedding > > > > > > End of dev-embedding Digest, Vol 42, Issue 23 > > ********************************************* > > > > > ------------------------------ > > Message: 2 > Date: Fri, 26 Jun 2009 12:11:55 -0400 > From: Boris Zbarsky <bzbar...@mit.edu> > To: dev-embedding@lists.mozilla.org > Subject: Re: Flash plugin and OnStateChange flags > Message-ID: <yekdnsmm8lvrbtnxnz2dnuvz_jvi4...@mozilla.org> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Havvy wrote: > > Sorry to say that I have no idea how and what to get from the > > nsIWebNavigation. > > You get its DOM window, then GetInterface nsIWebNavigation from the DOM > window. The resulting object is a docshell. Proceed from there. > > -Boris > > > ------------------------------ > > _______________________________________________ > dev-embedding mailing list > dev-embedding@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-embedding > > > End of dev-embedding Digest, Vol 42, Issue 24 > ********************************************* > _______________________________________________ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-embedding