From c3255f55954b2adc3edbd3269c0a8779f7d4b7ad Mon Sep 17 00:00:00 2001 From: tsepez Date: Fri, 25 Mar 2016 14:52:27 -0700 Subject: Remove FX_DWORD from fpdfsdk/ and testing BUG= Review URL: https://codereview.chromium.org/1835693002 --- fpdfsdk/include/fpdfxfa/fpdfxfa_app.h | 6 +++--- fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h | 10 +++++----- fpdfsdk/include/fpdfxfa/fpdfxfa_util.h | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'fpdfsdk/include/fpdfxfa') diff --git a/fpdfsdk/include/fpdfxfa/fpdfxfa_app.h b/fpdfsdk/include/fpdfxfa/fpdfxfa_app.h index 9d1b1cef62..f96ed3b177 100644 --- a/fpdfsdk/include/fpdfxfa/fpdfxfa_app.h +++ b/fpdfsdk/include/fpdfxfa/fpdfxfa_app.h @@ -50,11 +50,11 @@ class CPDFXFA_App : public IXFA_AppProvider { wsFoxitName = L"Foxit"; } - void Beep(FX_DWORD dwType) override; + void Beep(uint32_t dwType) override; int32_t MsgBox(const CFX_WideStringC& wsMessage, const CFX_WideStringC& wsTitle, - FX_DWORD dwIconType, - FX_DWORD dwButtonType) override; + uint32_t dwIconType, + uint32_t dwButtonType) override; void Response(CFX_WideString& wsAnswer, const CFX_WideStringC& wsQuestion, const CFX_WideStringC& wsTitle, diff --git a/fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h b/fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h index 5186fe51ab..98ed6fdbe4 100644 --- a/fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h +++ b/fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h @@ -49,9 +49,9 @@ class CPDFXFA_Document : public IXFA_DocProvider { // used in dynamic xfa, dwFlags refer to XFA_INVALIDATE_XXX macros. virtual void InvalidateRect(IXFA_PageView* pPageView, const CFX_RectF& rt, - FX_DWORD dwFlags = 0); + uint32_t dwFlags = 0); // used in static xfa, dwFlags refer to XFA_INVALIDATE_XXX macros. - virtual void InvalidateRect(IXFA_Widget* hWidget, FX_DWORD dwFlags = 0); + virtual void InvalidateRect(IXFA_Widget* hWidget, uint32_t dwFlags = 0); // show or hide caret virtual void DisplayCaret(IXFA_Widget* hWidget, FX_BOOL bVisible, @@ -67,11 +67,11 @@ class CPDFXFA_Document : public IXFA_DocProvider { const CFX_RectF* pRectExclude = NULL); // dwFlags XFA_PAGEVIEWEVENT_Added, XFA_PAGEVIEWEVENT_Removing - virtual void PageViewEvent(IXFA_PageView* pPageView, FX_DWORD dwFlags); + virtual void PageViewEvent(IXFA_PageView* pPageView, uint32_t dwFlags); // dwEvent refer to XFA_WIDGETEVENT_XXX virtual void WidgetEvent(IXFA_Widget* hWidget, CXFA_WidgetAcc* pWidgetData, - FX_DWORD dwEvent, + uint32_t dwEvent, void* pParam = NULL, void* pAdditional = NULL); @@ -104,7 +104,7 @@ class CPDFXFA_Document : public IXFA_DocProvider { virtual void Print(IXFA_Doc* hDoc, int32_t nStartPage, int32_t nEndPage, - FX_DWORD dwOptions); + uint32_t dwOptions); // LayoutPseudo method virtual int32_t AbsPageCountInBatch(IXFA_Doc* hDoc) { return 0; } diff --git a/fpdfsdk/include/fpdfxfa/fpdfxfa_util.h b/fpdfsdk/include/fpdfxfa/fpdfxfa_util.h index f4c73c65c2..e0c508baa5 100644 --- a/fpdfsdk/include/fpdfxfa/fpdfxfa_util.h +++ b/fpdfsdk/include/fpdfxfa/fpdfxfa_util.h @@ -23,7 +23,7 @@ class CXFA_FWLAdapterTimerMgr : public IFWL_AdapterTimerMgr { public: CXFA_FWLAdapterTimerMgr(CPDFDoc_Environment* pEnv) : m_pEnv(pEnv) {} virtual FWL_ERR Start(IFWL_Timer* pTimer, - FX_DWORD dwElapse, + uint32_t dwElapse, FWL_HTIMER& hTimer, FX_BOOL bImmediately = TRUE); virtual FWL_ERR Stop(FWL_HTIMER hTimer); -- cgit v1.2.3