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

Unified Diff: xfa/src/fwl/src/basewidget/fwl_tooltipctrlimp.cpp

Issue 1172793002: Merge to XFA: Use stdint.h types throughout PDFium. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 6 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/src/fwl/src/basewidget/fwl_spinbuttonimp.cpp ('k') | xfa/src/fwl/src/basewidget/fxmath_barcodeimp.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/src/fwl/src/basewidget/fwl_tooltipctrlimp.cpp
diff --git a/xfa/src/fwl/src/basewidget/fwl_tooltipctrlimp.cpp b/xfa/src/fwl/src/basewidget/fwl_tooltipctrlimp.cpp
index 157d2fff7338e1e586e5f37f54d2bf64fc515e4f..920bcb73e1115f2ae5e554d23cd8680668e767e2 100644
--- a/xfa/src/fwl/src/basewidget/fwl_tooltipctrlimp.cpp
+++ b/xfa/src/fwl/src/basewidget/fwl_tooltipctrlimp.cpp
@@ -124,7 +124,7 @@ FWL_ERR CFWL_ToolTipImp::GetWidgetRect(CFX_RectF &rect, FX_BOOL bAutoSize )
if (pData) {
pData->GetCaption(m_pInterface, wsCaption);
}
- FX_INT32 iLen = wsCaption.GetLength();
+ int32_t iLen = wsCaption.GetLength();
if (iLen > 0) {
CFX_SizeF sz = CalcTextSize(wsCaption, m_pProperties->m_pThemeProvider);
rect.Set(0, 0, sz.x, sz.y);
@@ -240,7 +240,7 @@ FWL_ERR CFWL_ToolTipImp::SetAnchor(const CFX_RectF &rtAnchor)
FWL_ERR CFWL_ToolTipImp::Show()
{
IFWL_ToolTipDP *pData = (IFWL_ToolTipDP*)m_pProperties->m_pDataProvider;
- FX_INT32 nInitDelay = pData->GetInitialDelay(m_pInterface);
+ int32_t nInitDelay = pData->GetInitialDelay(m_pInterface);
if ((m_pProperties->m_dwStates & FWL_WGTSTATE_Invisible)) {
m_hTimerShow = FWL_StartTimer( &m_TimerShow, nInitDelay, FALSE);
}
@@ -263,7 +263,7 @@ FWL_ERR CFWL_ToolTipImp::SetStates(FX_DWORD dwStates, FX_BOOL bSet )
{
if ( (dwStates & FWL_WGTSTATE_Invisible) && !bSet) {
IFWL_ToolTipDP *pData = (IFWL_ToolTipDP*)m_pProperties->m_pDataProvider;
- FX_INT32 nAutoPopDelay = pData->GetAutoPopDelay(m_pInterface);
+ int32_t nAutoPopDelay = pData->GetAutoPopDelay(m_pInterface);
m_hTimerHide = FWL_StartTimer( &m_TimerHide, nAutoPopDelay, FALSE);
}
return CFWL_WidgetImp::SetStates(dwStates, bSet);
@@ -301,7 +301,7 @@ CFWL_ToolTipImp::CFWL_ToolTipTimer::CFWL_ToolTipTimer(CFWL_ToolTipImp * pToolTip
: m_pToolTip(pToolTip)
{
}
-FX_INT32 CFWL_ToolTipImp::CFWL_ToolTipTimer::Run(FWL_HTIMER hTimer)
+int32_t CFWL_ToolTipImp::CFWL_ToolTipTimer::Run(FWL_HTIMER hTimer)
{
if (m_pToolTip->m_hTimerShow == hTimer && m_pToolTip->m_hTimerShow) {
if (m_pToolTip->GetStates() & FWL_WGTSTATE_Invisible) {
@@ -324,7 +324,7 @@ CFWL_ToolTipImpDelegate::CFWL_ToolTipImpDelegate(CFWL_ToolTipImp *pOwner)
: m_pOwner(pOwner)
{
}
-FX_INT32 CFWL_ToolTipImpDelegate::OnProcessMessage(CFWL_Message *pMessage)
+int32_t CFWL_ToolTipImpDelegate::OnProcessMessage(CFWL_Message *pMessage)
{
return CFWL_WidgetImpDelegate::OnProcessMessage(pMessage);
}
« no previous file with comments | « xfa/src/fwl/src/basewidget/fwl_spinbuttonimp.cpp ('k') | xfa/src/fwl/src/basewidget/fxmath_barcodeimp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698