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

Side by Side Diff: xfa/fwl/core/ifwl_widgetmgrdelegate.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/core/ifwl_widgetmgr.h ('k') | xfa/fwl/core/include/ifwl_adaptertimermgr.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 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 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_WIDGETMGRDELEGATE_H_ 7 #ifndef XFA_FWL_CORE_IFWL_WIDGETMGRDELEGATE_H_
8 #define XFA_FWL_CORE_IFWL_WIDGETMGRDELEGATE_H_ 8 #define XFA_FWL_CORE_IFWL_WIDGETMGRDELEGATE_H_
9 9
10 #include "core/fxcrt/include/fx_system.h" 10 #include "core/fxcrt/include/fx_system.h"
11 #include "xfa/fwl/core/fwl_error.h" 11 #include "xfa/fwl/core/fwl_error.h"
12 12
13 #define FWL_WGTMGR_DisableThread 0x00000001 13 #define FWL_WGTMGR_DisableThread 0x00000001
14 #define FWL_WGTMGR_DisableForm 0x00000002 14 #define FWL_WGTMGR_DisableForm 0x00000002
15 15
16 class CFWL_Message; 16 class CFWL_Message;
17 class CFX_Graphics; 17 class CFX_Graphics;
18 class CFX_Matrix; 18 class CFX_Matrix;
19 class IFWL_Widget; 19 class IFWL_Widget;
20 20
21 class IFWL_WidgetMgrDelegate { 21 class IFWL_WidgetMgrDelegate {
22 public: 22 public:
23 virtual ~IFWL_WidgetMgrDelegate() {} 23 virtual ~IFWL_WidgetMgrDelegate() {}
24 24
25 virtual FWL_ERR OnSetCapability( 25 virtual FWL_ERR OnSetCapability(
26 FX_DWORD dwCapability = FWL_WGTMGR_DisableThread) = 0; 26 uint32_t dwCapability = FWL_WGTMGR_DisableThread) = 0;
27 virtual int32_t OnProcessMessageToForm(CFWL_Message* pMessage) = 0; 27 virtual int32_t OnProcessMessageToForm(CFWL_Message* pMessage) = 0;
28 virtual FWL_ERR OnDrawWidget(IFWL_Widget* pWidget, 28 virtual FWL_ERR OnDrawWidget(IFWL_Widget* pWidget,
29 CFX_Graphics* pGraphics, 29 CFX_Graphics* pGraphics,
30 const CFX_Matrix* pMatrix = nullptr) = 0; 30 const CFX_Matrix* pMatrix = nullptr) = 0;
31 }; 31 };
32 32
33 #endif // XFA_FWL_CORE_IFWL_WIDGETMGRDELEGATE_H_ 33 #endif // XFA_FWL_CORE_IFWL_WIDGETMGRDELEGATE_H_
OLDNEW
« no previous file with comments | « xfa/fwl/core/ifwl_widgetmgr.h ('k') | xfa/fwl/core/include/ifwl_adaptertimermgr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698