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/fxfa/app/xfa_ffchoicelist.h" | 7 #include "xfa/fxfa/app/xfa_ffchoicelist.h" |
8 | 8 |
9 #include "xfa/fwl/basewidget/ifwl_edit.h" | 9 #include "xfa/fwl/basewidget/ifwl_edit.h" |
10 #include "xfa/fwl/core/fwl_noteimp.h" | 10 #include "xfa/fwl/core/fwl_noteimp.h" |
11 #include "xfa/fwl/core/ifwl_app.h" | 11 #include "xfa/fwl/core/ifwl_app.h" |
12 #include "xfa/fwl/lightwidget/cfwl_combobox.h" | 12 #include "xfa/fwl/lightwidget/cfwl_combobox.h" |
13 #include "xfa/fwl/lightwidget/cfwl_listbox.h" | 13 #include "xfa/fwl/lightwidget/cfwl_listbox.h" |
14 #include "xfa/fxfa/app/xfa_fffield.h" | 14 #include "xfa/fxfa/app/xfa_fffield.h" |
15 #include "xfa/fxfa/app/xfa_fwladapter.h" | 15 #include "xfa/fxfa/app/xfa_fwladapter.h" |
| 16 #include "xfa/fxfa/include/cxfa_eventparam.h" |
16 #include "xfa/fxfa/include/xfa_ffdoc.h" | 17 #include "xfa/fxfa/include/xfa_ffdoc.h" |
17 #include "xfa/fxfa/include/xfa_ffdocview.h" | 18 #include "xfa/fxfa/include/xfa_ffdocview.h" |
18 #include "xfa/fxfa/include/xfa_ffpageview.h" | 19 #include "xfa/fxfa/include/xfa_ffpageview.h" |
19 #include "xfa/fxfa/include/xfa_ffwidget.h" | 20 #include "xfa/fxfa/include/xfa_ffwidget.h" |
20 | 21 |
21 CXFA_FFListBox::CXFA_FFListBox(CXFA_FFPageView* pPageView, | 22 CXFA_FFListBox::CXFA_FFListBox(CXFA_FFPageView* pPageView, |
22 CXFA_WidgetAcc* pDataAcc) | 23 CXFA_WidgetAcc* pDataAcc) |
23 : CXFA_FFField(pPageView, pDataAcc), m_pOldDelegate(NULL) {} | 24 : CXFA_FFField(pPageView, pDataAcc), m_pOldDelegate(NULL) {} |
24 CXFA_FFListBox::~CXFA_FFListBox() { | 25 CXFA_FFListBox::~CXFA_FFListBox() { |
25 if (m_pNormalWidget) { | 26 if (m_pNormalWidget) { |
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
523 default: | 524 default: |
524 break; | 525 break; |
525 } | 526 } |
526 m_pOldDelegate->OnProcessEvent(pEvent); | 527 m_pOldDelegate->OnProcessEvent(pEvent); |
527 } | 528 } |
528 | 529 |
529 void CXFA_FFComboBox::OnDrawWidget(CFX_Graphics* pGraphics, | 530 void CXFA_FFComboBox::OnDrawWidget(CFX_Graphics* pGraphics, |
530 const CFX_Matrix* pMatrix) { | 531 const CFX_Matrix* pMatrix) { |
531 m_pOldDelegate->OnDrawWidget(pGraphics, pMatrix); | 532 m_pOldDelegate->OnDrawWidget(pGraphics, pMatrix); |
532 } | 533 } |
OLD | NEW |