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: [email protected]
> To: [email protected]
> CC: [email protected]
> 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
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev