Lines Matching refs:pWnd
107 explicit CPWL_MsgControl(CPWL_Wnd* pWnd) { in CPWL_MsgControl() argument
108 m_pCreatedWnd = pWnd; in CPWL_MsgControl()
121 bool IsWndCreated(const CPWL_Wnd* pWnd) const { in IsWndCreated()
122 return m_pCreatedWnd == pWnd; in IsWndCreated()
125 bool IsMainCaptureMouse(const CPWL_Wnd* pWnd) const { in IsMainCaptureMouse()
126 return pWnd == m_pMainMouseWnd; in IsMainCaptureMouse()
129 bool IsWndCaptureMouse(const CPWL_Wnd* pWnd) const { in IsWndCaptureMouse()
130 return pWnd && pdfium::ContainsValue(m_aMousePath, pWnd); in IsWndCaptureMouse()
133 bool IsMainCaptureKeyboard(const CPWL_Wnd* pWnd) const { in IsMainCaptureKeyboard()
134 return pWnd == m_pMainKeyboardWnd; in IsMainCaptureKeyboard()
137 bool IsWndCaptureKeyboard(const CPWL_Wnd* pWnd) const { in IsWndCaptureKeyboard()
138 return pWnd && pdfium::ContainsValue(m_aKeyboardPath, pWnd); in IsWndCaptureKeyboard()
141 void SetFocus(CPWL_Wnd* pWnd) { in SetFocus() argument
143 if (pWnd) { in SetFocus()
144 m_pMainKeyboardWnd = pWnd; in SetFocus()
145 CPWL_Wnd* pParent = pWnd; in SetFocus()
150 pWnd->OnSetFocus(); in SetFocus()
156 if (CPWL_Wnd* pWnd = m_aKeyboardPath[0]) in KillFocus() local
157 pWnd->OnKillFocus(); in KillFocus()
163 void SetCapture(CPWL_Wnd* pWnd) { in SetCapture() argument
165 if (pWnd) { in SetCapture()
166 m_pMainMouseWnd = pWnd; in SetCapture()
167 CPWL_Wnd* pParent = pWnd; in SetCapture()
475 void CPWL_Wnd::AddChild(CPWL_Wnd* pWnd) { in AddChild() argument
476 m_Children.push_back(pWnd); in AddChild()
479 void CPWL_Wnd::RemoveChild(CPWL_Wnd* pWnd) { in RemoveChild() argument
481 if (*it && *it == pWnd) { in RemoveChild()
488 void CPWL_Wnd::OnNotify(CPWL_Wnd* pWnd, in OnNotify() argument
494 AddChild(pWnd); in OnNotify()
497 RemoveChild(pWnd); in OnNotify()
745 bool CPWL_Wnd::IsWndCaptureMouse(const CPWL_Wnd* pWnd) const { in IsWndCaptureMouse()
747 return pCtrl->IsWndCaptureMouse(pWnd); in IsWndCaptureMouse()
752 bool CPWL_Wnd::IsWndCaptureKeyboard(const CPWL_Wnd* pWnd) const { in IsWndCaptureKeyboard()
754 return pCtrl->IsWndCaptureKeyboard(pWnd); in IsWndCaptureKeyboard()