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

Side by Side Diff: xfa/fwl/basewidget/fwl_editimp.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_comboboximp.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 20 matching lines...) Expand all
31 31
32 // CFWL_WidgetImp: 32 // CFWL_WidgetImp:
33 FWL_ERR GetClassName(CFX_WideString& wsClass) const override; 33 FWL_ERR GetClassName(CFX_WideString& wsClass) const override;
34 uint32_t GetClassID() const override; 34 uint32_t GetClassID() const override;
35 FWL_ERR Initialize() override; 35 FWL_ERR Initialize() override;
36 FWL_ERR Finalize() override; 36 FWL_ERR Finalize() override;
37 FWL_ERR GetWidgetRect(CFX_RectF& rect, FX_BOOL bAutoSize = FALSE) override; 37 FWL_ERR GetWidgetRect(CFX_RectF& rect, FX_BOOL bAutoSize = FALSE) override;
38 FWL_ERR SetWidgetRect(const CFX_RectF& rect) override; 38 FWL_ERR SetWidgetRect(const CFX_RectF& rect) override;
39 FWL_ERR Update() override; 39 FWL_ERR 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 FWL_ERR SetStates(uint32_t dwStates, FX_BOOL bSet = TRUE) override; 41 void SetStates(uint32_t dwStates, FX_BOOL bSet = TRUE) override;
42 FWL_ERR DrawWidget(CFX_Graphics* pGraphics, 42 FWL_ERR DrawWidget(CFX_Graphics* pGraphics,
43 const CFX_Matrix* pMatrix = NULL) override; 43 const CFX_Matrix* pMatrix = NULL) override;
44 FWL_ERR SetThemeProvider(IFWL_ThemeProvider* pThemeProvider) override; 44 FWL_ERR SetThemeProvider(IFWL_ThemeProvider* pThemeProvider) override;
45 45
46 virtual FWL_ERR SetText(const CFX_WideString& wsText); 46 virtual FWL_ERR SetText(const CFX_WideString& wsText);
47 virtual int32_t GetTextLength() const; 47 virtual int32_t GetTextLength() const;
48 virtual FWL_ERR GetText(CFX_WideString& wsText, 48 virtual FWL_ERR GetText(CFX_WideString& wsText,
49 int32_t nStart = 0, 49 int32_t nStart = 0,
50 int32_t nCount = -1) const; 50 int32_t nCount = -1) const;
51 virtual FWL_ERR ClearText(); 51 virtual FWL_ERR ClearText();
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 void OnButtonDblClk(CFWL_MsgMouse* pMsg); 189 void OnButtonDblClk(CFWL_MsgMouse* pMsg);
190 void OnMouseMove(CFWL_MsgMouse* pMsg); 190 void OnMouseMove(CFWL_MsgMouse* pMsg);
191 void OnKeyDown(CFWL_MsgKey* pMsg); 191 void OnKeyDown(CFWL_MsgKey* pMsg);
192 void OnChar(CFWL_MsgKey* pMsg); 192 void OnChar(CFWL_MsgKey* pMsg);
193 FX_BOOL OnScroll(IFWL_ScrollBar* pScrollBar, uint32_t dwCode, FX_FLOAT fPos); 193 FX_BOOL OnScroll(IFWL_ScrollBar* pScrollBar, uint32_t dwCode, FX_FLOAT fPos);
194 void DoCursor(CFWL_MsgMouse* pMsg); 194 void DoCursor(CFWL_MsgMouse* pMsg);
195 CFWL_EditImp* m_pOwner; 195 CFWL_EditImp* m_pOwner;
196 }; 196 };
197 197
198 #endif // XFA_FWL_BASEWIDGET_FWL_EDITIMP_H_ 198 #endif // XFA_FWL_BASEWIDGET_FWL_EDITIMP_H_
OLDNEW
« no previous file with comments | « xfa/fwl/basewidget/fwl_comboboximp.cpp ('k') | xfa/fwl/basewidget/fwl_editimp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698