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

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

Issue 1827923002: Move xfa/include/fwl/{core,basewidget} to xfa/fwl/{core,basewidget}. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master Created 4 years, 9 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/core/fwl_widgetdef.h ('k') | xfa/fwl/core/fwl_widgetimp.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_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"
11 #include "core/fxcrt/include/fx_system.h"
12 #include "xfa/fwl/core/cfwl_event.h"
10 #include "xfa/fwl/core/fwl_targetimp.h" 13 #include "xfa/fwl/core/fwl_targetimp.h"
11 #include "xfa/include/fwl/core/fwl_widget.h" 14 #include "xfa/fwl/core/ifwl_widgetdelegate.h"
12 15
16 class CFWL_MsgKey;
13 class CFWL_NoteThreadImp; 17 class CFWL_NoteThreadImp;
14 class CFWL_WidgetImpProperties; 18 class CFWL_WidgetImpProperties;
15 class CFWL_WidgetMgr; 19 class CFWL_WidgetMgr;
16 class IFWL_DataProvider; 20 class IFWL_DataProvider;
21 class IFWL_NoteThread;
17 class IFWL_ThemeProvider; 22 class IFWL_ThemeProvider;
18 class IFWL_Widget; 23 class IFWL_Widget;
19 class IFWL_WidgetDelegate;
20 24
21 class CFWL_WidgetImp : public CFWL_TargetImp { 25 class CFWL_WidgetImp : public CFWL_TargetImp {
22 public: 26 public:
23 virtual FWL_ERR Initialize(); 27 virtual FWL_ERR Initialize();
24 virtual FWL_ERR Finalize(); 28 virtual FWL_ERR Finalize();
25 29
26 virtual FWL_ERR GetWidgetRect(CFX_RectF& rect, FX_BOOL bAutoSize = FALSE); 30 virtual FWL_ERR GetWidgetRect(CFX_RectF& rect, FX_BOOL bAutoSize = FALSE);
27 virtual FWL_ERR GetGlobalRect(CFX_RectF& rect); 31 virtual FWL_ERR GetGlobalRect(CFX_RectF& rect);
28 virtual FWL_ERR SetWidgetRect(const CFX_RectF& rect); 32 virtual FWL_ERR SetWidgetRect(const CFX_RectF& rect);
29 virtual FWL_ERR GetClientRect(CFX_RectF& rect); 33 virtual FWL_ERR GetClientRect(CFX_RectF& rect);
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 public: 157 public:
154 CFWL_WidgetImpDelegate(); 158 CFWL_WidgetImpDelegate();
155 ~CFWL_WidgetImpDelegate() override {} 159 ~CFWL_WidgetImpDelegate() override {}
156 int32_t OnProcessMessage(CFWL_Message* pMessage) override; 160 int32_t OnProcessMessage(CFWL_Message* pMessage) override;
157 FWL_ERR OnProcessEvent(CFWL_Event* pEvent) override; 161 FWL_ERR OnProcessEvent(CFWL_Event* pEvent) override;
158 FWL_ERR OnDrawWidget(CFX_Graphics* pGraphics, 162 FWL_ERR OnDrawWidget(CFX_Graphics* pGraphics,
159 const CFX_Matrix* pMatrix = NULL) override; 163 const CFX_Matrix* pMatrix = NULL) override;
160 }; 164 };
161 165
162 #endif // XFA_FWL_CORE_FWL_WIDGETIMP_H_ 166 #endif // XFA_FWL_CORE_FWL_WIDGETIMP_H_
OLDNEW
« no previous file with comments | « xfa/fwl/core/fwl_widgetdef.h ('k') | xfa/fwl/core/fwl_widgetimp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698