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

Side by Side Diff: xfa/fwl/core/ifwl_form.h

Issue 2488953003: Cleanup IFWL_Widget visibility and virtual parameters (Closed)
Patch Set: fixes Created 4 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
« no previous file with comments | « xfa/fwl/core/ifwl_edit.cpp ('k') | xfa/fwl/core/ifwl_form.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_CORE_IFWL_FORM_H_ 7 #ifndef XFA_FWL_CORE_IFWL_FORM_H_
8 #define XFA_FWL_CORE_IFWL_FORM_H_ 8 #define XFA_FWL_CORE_IFWL_FORM_H_
9 9
10 #include <memory> 10 #include <memory>
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 class IFWL_Form : public IFWL_Widget { 84 class IFWL_Form : public IFWL_Widget {
85 public: 85 public:
86 IFWL_Form(const IFWL_App* app, 86 IFWL_Form(const IFWL_App* app,
87 std::unique_ptr<CFWL_WidgetProperties> properties, 87 std::unique_ptr<CFWL_WidgetProperties> properties,
88 IFWL_Widget* pOuter); 88 IFWL_Widget* pOuter);
89 ~IFWL_Form() override; 89 ~IFWL_Form() override;
90 90
91 // IFWL_Widget 91 // IFWL_Widget
92 FWL_Type GetClassID() const override; 92 FWL_Type GetClassID() const override;
93 bool IsInstance(const CFX_WideStringC& wsClass) const override; 93 bool IsInstance(const CFX_WideStringC& wsClass) const override;
94 FWL_Error GetWidgetRect(CFX_RectF& rect, bool bAutoSize = false) override; 94 void GetWidgetRect(CFX_RectF& rect, bool bAutoSize = false) override;
95 FWL_Error GetClientRect(CFX_RectF& rect) override; 95 void GetClientRect(CFX_RectF& rect) override;
96 FWL_Error Update() override; 96 void Update() override;
97 FWL_WidgetHit HitTest(FX_FLOAT fx, FX_FLOAT fy) override; 97 FWL_WidgetHit HitTest(FX_FLOAT fx, FX_FLOAT fy) override;
98 FWL_Error DrawWidget(CFX_Graphics* pGraphics, 98 void DrawWidget(CFX_Graphics* pGraphics,
99 const CFX_Matrix* pMatrix = nullptr) override; 99 const CFX_Matrix* pMatrix = nullptr) override;
100 void OnProcessMessage(CFWL_Message* pMessage) override; 100 void OnProcessMessage(CFWL_Message* pMessage) override;
101 void OnDrawWidget(CFX_Graphics* pGraphics, 101 void OnDrawWidget(CFX_Graphics* pGraphics,
102 const CFX_Matrix* pMatrix) override; 102 const CFX_Matrix* pMatrix) override;
103 103
104 FWL_FORMSIZE GetFormSize(); 104 FWL_FORMSIZE GetFormSize();
105 FWL_Error SetFormSize(FWL_FORMSIZE eFormSize); 105 FWL_Error SetFormSize(FWL_FORMSIZE eFormSize);
106 IFWL_Widget* DoModal(); 106 IFWL_Widget* DoModal();
107 IFWL_Widget* DoModal(uint32_t& dwCommandID); 107 IFWL_Widget* DoModal(uint32_t& dwCommandID);
108 FWL_Error EndDoModal(); 108 FWL_Error EndDoModal();
109 FWL_Error SetBorderRegion(CFX_Path* pPath); 109 FWL_Error SetBorderRegion(CFX_Path* pPath);
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 void OnLButtonUp(CFWL_MsgMouse* pMsg); 189 void OnLButtonUp(CFWL_MsgMouse* pMsg);
190 void OnMouseMove(CFWL_MsgMouse* pMsg); 190 void OnMouseMove(CFWL_MsgMouse* pMsg);
191 void OnMouseHover(CFWL_MsgMouse* pMsg); 191 void OnMouseHover(CFWL_MsgMouse* pMsg);
192 void OnMouseLeave(CFWL_MsgMouse* pMsg); 192 void OnMouseLeave(CFWL_MsgMouse* pMsg);
193 void OnLButtonDblClk(CFWL_MsgMouse* pMsg); 193 void OnLButtonDblClk(CFWL_MsgMouse* pMsg);
194 void OnWindowMove(CFWL_MsgWindowMove* pMsg); 194 void OnWindowMove(CFWL_MsgWindowMove* pMsg);
195 void OnClose(CFWL_MsgClose* pMsg); 195 void OnClose(CFWL_MsgClose* pMsg);
196 }; 196 };
197 197
198 #endif // XFA_FWL_CORE_IFWL_FORM_H_ 198 #endif // XFA_FWL_CORE_IFWL_FORM_H_
OLDNEW
« no previous file with comments | « xfa/fwl/core/ifwl_edit.cpp ('k') | xfa/fwl/core/ifwl_form.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698