Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(386)

Side by Side Diff: fpdfsdk/pdfwindow/PWL_ComboBox.h

Issue 2341693003: Cleanup CFX_SystemHandler. (Closed)
Patch Set: Review feedback Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « fpdfsdk/fxedit/include/fxet_edit.h ('k') | fpdfsdk/pdfwindow/PWL_Edit.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_PDFWINDOW_PWL_COMBOBOX_H_ 7 #ifndef FPDFSDK_PDFWINDOW_PWL_COMBOBOX_H_
8 #define FPDFSDK_PDFWINDOW_PWL_COMBOBOX_H_ 8 #define FPDFSDK_PDFWINDOW_PWL_COMBOBOX_H_
9 9
10 #include "fpdfsdk/pdfwindow/PWL_Edit.h" 10 #include "fpdfsdk/pdfwindow/PWL_Edit.h"
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 void SetSelect(int32_t nItemIndex); 75 void SetSelect(int32_t nItemIndex);
76 76
77 void SetEditSel(int32_t nStartChar, int32_t nEndChar); 77 void SetEditSel(int32_t nStartChar, int32_t nEndChar);
78 void GetEditSel(int32_t& nStartChar, int32_t& nEndChar) const; 78 void GetEditSel(int32_t& nStartChar, int32_t& nEndChar) const;
79 void Clear(); 79 void Clear();
80 void SelectAll(); 80 void SelectAll();
81 FX_BOOL IsPopup() const; 81 FX_BOOL IsPopup() const;
82 82
83 void SetSelectText(); 83 void SetSelectText();
84 84
85 void AttachFFLData(void* pData) { m_pFormFiller = pData; } 85 void AttachFFLData(CFFL_FormFiller* pData) { m_pFormFiller = pData; }
86 86
87 private: 87 private:
88 void CreateEdit(const PWL_CREATEPARAM& cp); 88 void CreateEdit(const PWL_CREATEPARAM& cp);
89 void CreateButton(const PWL_CREATEPARAM& cp); 89 void CreateButton(const PWL_CREATEPARAM& cp);
90 void CreateListBox(const PWL_CREATEPARAM& cp); 90 void CreateListBox(const PWL_CREATEPARAM& cp);
91 void SetPopup(FX_BOOL bPopup); 91 void SetPopup(FX_BOOL bPopup);
92 92
93 CPWL_CBEdit* m_pEdit; 93 CPWL_CBEdit* m_pEdit;
94 CPWL_CBButton* m_pButton; 94 CPWL_CBButton* m_pButton;
95 CPWL_CBListBox* m_pList; 95 CPWL_CBListBox* m_pList;
96 FX_BOOL m_bPopup; 96 FX_BOOL m_bPopup;
97 CFX_FloatRect m_rcOldWindow; 97 CFX_FloatRect m_rcOldWindow;
98 int32_t m_nPopupWhere; 98 int32_t m_nPopupWhere;
99 int32_t m_nSelectItem; 99 int32_t m_nSelectItem;
100 IPWL_Filler_Notify* m_pFillerNotify; 100 IPWL_Filler_Notify* m_pFillerNotify;
101 101 CFFL_FormFiller* m_pFormFiller; // Not owned.
102 void* m_pFormFiller;
103 }; 102 };
104 103
105 #endif // FPDFSDK_PDFWINDOW_PWL_COMBOBOX_H_ 104 #endif // FPDFSDK_PDFWINDOW_PWL_COMBOBOX_H_
OLDNEW
« no previous file with comments | « fpdfsdk/fxedit/include/fxet_edit.h ('k') | fpdfsdk/pdfwindow/PWL_Edit.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698