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

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

Issue 1946213003: Remove CLASSHASH defines in favour of an enum class. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: 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_datetimepickerimp.cpp ('k') | xfa/fwl/basewidget/fwl_editimp.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_EDITIMP_H_ 7 #ifndef XFA_FWL_BASEWIDGET_FWL_EDITIMP_H_
8 #define XFA_FWL_BASEWIDGET_FWL_EDITIMP_H_ 8 #define XFA_FWL_BASEWIDGET_FWL_EDITIMP_H_
9 9
10 #include <memory> 10 #include <memory>
(...skipping 13 matching lines...) Expand all
24 class CFWL_EditImp; 24 class CFWL_EditImp;
25 class CFWL_EditImpDelegate; 25 class CFWL_EditImpDelegate;
26 26
27 class CFWL_EditImp : public CFWL_WidgetImp { 27 class CFWL_EditImp : public CFWL_WidgetImp {
28 public: 28 public:
29 CFWL_EditImp(const CFWL_WidgetImpProperties& properties, IFWL_Widget* pOuter); 29 CFWL_EditImp(const CFWL_WidgetImpProperties& properties, IFWL_Widget* pOuter);
30 ~CFWL_EditImp() override; 30 ~CFWL_EditImp() override;
31 31
32 // CFWL_WidgetImp: 32 // CFWL_WidgetImp:
33 FWL_Error GetClassName(CFX_WideString& wsClass) const override; 33 FWL_Error GetClassName(CFX_WideString& wsClass) const override;
34 uint32_t GetClassID() const override; 34 FWL_Type GetClassID() const override;
35 FWL_Error Initialize() override; 35 FWL_Error Initialize() override;
36 FWL_Error Finalize() override; 36 FWL_Error Finalize() override;
37 FWL_Error GetWidgetRect(CFX_RectF& rect, FX_BOOL bAutoSize = FALSE) override; 37 FWL_Error GetWidgetRect(CFX_RectF& rect, FX_BOOL bAutoSize = FALSE) override;
38 FWL_Error SetWidgetRect(const CFX_RectF& rect) override; 38 FWL_Error SetWidgetRect(const CFX_RectF& rect) override;
39 FWL_Error Update() override; 39 FWL_Error Update() override;
40 FWL_WidgetHit HitTest(FX_FLOAT fx, FX_FLOAT fy) override; 40 FWL_WidgetHit HitTest(FX_FLOAT fx, FX_FLOAT fy) override;
41 void SetStates(uint32_t dwStates, FX_BOOL bSet = TRUE) override; 41 void SetStates(uint32_t dwStates, FX_BOOL bSet = TRUE) override;
42 FWL_Error DrawWidget(CFX_Graphics* pGraphics, 42 FWL_Error DrawWidget(CFX_Graphics* pGraphics,
43 const CFX_Matrix* pMatrix = NULL) override; 43 const CFX_Matrix* pMatrix = NULL) override;
44 FWL_Error SetThemeProvider(IFWL_ThemeProvider* pThemeProvider) override; 44 FWL_Error SetThemeProvider(IFWL_ThemeProvider* pThemeProvider) override;
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 void OnButtonDblClk(CFWL_MsgMouse* pMsg); 191 void OnButtonDblClk(CFWL_MsgMouse* pMsg);
192 void OnMouseMove(CFWL_MsgMouse* pMsg); 192 void OnMouseMove(CFWL_MsgMouse* pMsg);
193 void OnKeyDown(CFWL_MsgKey* pMsg); 193 void OnKeyDown(CFWL_MsgKey* pMsg);
194 void OnChar(CFWL_MsgKey* pMsg); 194 void OnChar(CFWL_MsgKey* pMsg);
195 FX_BOOL OnScroll(IFWL_ScrollBar* pScrollBar, uint32_t dwCode, FX_FLOAT fPos); 195 FX_BOOL OnScroll(IFWL_ScrollBar* pScrollBar, uint32_t dwCode, FX_FLOAT fPos);
196 void DoCursor(CFWL_MsgMouse* pMsg); 196 void DoCursor(CFWL_MsgMouse* pMsg);
197 CFWL_EditImp* m_pOwner; 197 CFWL_EditImp* m_pOwner;
198 }; 198 };
199 199
200 #endif // XFA_FWL_BASEWIDGET_FWL_EDITIMP_H_ 200 #endif // XFA_FWL_BASEWIDGET_FWL_EDITIMP_H_
OLDNEW
« no previous file with comments | « xfa/fwl/basewidget/fwl_datetimepickerimp.cpp ('k') | xfa/fwl/basewidget/fwl_editimp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698