| 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 #ifndef FPDFSDK_INCLUDE_FORMFILLER_FFL_COMBOBOX_H_ | 7 #ifndef FPDFSDK_INCLUDE_FORMFILLER_FFL_COMBOBOX_H_ |
| 8 #define FPDFSDK_INCLUDE_FORMFILLER_FFL_COMBOBOX_H_ | 8 #define FPDFSDK_INCLUDE_FORMFILLER_FFL_COMBOBOX_H_ |
| 9 | 9 |
| 10 #include "../../../core/include/fxcrt/fx_string.h" | 10 #include "../../../core/include/fxcrt/fx_string.h" |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 void SetActionData(CPDFSDK_PageView* pPageView, | 40 void SetActionData(CPDFSDK_PageView* pPageView, |
| 41 CPDF_AAction::AActionType type, | 41 CPDF_AAction::AActionType type, |
| 42 const PDFSDK_FieldAction& fa) override; | 42 const PDFSDK_FieldAction& fa) override; |
| 43 FX_BOOL IsActionDataChanged(CPDF_AAction::AActionType type, | 43 FX_BOOL IsActionDataChanged(CPDF_AAction::AActionType type, |
| 44 const PDFSDK_FieldAction& faOld, | 44 const PDFSDK_FieldAction& faOld, |
| 45 const PDFSDK_FieldAction& faNew) override; | 45 const PDFSDK_FieldAction& faNew) override; |
| 46 void SaveState(CPDFSDK_PageView* pPageView) override; | 46 void SaveState(CPDFSDK_PageView* pPageView) override; |
| 47 void RestoreState(CPDFSDK_PageView* pPageView) override; | 47 void RestoreState(CPDFSDK_PageView* pPageView) override; |
| 48 CPWL_Wnd* ResetPDFWindow(CPDFSDK_PageView* pPageView, | 48 CPWL_Wnd* ResetPDFWindow(CPDFSDK_PageView* pPageView, |
| 49 FX_BOOL bRestoreValue) override; | 49 FX_BOOL bRestoreValue) override; |
| 50 void OnKeyStroke(FX_BOOL bKeyDown, FX_DWORD nFlag) override; | |
| 51 | 50 |
| 52 // IPWL_FocusHandler: | 51 // IPWL_FocusHandler: |
| 53 void OnSetFocus(CPWL_Wnd* pWnd) override; | 52 void OnSetFocus(CPWL_Wnd* pWnd) override; |
| 54 void OnKillFocus(CPWL_Wnd* pWnd) override; | 53 void OnKillFocus(CPWL_Wnd* pWnd) override; |
| 55 | 54 |
| 56 // IPWL_Edit_Notify: | 55 // IPWL_Edit_Notify: |
| 57 void OnAddUndo(CPWL_Edit* pEdit) override; | 56 void OnAddUndo(CPWL_Edit* pEdit) override; |
| 58 | 57 |
| 59 private: | 58 private: |
| 60 CFX_WideString GetSelectExportText(); | 59 CFX_WideString GetSelectExportText(); |
| 61 | 60 |
| 62 CBA_FontMap* m_pFontMap; | 61 CBA_FontMap* m_pFontMap; |
| 63 FFL_ComboBoxState m_State; | 62 FFL_ComboBoxState m_State; |
| 64 }; | 63 }; |
| 65 | 64 |
| 66 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_COMBOBOX_H_ | 65 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_COMBOBOX_H_ |
| OLD | NEW |