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

Side by Side Diff: xfa/fwl/basewidget/fwl_comboboximp.h

Issue 1928963004: Cleanup IFWL_Adapter interfaces. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master Created 4 years, 7 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 | « xfa/fwl/basewidget/fwl_caretimp.cpp ('k') | xfa/fwl/basewidget/fwl_comboboximp.cpp » ('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 XFA_FWL_BASEWIDGET_FWL_COMBOBOXIMP_H_ 7 #ifndef XFA_FWL_BASEWIDGET_FWL_COMBOBOXIMP_H_
8 #define XFA_FWL_BASEWIDGET_FWL_COMBOBOXIMP_H_ 8 #define XFA_FWL_BASEWIDGET_FWL_COMBOBOXIMP_H_
9 9
10 #include <memory> 10 #include <memory>
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 CFWL_ComboBoxImp(const CFWL_WidgetImpProperties& properties, 84 CFWL_ComboBoxImp(const CFWL_WidgetImpProperties& properties,
85 IFWL_Widget* pOuter); 85 IFWL_Widget* pOuter);
86 virtual ~CFWL_ComboBoxImp(); 86 virtual ~CFWL_ComboBoxImp();
87 virtual FWL_ERR GetClassName(CFX_WideString& wsClass) const; 87 virtual FWL_ERR GetClassName(CFX_WideString& wsClass) const;
88 virtual uint32_t GetClassID() const; 88 virtual uint32_t GetClassID() const;
89 virtual FWL_ERR Initialize(); 89 virtual FWL_ERR Initialize();
90 virtual FWL_ERR Finalize(); 90 virtual FWL_ERR Finalize();
91 virtual FWL_ERR GetWidgetRect(CFX_RectF& rect, FX_BOOL bAutoSize = FALSE); 91 virtual FWL_ERR GetWidgetRect(CFX_RectF& rect, FX_BOOL bAutoSize = FALSE);
92 virtual FWL_ERR ModifyStylesEx(uint32_t dwStylesExAdded, 92 virtual FWL_ERR ModifyStylesEx(uint32_t dwStylesExAdded,
93 uint32_t dwStylesExRemoved); 93 uint32_t dwStylesExRemoved);
94 virtual FWL_ERR SetStates(uint32_t dwStates, FX_BOOL bSet = TRUE); 94 virtual void SetStates(uint32_t dwStates, FX_BOOL bSet = TRUE);
95 virtual FWL_ERR Update(); 95 virtual FWL_ERR Update();
96 virtual FWL_WidgetHit HitTest(FX_FLOAT fx, FX_FLOAT fy); 96 virtual FWL_WidgetHit HitTest(FX_FLOAT fx, FX_FLOAT fy);
97 virtual FWL_ERR DrawWidget(CFX_Graphics* pGraphics, 97 virtual FWL_ERR DrawWidget(CFX_Graphics* pGraphics,
98 const CFX_Matrix* pMatrix = NULL); 98 const CFX_Matrix* pMatrix = NULL);
99 virtual FWL_ERR SetThemeProvider(IFWL_ThemeProvider* pThemeProvider); 99 virtual FWL_ERR SetThemeProvider(IFWL_ThemeProvider* pThemeProvider);
100 virtual int32_t GetCurSel(); 100 virtual int32_t GetCurSel();
101 virtual FWL_ERR SetCurSel(int32_t iSel); 101 virtual FWL_ERR SetCurSel(int32_t iSel);
102 virtual FWL_ERR SetEditText(const CFX_WideString& wsText); 102 virtual FWL_ERR SetEditText(const CFX_WideString& wsText);
103 virtual int32_t GetEditTextLength() const; 103 virtual int32_t GetEditTextLength() const;
104 virtual FWL_ERR GetEditText(CFX_WideString& wsText, 104 virtual FWL_ERR GetEditText(CFX_WideString& wsText,
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 void OnDeactive(CFWL_MsgDeactivate* pMsg); 228 void OnDeactive(CFWL_MsgDeactivate* pMsg);
229 void OnFocusChanged(CFWL_MsgKillFocus* pMsg, FX_BOOL bSet); 229 void OnFocusChanged(CFWL_MsgKillFocus* pMsg, FX_BOOL bSet);
230 FX_BOOL m_bLButtonDown; 230 FX_BOOL m_bLButtonDown;
231 FX_BOOL m_bLButtonUpSelf; 231 FX_BOOL m_bLButtonUpSelf;
232 FX_FLOAT m_fStartPos; 232 FX_FLOAT m_fStartPos;
233 IFWL_Form* m_pForm; 233 IFWL_Form* m_pForm;
234 CFWL_ComboBoxImp* m_pComboBox; 234 CFWL_ComboBoxImp* m_pComboBox;
235 }; 235 };
236 236
237 #endif // XFA_FWL_BASEWIDGET_FWL_COMBOBOXIMP_H_ 237 #endif // XFA_FWL_BASEWIDGET_FWL_COMBOBOXIMP_H_
OLDNEW
« no previous file with comments | « xfa/fwl/basewidget/fwl_caretimp.cpp ('k') | xfa/fwl/basewidget/fwl_comboboximp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698