[webkit-dev] Puzzled, can anyone give me a hint?
TianShijun
tiansjun at hotmail.com
Mon Jun 15 08:07:40 PDT 2009
Hi Joe,
Now I get to know how it work in Qt/Windows. But i found that in Qt/X11, only PluginView.cpp and PluginViewQt.cpp will be compiled. Is that mean all the platformPluginWidget() will return 0? There are many "platformPluginWidget()->foo()" in PluginViewQt.cpp.
> Date: Mon, 15 Jun 2009 10:23:04 -0400
> From: joe.mason at torchmobile.com
> To: tiansjun at hotmail.com
> CC: webkit-dev at lists.webkit.org
> Subject: Re: [webkit-dev] Puzzled, can anyone give me a hint?
>
> TianShijun wrote:
> > Hi All,
> > I am reviewing the code of WebKit. I found that in PluginView.h/cpp ,
> > only one method (setPlatformPluginWidget) can set the private member
> > PluginView::m_window to be non-zero.
> >
> > I have searched all the codes and found that only PluginViewMac.cpp
> > has invoked this function. Is that mean PluginView::m_window is always
> > equal to zero except in Mac? But actually it is a valid value in
> > Qt/X11. Then where do we initialize it?
> >
> > Thanks!
> m_window is set directly in PluginView::init() in PluginViewWin.cpp
>
> Joe
_________________________________________________________________
打工,挣钱,买房子,快来MClub一起”金屋藏娇”!
http://club.msn.cn/?from=10
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20090615/f911420c/attachment.html>
More information about the webkit-dev
mailing list