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

Side by Side Diff: xfa/src/fwl/src/basewidget/include/fwl_caretimp.h

Issue 1458173002: Fix CFWL_WidgetImpDelegate hierarchy. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 1 month 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
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 _FWL_CARET_IMP_H 7 #ifndef _FWL_CARET_IMP_H
8 #define _FWL_CARET_IMP_H 8 #define _FWL_CARET_IMP_H
9 class CFWL_WidgetImp; 9 class CFWL_WidgetImp;
10 class CFWL_WidgetImpProperties; 10 class CFWL_WidgetImpProperties;
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 FWL_HTIMER m_hTimer; 48 FWL_HTIMER m_hTimer;
49 FX_DWORD m_dwElapse; 49 FX_DWORD m_dwElapse;
50 CFX_Color m_crFill; 50 CFX_Color m_crFill;
51 FX_BOOL m_bSetColor; 51 FX_BOOL m_bSetColor;
52 friend class CFWL_CaretImpDelegate; 52 friend class CFWL_CaretImpDelegate;
53 friend class CFWL_CaretTimer; 53 friend class CFWL_CaretTimer;
54 }; 54 };
55 class CFWL_CaretImpDelegate : public CFWL_WidgetImpDelegate { 55 class CFWL_CaretImpDelegate : public CFWL_WidgetImpDelegate {
56 public: 56 public:
57 CFWL_CaretImpDelegate(CFWL_CaretImp* pOwner); 57 CFWL_CaretImpDelegate(CFWL_CaretImp* pOwner);
58 virtual int32_t OnProcessMessage(CFWL_Message* pMessage); 58 int32_t OnProcessMessage(CFWL_Message* pMessage) override;
59 virtual FWL_ERR OnDrawWidget(CFX_Graphics* pGraphics, 59 FWL_ERR OnDrawWidget(CFX_Graphics* pGraphics,
60 const CFX_Matrix* pMatrix = NULL); 60 const CFX_Matrix* pMatrix = NULL) override;
61 61
62 protected: 62 protected:
63 CFWL_CaretImp* m_pOwner; 63 CFWL_CaretImp* m_pOwner;
64 }; 64 };
65 #endif 65 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698