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/fee/fde_txtedtengine.h" |
10 #include "xfa/fwl/basewidget/fwl_editimp.h" | 11 #include "xfa/fwl/basewidget/fwl_editimp.h" |
11 #include "xfa/fwl/basewidget/fwl_formproxyimp.h" | 12 #include "xfa/fwl/basewidget/fwl_formproxyimp.h" |
12 #include "xfa/fwl/basewidget/fwl_listboximp.h" | 13 #include "xfa/fwl/basewidget/fwl_listboximp.h" |
13 #include "xfa/fwl/basewidget/fwl_scrollbarimp.h" | 14 #include "xfa/fwl/basewidget/fwl_scrollbarimp.h" |
14 #include "xfa/fwl/core/cfwl_message.h" | 15 #include "xfa/fwl/core/cfwl_message.h" |
15 #include "xfa/fwl/core/cfwl_themebackground.h" | 16 #include "xfa/fwl/core/cfwl_themebackground.h" |
16 #include "xfa/fwl/core/cfwl_themepart.h" | 17 #include "xfa/fwl/core/cfwl_themepart.h" |
17 #include "xfa/fwl/core/cfwl_themetext.h" | 18 #include "xfa/fwl/core/cfwl_themetext.h" |
18 #include "xfa/fwl/core/fwl_appimp.h" | 19 #include "xfa/fwl/core/fwl_appimp.h" |
19 #include "xfa/fwl/core/fwl_formimp.h" | 20 #include "xfa/fwl/core/fwl_formimp.h" |
(...skipping 1825 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1845 m_pComboBox->ShowDropList(FALSE); | 1846 m_pComboBox->ShowDropList(FALSE); |
1846 } | 1847 } |
1847 void CFWL_ComboProxyImpDelegate::OnFocusChanged(CFWL_MsgKillFocus* pMsg, | 1848 void CFWL_ComboProxyImpDelegate::OnFocusChanged(CFWL_MsgKillFocus* pMsg, |
1848 FX_BOOL bSet) { | 1849 FX_BOOL bSet) { |
1849 if (!bSet) { | 1850 if (!bSet) { |
1850 if (pMsg->m_pSetFocus == NULL) { | 1851 if (pMsg->m_pSetFocus == NULL) { |
1851 m_pComboBox->ShowDropList(FALSE); | 1852 m_pComboBox->ShowDropList(FALSE); |
1852 } | 1853 } |
1853 } | 1854 } |
1854 } | 1855 } |
OLD | NEW |