diff options
author | dsinclair <dsinclair@chromium.org> | 2016-04-27 06:38:59 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-27 06:38:59 -0700 |
commit | b95901091d63ce09accec3088945955f969d46e1 (patch) | |
tree | 9994d5b9bcd5de21eb0c72d7c4b9a82fae7dde5f /fpdfsdk/fxedit | |
parent | 12168d764be266a209bc3fd15dbe4223732ae319 (diff) | |
download | pdfium-b95901091d63ce09accec3088945955f969d46e1.tar.xz |
Remove IFX_SystemHandler.
This CL folds IFX_SystemHandler into CFX_SystemHandler. Methods which either
had no implementation, or returned a default value have been removed.
Review URL: https://codereview.chromium.org/1923093002
Diffstat (limited to 'fpdfsdk/fxedit')
-rw-r--r-- | fpdfsdk/fxedit/fxet_pageobjs.cpp | 4 | ||||
-rw-r--r-- | fpdfsdk/fxedit/include/fx_edit.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/fpdfsdk/fxedit/fxet_pageobjs.cpp b/fpdfsdk/fxedit/fxet_pageobjs.cpp index b3f4ad60c6..b28cf84efd 100644 --- a/fpdfsdk/fxedit/fxet_pageobjs.cpp +++ b/fpdfsdk/fxedit/fxet_pageobjs.cpp @@ -13,9 +13,9 @@ #include "core/fpdfdoc/include/cpvt_word.h" #include "core/fpdfdoc/include/ipvt_fontmap.h" #include "core/fxge/include/fx_ge.h" +#include "fpdfsdk/cfx_systemhandler.h" #include "fpdfsdk/fxedit/include/fx_edit.h" #include "fpdfsdk/fxedit/include/fxet_edit.h" -#include "fpdfsdk/include/fx_systemhandler.h" #define FX_EDIT_UNDERLINEHALFWIDTH 0.5f #define FX_EDIT_CROSSOUTHALFWIDTH 0.5f @@ -151,7 +151,7 @@ void IFX_Edit::DrawEdit(CFX_RenderDevice* pDevice, const CFX_FloatRect& rcClip, const CFX_FloatPoint& ptOffset, const CPVT_WordRange* pRange, - IFX_SystemHandler* pSystemHandler, + CFX_SystemHandler* pSystemHandler, void* pFFLData) { const bool bContinuous = pEdit->GetCharArray() == 0 && pEdit->GetCharSpace() <= 0.0f; diff --git a/fpdfsdk/fxedit/include/fx_edit.h b/fpdfsdk/fxedit/include/fx_edit.h index 4220c0bd01..a00d1d41a7 100644 --- a/fpdfsdk/fxedit/include/fx_edit.h +++ b/fpdfsdk/fxedit/include/fx_edit.h @@ -17,6 +17,7 @@ class CPDF_TextObject; class CFX_FloatPoint; class CFX_Matrix; class CFX_RenderDevice; +class CFX_SystemHandler; class IFX_Edit; class IPVT_FontMap; class IFX_Edit_Iterator; @@ -24,7 +25,6 @@ class IFX_Edit_Notify; class IFX_Edit_UndoItem; class IFX_List; class IFX_List_Notify; -class IFX_SystemHandler; struct CPVT_Line; struct CPVT_SecProps; @@ -495,7 +495,7 @@ class IFX_Edit { const CFX_FloatRect& rcClip, const CFX_FloatPoint& ptOffset, const CPVT_WordRange* pRange, - IFX_SystemHandler* pSystemHandler, + CFX_SystemHandler* pSystemHandler, void* pFFLData); static void DrawUnderline(CFX_RenderDevice* pDevice, CFX_Matrix* pUser2Device, |