diff options
author | dsinclair <dsinclair@chromium.org> | 2016-04-05 12:01:42 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-05 12:01:42 -0700 |
commit | c7a7349cf316af37d4ad4b71c5742159deccbf33 (patch) | |
tree | 5006913b93a6d498e3df158bc644400e3a1a0c7c /fpdfsdk/pdfwindow/PWL_FontMap.h | |
parent | 179bebb9a14dfd3ba91e9e068d4d436657a7c780 (diff) | |
download | pdfium-c7a7349cf316af37d4ad4b71c5742159deccbf33.tar.xz |
Remove core/include/fpdfdoc/fpdf_vt.h
This CL removes the core/include/fpdfdoc/fpdf_vt.h file. The IPDF_VariableText
class was removed in favour of the only concrete class of CPD_VariableText.
CPVT_Provider was moved to CPDF_VariableText::Provider and
CPDF_VariableText_Iterator was moved to CPDF_VariableText::Iterator.
The IFX_Edit_FontMap interface was merged into the IPVT_FontMap interface so
there is only one.
Other classes were split out as needed in order to keep things compiling.
BUG=pdfium:468
Review URL: https://codereview.chromium.org/1860063002
Diffstat (limited to 'fpdfsdk/pdfwindow/PWL_FontMap.h')
-rw-r--r-- | fpdfsdk/pdfwindow/PWL_FontMap.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fpdfsdk/pdfwindow/PWL_FontMap.h b/fpdfsdk/pdfwindow/PWL_FontMap.h index b344e4fef2..70806ebdbc 100644 --- a/fpdfsdk/pdfwindow/PWL_FontMap.h +++ b/fpdfsdk/pdfwindow/PWL_FontMap.h @@ -7,6 +7,7 @@ #ifndef FPDFSDK_PDFWINDOW_PWL_FONTMAP_H_ #define FPDFSDK_PDFWINDOW_PWL_FONTMAP_H_ +#include "core/fpdfdoc/include/ipvt_fontmap.h" #include "fpdfsdk/include/fxedit/fx_edit.h" #include "public/fpdf_sysfontinfo.h" @@ -48,12 +49,12 @@ struct CPWL_FontMap_Native { #endif -class CPWL_FontMap : public IFX_Edit_FontMap { +class CPWL_FontMap : public IPVT_FontMap { public: CPWL_FontMap(IFX_SystemHandler* pSystemHandler); ~CPWL_FontMap() override; - // IFX_Edit_FontMap + // IPVT_FontMap CPDF_Font* GetPDFFont(int32_t nFontIndex) override; CFX_ByteString GetPDFFontAlias(int32_t nFontIndex) override; int32_t GetWordFontIndex(uint16_t word, |