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

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

Issue 2432423002: Merge the CFWL_*Imp classes into the IFWL_* classes. (Closed)
Patch Set: Review feedback Created 4 years, 2 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.cpp ('k') | xfa/fwl/basewidget/fwl_formproxyimp.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7 #ifndef XFA_FWL_BASEWIDGET_FWL_FORMPROXYIMP_H_
8 #define XFA_FWL_BASEWIDGET_FWL_FORMPROXYIMP_H_
9
10 #include "xfa/fwl/core/fwl_formimp.h"
11 #include "xfa/fwl/core/fwl_widgetimp.h"
12
13 class CFWL_WidgetImpProperties;
14 class CFWL_FormProxyImpDelegate;
15
16 class CFWL_FormProxyImp : public CFWL_FormImp {
17 public:
18 CFWL_FormProxyImp(const CFWL_WidgetImpProperties& properties,
19 IFWL_Widget* pOuter);
20 ~CFWL_FormProxyImp() override;
21
22 // CFWL_WidgetImp
23 FWL_Error GetClassName(CFX_WideString& wsClass) const override;
24 FWL_Type GetClassID() const override;
25 FX_BOOL IsInstance(const CFX_WideStringC& wsClass) const override;
26 FWL_Error Initialize() override;
27 FWL_Error Finalize() override;
28 FWL_Error Update() override;
29 FWL_Error DrawWidget(CFX_Graphics* pGraphics,
30 const CFX_Matrix* pMatrix = nullptr) override;
31
32 protected:
33 friend class CFWL_FormProxyImpDelegate;
34 };
35
36 class CFWL_FormProxyImpDelegate : public CFWL_WidgetImpDelegate {
37 public:
38 CFWL_FormProxyImpDelegate(CFWL_FormProxyImp* pOwner);
39 void OnProcessMessage(CFWL_Message* pMessage) override;
40
41 protected:
42 CFWL_FormProxyImp* m_pOwner;
43 };
44
45 #endif // XFA_FWL_BASEWIDGET_FWL_FORMPROXYIMP_H_
OLDNEW
« no previous file with comments | « xfa/fwl/basewidget/fwl_editimp.cpp ('k') | xfa/fwl/basewidget/fwl_formproxyimp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698