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

Side by Side Diff: xfa/fwl/basewidget/fwl_caretimp.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.gyp ('k') | xfa/fwl/basewidget/fwl_caretimp.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_CARETIMP_H_ 7 #ifndef XFA_FWL_BASEWIDGET_FWL_CARETIMP_H_
8 #define XFA_FWL_BASEWIDGET_FWL_CARETIMP_H_ 8 #define XFA_FWL_BASEWIDGET_FWL_CARETIMP_H_
9 9
10 #include "xfa/fwl/core/fwl_widgetimp.h" 10 #include "xfa/fwl/core/fwl_widgetimp.h"
(...skipping 12 matching lines...) Expand all
23 23
24 virtual FWL_ERR GetClassName(CFX_WideString& wsClass) const; 24 virtual FWL_ERR GetClassName(CFX_WideString& wsClass) const;
25 virtual uint32_t GetClassID() const; 25 virtual uint32_t GetClassID() const;
26 26
27 virtual FWL_ERR Initialize(); 27 virtual FWL_ERR Initialize();
28 virtual FWL_ERR Finalize(); 28 virtual FWL_ERR Finalize();
29 29
30 virtual FWL_ERR DrawWidget(CFX_Graphics* pGraphics, 30 virtual FWL_ERR DrawWidget(CFX_Graphics* pGraphics,
31 const CFX_Matrix* pMatrix = NULL); 31 const CFX_Matrix* pMatrix = NULL);
32 32
33 virtual FWL_ERR ShowCaret(FX_BOOL bFlag = TRUE); 33 virtual void ShowCaret(FX_BOOL bFlag = TRUE);
34 virtual FWL_ERR GetFrequency(uint32_t& elapse); 34 virtual FWL_ERR GetFrequency(uint32_t& elapse);
35 virtual FWL_ERR SetFrequency(uint32_t elapse); 35 virtual FWL_ERR SetFrequency(uint32_t elapse);
36 virtual FWL_ERR SetColor(CFX_Color crFill); 36 virtual FWL_ERR SetColor(CFX_Color crFill);
37 37
38 protected: 38 protected:
39 FX_BOOL DrawCaretBK(CFX_Graphics* pGraphics, 39 FX_BOOL DrawCaretBK(CFX_Graphics* pGraphics,
40 IFWL_ThemeProvider* pTheme, 40 IFWL_ThemeProvider* pTheme,
41 const CFX_Matrix* pMatrix); 41 const CFX_Matrix* pMatrix);
42 class CFWL_CaretTimer : public IFWL_Timer { 42 class CFWL_CaretTimer : public IFWL_Timer {
43 public: 43 public:
(...skipping 15 matching lines...) Expand all
59 CFWL_CaretImpDelegate(CFWL_CaretImp* pOwner); 59 CFWL_CaretImpDelegate(CFWL_CaretImp* pOwner);
60 int32_t OnProcessMessage(CFWL_Message* pMessage) override; 60 int32_t OnProcessMessage(CFWL_Message* pMessage) override;
61 FWL_ERR OnDrawWidget(CFX_Graphics* pGraphics, 61 FWL_ERR OnDrawWidget(CFX_Graphics* pGraphics,
62 const CFX_Matrix* pMatrix = NULL) override; 62 const CFX_Matrix* pMatrix = NULL) override;
63 63
64 protected: 64 protected:
65 CFWL_CaretImp* m_pOwner; 65 CFWL_CaretImp* m_pOwner;
66 }; 66 };
67 67
68 #endif // XFA_FWL_BASEWIDGET_FWL_CARETIMP_H_ 68 #endif // XFA_FWL_BASEWIDGET_FWL_CARETIMP_H_
OLDNEW
« no previous file with comments | « xfa.gyp ('k') | xfa/fwl/basewidget/fwl_caretimp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698