| OLD | NEW |
| 1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
| 6 | 6 |
| 7 #include "xfa/fwl/basewidget/fwl_comboboximp.h" | 7 #include "xfa/fwl/basewidget/fwl_comboboximp.h" |
| 8 | 8 |
| 9 #include "xfa/fde/tto/fde_textout.h" | 9 #include "xfa/fde/tto/fde_textout.h" |
| 10 #include "xfa/fwl/basewidget/fwl_editimp.h" | 10 #include "xfa/fwl/basewidget/fwl_editimp.h" |
| 11 #include "xfa/fwl/basewidget/fwl_formproxyimp.h" | 11 #include "xfa/fwl/basewidget/fwl_formproxyimp.h" |
| 12 #include "xfa/fwl/basewidget/fwl_listboximp.h" | 12 #include "xfa/fwl/basewidget/fwl_listboximp.h" |
| 13 #include "xfa/fwl/basewidget/fwl_scrollbarimp.h" | 13 #include "xfa/fwl/basewidget/fwl_scrollbarimp.h" |
| 14 #include "xfa/fwl/core/cfwl_message.h" | 14 #include "xfa/fwl/core/cfwl_message.h" |
| 15 #include "xfa/fwl/core/cfwl_themebackground.h" | 15 #include "xfa/fwl/core/cfwl_themebackground.h" |
| 16 #include "xfa/fwl/core/cfwl_themepart.h" | 16 #include "xfa/fwl/core/cfwl_themepart.h" |
| 17 #include "xfa/fwl/core/cfwl_themetext.h" | 17 #include "xfa/fwl/core/cfwl_themetext.h" |
| 18 #include "xfa/fwl/core/fwl_appimp.h" | 18 #include "xfa/fwl/core/fwl_appimp.h" |
| 19 #include "xfa/fwl/core/fwl_formimp.h" | 19 #include "xfa/fwl/core/fwl_formimp.h" |
| 20 #include "xfa/fwl/core/fwl_noteimp.h" | 20 #include "xfa/fwl/core/fwl_noteimp.h" |
| 21 #include "xfa/fwl/core/fwl_panelimp.h" | |
| 22 #include "xfa/fwl/core/fwl_targetimp.h" | 21 #include "xfa/fwl/core/fwl_targetimp.h" |
| 23 #include "xfa/fwl/core/fwl_threadimp.h" | 22 #include "xfa/fwl/core/fwl_threadimp.h" |
| 24 #include "xfa/fwl/core/fwl_widgetimp.h" | 23 #include "xfa/fwl/core/fwl_widgetimp.h" |
| 25 #include "xfa/fwl/core/fwl_widgetmgrimp.h" | 24 #include "xfa/fwl/core/fwl_widgetmgrimp.h" |
| 26 #include "xfa/fwl/core/ifwl_themeprovider.h" | 25 #include "xfa/fwl/core/ifwl_themeprovider.h" |
| 27 #include "xfa/fwl/core/ifwl_thread.h" | 26 #include "xfa/fwl/core/ifwl_thread.h" |
| 28 | 27 |
| 29 // static | 28 // static |
| 30 IFWL_ComboBox* IFWL_ComboBox::Create( | 29 IFWL_ComboBox* IFWL_ComboBox::Create( |
| 31 const CFWL_WidgetImpProperties& properties) { | 30 const CFWL_WidgetImpProperties& properties) { |
| (...skipping 1783 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1815 m_pComboBox->ShowDropList(FALSE); | 1814 m_pComboBox->ShowDropList(FALSE); |
| 1816 } | 1815 } |
| 1817 void CFWL_ComboProxyImpDelegate::OnFocusChanged(CFWL_MsgKillFocus* pMsg, | 1816 void CFWL_ComboProxyImpDelegate::OnFocusChanged(CFWL_MsgKillFocus* pMsg, |
| 1818 FX_BOOL bSet) { | 1817 FX_BOOL bSet) { |
| 1819 if (!bSet) { | 1818 if (!bSet) { |
| 1820 if (pMsg->m_pSetFocus == NULL) { | 1819 if (pMsg->m_pSetFocus == NULL) { |
| 1821 m_pComboBox->ShowDropList(FALSE); | 1820 m_pComboBox->ShowDropList(FALSE); |
| 1822 } | 1821 } |
| 1823 } | 1822 } |
| 1824 } | 1823 } |
| OLD | NEW |