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

Unified Diff: xfa/fxfa/parser/xfa_document.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, 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « xfa/fxfa/parser/xfa_doclayout.h ('k') | xfa/fxfa/parser/xfa_document_datamerger_imp.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fxfa/parser/xfa_document.h
diff --git a/xfa/fxfa/parser/xfa_document.h b/xfa/fxfa/parser/xfa_document.h
index affe4001ba99d90baf80cff779572c44eb674237..5938f2da5698a34d0f669f030c9264063e44ba8c 100644
--- a/xfa/fxfa/parser/xfa_document.h
+++ b/xfa/fxfa/parser/xfa_document.h
@@ -82,7 +82,7 @@ class IXFA_Notify {
void* pParam3 = NULL,
void* pParam4 = NULL) = 0;
virtual void OnWidgetDataEvent(CXFA_WidgetData* pSender,
- FX_DWORD dwEvent,
+ uint32_t dwEvent,
void* pParam = NULL,
void* pAdditional = NULL,
void* pAdditional2 = NULL) = 0;
@@ -123,7 +123,7 @@ class IXFA_Notify {
class IXFA_ObjFactory {
public:
virtual ~IXFA_ObjFactory() {}
- virtual CXFA_Node* CreateNode(FX_DWORD dwPacket, XFA_ELEMENT eElement) = 0;
+ virtual CXFA_Node* CreateNode(uint32_t dwPacket, XFA_ELEMENT eElement) = 0;
virtual CXFA_Node* CreateNode(const XFA_PACKETINFO* pPacket,
XFA_ELEMENT eElement) = 0;
};
@@ -146,17 +146,17 @@ class CXFA_Document : public IXFA_ObjFactory {
IXFA_Notify* GetNotify() const;
void SetRoot(CXFA_Node* pNewRoot);
CXFA_Object* GetXFAObject(const CFX_WideStringC& wsNodeName);
- CXFA_Object* GetXFAObject(FX_DWORD wsNodeNameHash);
+ CXFA_Object* GetXFAObject(uint32_t wsNodeNameHash);
void AddPurgeNode(CXFA_Node* pNode);
FX_BOOL RemovePurgeNode(CXFA_Node* pNode);
void PurgeNodes();
- bool HasFlag(FX_DWORD dwFlag) { return (m_dwDocFlags & dwFlag) == dwFlag; }
- void SetFlag(FX_DWORD dwFlag, FX_BOOL bOn = TRUE);
+ bool HasFlag(uint32_t dwFlag) { return (m_dwDocFlags & dwFlag) == dwFlag; }
+ void SetFlag(uint32_t dwFlag, FX_BOOL bOn = TRUE);
FX_BOOL IsInteractive();
XFA_VERSION GetCurVersionMode() { return m_eCurVersionMode; }
XFA_VERSION RecognizeXFAVersionNumber(CFX_WideString& wsTemplateNS);
CXFA_LocaleMgr* GetLocalMgr();
- virtual CXFA_Node* CreateNode(FX_DWORD dwPacket, XFA_ELEMENT eElement);
+ virtual CXFA_Node* CreateNode(uint32_t dwPacket, XFA_ELEMENT eElement);
virtual CXFA_Node* CreateNode(const XFA_PACKETINFO* pPacket,
XFA_ELEMENT eElement);
void DoProtoMerge();
@@ -177,7 +177,7 @@ class CXFA_Document : public IXFA_ObjFactory {
IXFA_ScriptContext* GetScriptContext();
void ClearLayoutData();
- CFX_MapPtrTemplate<FX_DWORD, CXFA_Node*> m_rgGlobalBinding;
+ CFX_MapPtrTemplate<uint32_t, CXFA_Node*> m_rgGlobalBinding;
CXFA_NodeArray m_pPendingPageSet;
protected:
@@ -194,7 +194,7 @@ class CXFA_Document : public IXFA_ObjFactory {
CScript_SignaturePseudoModel* m_pScriptSignature;
CXFA_NodeSet m_rgPurgeNodes;
XFA_VERSION m_eCurVersionMode;
- FX_DWORD m_dwDocFlags;
+ uint32_t m_dwDocFlags;
friend class CXFA_SimpleParser;
};
« no previous file with comments | « xfa/fxfa/parser/xfa_doclayout.h ('k') | xfa/fxfa/parser/xfa_document_datamerger_imp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698