Lines Matching refs:toplevel
464 // for toplevel so that InputMethod can remove itself from
763 const Widget* toplevel = GetTopLevelWidget();
764 // If GetTopLevelWidget() returns itself which is not toplevel,
765 // the widget is detached from toplevel widget.
767 // if there is no toplevel. We probably need to add GetTopMostWidget()
769 return (toplevel && toplevel != this) ? toplevel->GetInputMethod() : NULL;