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

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

Issue 1835703002: Remove FX_DWORD from XFA, part 2 (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 8 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_editimp.h ('k') | xfa/fwl/basewidget/fwl_listboximp.h » ('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_FORMPROXYIMP_H_ 7 #ifndef XFA_FWL_BASEWIDGET_FWL_FORMPROXYIMP_H_
8 #define XFA_FWL_BASEWIDGET_FWL_FORMPROXYIMP_H_ 8 #define XFA_FWL_BASEWIDGET_FWL_FORMPROXYIMP_H_
9 9
10 #include "xfa/fwl/core/fwl_formimp.h" 10 #include "xfa/fwl/core/fwl_formimp.h"
11 #include "xfa/fwl/core/fwl_widgetimp.h" 11 #include "xfa/fwl/core/fwl_widgetimp.h"
12 12
13 class CFWL_WidgetImpProperties; 13 class CFWL_WidgetImpProperties;
14 class CFWL_FormProxyImpDelegate; 14 class CFWL_FormProxyImpDelegate;
15 15
16 class CFWL_FormProxyImp : public CFWL_FormImp { 16 class CFWL_FormProxyImp : public CFWL_FormImp {
17 public: 17 public:
18 CFWL_FormProxyImp(const CFWL_WidgetImpProperties& properties, 18 CFWL_FormProxyImp(const CFWL_WidgetImpProperties& properties,
19 IFWL_Widget* pOuter); 19 IFWL_Widget* pOuter);
20 ~CFWL_FormProxyImp(); 20 ~CFWL_FormProxyImp();
21 virtual FWL_ERR GetClassName(CFX_WideString& wsClass) const; 21 virtual FWL_ERR GetClassName(CFX_WideString& wsClass) const;
22 virtual FX_DWORD GetClassID() const; 22 virtual uint32_t GetClassID() const;
23 virtual FX_BOOL IsInstance(const CFX_WideStringC& wsClass) const; 23 virtual FX_BOOL IsInstance(const CFX_WideStringC& wsClass) const;
24 virtual FWL_ERR Initialize(); 24 virtual FWL_ERR Initialize();
25 virtual FWL_ERR Finalize(); 25 virtual FWL_ERR Finalize();
26 virtual FWL_ERR Update(); 26 virtual FWL_ERR Update();
27 virtual FWL_ERR DrawWidget(CFX_Graphics* pGraphics, 27 virtual FWL_ERR DrawWidget(CFX_Graphics* pGraphics,
28 const CFX_Matrix* pMatrix = NULL); 28 const CFX_Matrix* pMatrix = NULL);
29 29
30 protected: 30 protected:
31 friend class CFWL_FormProxyImpDelegate; 31 friend class CFWL_FormProxyImpDelegate;
32 }; 32 };
33 class CFWL_FormProxyImpDelegate : public CFWL_WidgetImpDelegate { 33 class CFWL_FormProxyImpDelegate : public CFWL_WidgetImpDelegate {
34 public: 34 public:
35 CFWL_FormProxyImpDelegate(CFWL_FormProxyImp* pOwner); 35 CFWL_FormProxyImpDelegate(CFWL_FormProxyImp* pOwner);
36 int32_t OnProcessMessage(CFWL_Message* pMessage) override; 36 int32_t OnProcessMessage(CFWL_Message* pMessage) override;
37 37
38 protected: 38 protected:
39 CFWL_FormProxyImp* m_pOwner; 39 CFWL_FormProxyImp* m_pOwner;
40 }; 40 };
41 41
42 #endif // XFA_FWL_BASEWIDGET_FWL_FORMPROXYIMP_H_ 42 #endif // XFA_FWL_BASEWIDGET_FWL_FORMPROXYIMP_H_
OLDNEW
« no previous file with comments | « xfa/fwl/basewidget/fwl_editimp.h ('k') | xfa/fwl/basewidget/fwl_listboximp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698