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

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

Issue 1886703005: Remove unused FWL methods (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
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_FWL_WIDGETIMP_H_ 7 #ifndef XFA_FWL_CORE_FWL_WIDGETIMP_H_
8 #define XFA_FWL_CORE_FWL_WIDGETIMP_H_ 8 #define XFA_FWL_CORE_FWL_WIDGETIMP_H_
9 9
10 #include "core/fxcrt/include/fx_coordinates.h" 10 #include "core/fxcrt/include/fx_coordinates.h"
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 int32_t iPartBorder, 131 int32_t iPartBorder,
132 IFWL_ThemeProvider* pTheme, 132 IFWL_ThemeProvider* pTheme,
133 const CFX_Matrix* pMatrix = NULL); 133 const CFX_Matrix* pMatrix = NULL);
134 void DrawEdge(CFX_Graphics* pGraphics, 134 void DrawEdge(CFX_Graphics* pGraphics,
135 int32_t iPartEdge, 135 int32_t iPartEdge,
136 IFWL_ThemeProvider* pTheme, 136 IFWL_ThemeProvider* pTheme,
137 const CFX_Matrix* pMatrix = NULL); 137 const CFX_Matrix* pMatrix = NULL);
138 void NotifyDriver(); 138 void NotifyDriver();
139 139
140 FX_BOOL IsParent(IFWL_Widget* pParent); 140 FX_BOOL IsParent(IFWL_Widget* pParent);
141
142 friend class CFWL_WidgetImpDelegate;
143
141 CFWL_WidgetMgr* m_pWidgetMgr; 144 CFWL_WidgetMgr* m_pWidgetMgr;
142 CFWL_NoteThreadImp* m_pOwnerThread; 145 CFWL_NoteThreadImp* m_pOwnerThread;
143 CFWL_WidgetImpProperties* m_pProperties; 146 CFWL_WidgetImpProperties* m_pProperties;
144 CFX_PrivateData* m_pPrivateData; 147 CFX_PrivateData* m_pPrivateData;
145 IFWL_WidgetDelegate* m_pDelegate; 148 IFWL_WidgetDelegate* m_pDelegate;
146 IFWL_WidgetDelegate* m_pCurDelegate; 149 IFWL_WidgetDelegate* m_pCurDelegate;
147 IFWL_Widget* m_pOuter; 150 IFWL_Widget* m_pOuter;
148 IFWL_Widget* m_pInterface; 151 IFWL_Widget* m_pInterface;
149 int32_t m_iLock; 152 int32_t m_iLock;
150 friend class CFWL_WidgetImpDelegate;
151 friend void FWL_SetWidgetRect(IFWL_Widget* widget, const CFX_RectF& rect);
152 friend void FWL_SetWidgetStates(IFWL_Widget* widget, uint32_t dwStates);
153 friend void FWL_SetWidgetStyles(IFWL_Widget* widget, uint32_t dwStyles);
154 }; 153 };
155 154
156 class CFWL_WidgetImpDelegate : public IFWL_WidgetDelegate { 155 class CFWL_WidgetImpDelegate : public IFWL_WidgetDelegate {
157 public: 156 public:
158 CFWL_WidgetImpDelegate(); 157 CFWL_WidgetImpDelegate();
159 ~CFWL_WidgetImpDelegate() override {} 158 ~CFWL_WidgetImpDelegate() override {}
160 int32_t OnProcessMessage(CFWL_Message* pMessage) override; 159 int32_t OnProcessMessage(CFWL_Message* pMessage) override;
161 FWL_ERR OnProcessEvent(CFWL_Event* pEvent) override; 160 FWL_ERR OnProcessEvent(CFWL_Event* pEvent) override;
162 FWL_ERR OnDrawWidget(CFX_Graphics* pGraphics, 161 FWL_ERR OnDrawWidget(CFX_Graphics* pGraphics,
163 const CFX_Matrix* pMatrix = NULL) override; 162 const CFX_Matrix* pMatrix = NULL) override;
164 }; 163 };
165 164
166 #endif // XFA_FWL_CORE_FWL_WIDGETIMP_H_ 165 #endif // XFA_FWL_CORE_FWL_WIDGETIMP_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698