diff options
author | dsinclair <dsinclair@chromium.org> | 2016-09-15 12:07:23 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-15 12:07:23 -0700 |
commit | 72177dadac8f9765440b3aa01e2668f60a8b3f43 (patch) | |
tree | e7f5fb70bd9b228b66c7a5a4a874577528e27207 /fpdfsdk/include/cpdfsdk_pageview.h | |
parent | 8f53f54a9ccada2ea8651f2786f1bbee323f09b7 (diff) | |
download | pdfium-72177dadac8f9765440b3aa01e2668f60a8b3f43.tar.xz |
Replace FX_UINT with unsigned int
Remove the FX_UINT typedef and update to use the actual unsigned int type.
Review-Url: https://codereview.chromium.org/2343693002
Diffstat (limited to 'fpdfsdk/include/cpdfsdk_pageview.h')
-rw-r--r-- | fpdfsdk/include/cpdfsdk_pageview.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/fpdfsdk/include/cpdfsdk_pageview.h b/fpdfsdk/include/cpdfsdk_pageview.h index a496334c2d..d22b6b48a0 100644 --- a/fpdfsdk/include/cpdfsdk_pageview.h +++ b/fpdfsdk/include/cpdfsdk_pageview.h @@ -39,10 +39,10 @@ class CPDFSDK_PageView final : public CPDF_Page::View { const CPDF_Annot* GetPDFWidgetAtPoint(FX_FLOAT pageX, FX_FLOAT pageY); CPDFSDK_Annot* GetFXWidgetAtPoint(FX_FLOAT pageX, FX_FLOAT pageY); CPDFSDK_Annot* GetFocusAnnot(); - void SetFocusAnnot(CPDFSDK_Annot* pSDKAnnot, FX_UINT nFlag = 0) { + void SetFocusAnnot(CPDFSDK_Annot* pSDKAnnot, uint32_t nFlag = 0) { m_pSDKDoc->SetFocusAnnot(pSDKAnnot, nFlag); } - FX_BOOL KillFocusAnnot(FX_UINT nFlag = 0) { + FX_BOOL KillFocusAnnot(uint32_t nFlag = 0) { return m_pSDKDoc->KillFocusAnnot(nFlag); } void KillFocusAnnotIfNeeded(); @@ -65,13 +65,13 @@ class CPDFSDK_PageView final : public CPDF_Page::View { CPDF_Page* GetPDFPage() const; CPDF_Document* GetPDFDocument(); CPDFSDK_Document* GetSDKDocument() { return m_pSDKDoc; } - FX_BOOL OnLButtonDown(const CFX_FloatPoint& point, FX_UINT nFlag); - FX_BOOL OnLButtonUp(const CFX_FloatPoint& point, FX_UINT nFlag); + FX_BOOL OnLButtonDown(const CFX_FloatPoint& point, uint32_t nFlag); + FX_BOOL OnLButtonUp(const CFX_FloatPoint& point, uint32_t nFlag); #ifdef PDF_ENABLE_XFA - FX_BOOL OnRButtonDown(const CFX_FloatPoint& point, FX_UINT nFlag); - FX_BOOL OnRButtonUp(const CFX_FloatPoint& point, FX_UINT nFlag); + FX_BOOL OnRButtonDown(const CFX_FloatPoint& point, uint32_t nFlag); + FX_BOOL OnRButtonUp(const CFX_FloatPoint& point, uint32_t nFlag); #endif // PDF_ENABLE_XFA - FX_BOOL OnChar(int nChar, FX_UINT nFlag); + FX_BOOL OnChar(int nChar, uint32_t nFlag); FX_BOOL OnKeyDown(int nKeyCode, int nFlag); FX_BOOL OnKeyUp(int nKeyCode, int nFlag); |