diff options
author | tsepez <tsepez@chromium.org> | 2016-03-25 14:52:27 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-25 14:52:28 -0700 |
commit | c3255f55954b2adc3edbd3269c0a8779f7d4b7ad (patch) | |
tree | 802c0e9158e14f1e67ad181089739a176e8fba24 /fpdfsdk/include/fsdk_mgr.h | |
parent | deee3d2ee201d62e7ef41e7d8378d7f52e057a9c (diff) | |
download | pdfium-c3255f55954b2adc3edbd3269c0a8779f7d4b7ad.tar.xz |
Remove FX_DWORD from fpdfsdk/ and testing
BUG=
Review URL: https://codereview.chromium.org/1835693002
Diffstat (limited to 'fpdfsdk/include/fsdk_mgr.h')
-rw-r--r-- | fpdfsdk/include/fsdk_mgr.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fpdfsdk/include/fsdk_mgr.h b/fpdfsdk/include/fsdk_mgr.h index 17340753ea..3b8c951e0e 100644 --- a/fpdfsdk/include/fsdk_mgr.h +++ b/fpdfsdk/include/fsdk_mgr.h @@ -103,19 +103,19 @@ class CPDFDoc_Environment final { m_pInfo->FFI_OnChange(m_pInfo); } - FX_BOOL FFI_IsSHIFTKeyDown(FX_DWORD nFlag) const { + FX_BOOL FFI_IsSHIFTKeyDown(uint32_t nFlag) const { return (nFlag & FWL_EVENTFLAG_ShiftKey) != 0; } - FX_BOOL FFI_IsCTRLKeyDown(FX_DWORD nFlag) const { + FX_BOOL FFI_IsCTRLKeyDown(uint32_t nFlag) const { return (nFlag & FWL_EVENTFLAG_ControlKey) != 0; } - FX_BOOL FFI_IsALTKeyDown(FX_DWORD nFlag) const { + FX_BOOL FFI_IsALTKeyDown(uint32_t nFlag) const { return (nFlag & FWL_EVENTFLAG_AltKey) != 0; } - FX_BOOL FFI_IsINSERTKeyDown(FX_DWORD nFlag) const { return FALSE; } + FX_BOOL FFI_IsINSERTKeyDown(uint32_t nFlag) const { return FALSE; } FPDF_PAGE FFI_GetPage(FPDF_DOCUMENT document, int nPageIndex) { if (m_pInfo && m_pInfo->FFI_GetPage) @@ -398,7 +398,7 @@ class CPDFDoc_Environment final { return L""; } - void FFI_PageEvent(int iPageCount, FX_DWORD dwEventType) const { + void FFI_PageEvent(int iPageCount, uint32_t dwEventType) const { if (m_pInfo && m_pInfo->FFI_PageEvent) m_pInfo->FFI_PageEvent(m_pInfo, iPageCount, dwEventType); } |