Logo Search packages:      
Sourcecode: firefox-3.5 version File versions  Download package

nsIWidget * nsIFrame::GetWindow (  )  const [virtual, inherited]

Returns the window that contains this frame. If this frame has a view and the view has a window, then this frames window is returned, otherwise this frame's geometric parent is checked recursively upwards. XXX virtual because gfx callers use it! (themes)

Definition at line 3656 of file nsFrame.cpp.

References nsIFrame::GetClosestView(), and nsIView::GetNearestWidget().

  return GetClosestView()->GetNearestWidget(nsnull);

Generated by  Doxygen 1.6.0   Back to index