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/pdfwindow/PWL_IconList.cpp | |
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/pdfwindow/PWL_IconList.cpp')
-rw-r--r-- | fpdfsdk/pdfwindow/PWL_IconList.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fpdfsdk/pdfwindow/PWL_IconList.cpp b/fpdfsdk/pdfwindow/PWL_IconList.cpp index a61bded33b..951b6821f4 100644 --- a/fpdfsdk/pdfwindow/PWL_IconList.cpp +++ b/fpdfsdk/pdfwindow/PWL_IconList.cpp @@ -165,7 +165,7 @@ void CPWL_IconList_Content::CreateChildWnd(const PWL_CREATEPARAM& cp) { } FX_BOOL CPWL_IconList_Content::OnLButtonDown(const CFX_FloatPoint& point, - FX_DWORD nFlag) { + uint32_t nFlag) { SetFocus(); SetCapture(); @@ -179,7 +179,7 @@ FX_BOOL CPWL_IconList_Content::OnLButtonDown(const CFX_FloatPoint& point, } FX_BOOL CPWL_IconList_Content::OnLButtonUp(const CFX_FloatPoint& point, - FX_DWORD nFlag) { + uint32_t nFlag) { m_bMouseDown = FALSE; ReleaseCapture(); @@ -187,7 +187,7 @@ FX_BOOL CPWL_IconList_Content::OnLButtonUp(const CFX_FloatPoint& point, } FX_BOOL CPWL_IconList_Content::OnMouseMove(const CFX_FloatPoint& point, - FX_DWORD nFlag) { + uint32_t nFlag) { if (m_bMouseDown) { int32_t nItemIndex = FindItemIndex(point); SetSelect(nItemIndex); @@ -197,7 +197,7 @@ FX_BOOL CPWL_IconList_Content::OnMouseMove(const CFX_FloatPoint& point, return TRUE; } -FX_BOOL CPWL_IconList_Content::OnKeyDown(uint16_t nChar, FX_DWORD nFlag) { +FX_BOOL CPWL_IconList_Content::OnKeyDown(uint16_t nChar, uint32_t nFlag) { switch (nChar) { case FWL_VKEY_Up: if (m_nSelectIndex > 0) { @@ -375,7 +375,7 @@ void CPWL_IconList::OnCreated() { } void CPWL_IconList::OnNotify(CPWL_Wnd* pWnd, - FX_DWORD msg, + uint32_t msg, intptr_t wParam, intptr_t lParam) { CPWL_Wnd::OnNotify(pWnd, msg, wParam, lParam); @@ -464,7 +464,7 @@ void CPWL_IconList::SetIconFillColor(const CPWL_Color& color) { FX_BOOL CPWL_IconList::OnMouseWheel(short zDelta, const CFX_FloatPoint& point, - FX_DWORD nFlag) { + uint32_t nFlag) { CFX_FloatPoint ptScroll = m_pListContent->GetScrollPos(); CFX_FloatRect rcScroll = m_pListContent->GetScrollArea(); CFX_FloatRect rcContents = m_pListContent->GetClientRect(); |