From 61b2fc718910a5ab2a75ec5026b239ff33bccfdc Mon Sep 17 00:00:00 2001 From: dan sinclair Date: Wed, 23 Mar 2016 19:21:44 -0400 Subject: Split core/include/fpdfapi/fpdf_resource.h This CL splits apart the core/include/fpdfapi/fpdf_resource.h file and places the classes into individual files. R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1824033002 . --- core/fpdfapi/fpdf_cmaps/CNS1/cmaps_cns1.cpp | 3 +-- core/fpdfapi/fpdf_cmaps/GB1/cmaps_gb1.cpp | 3 +-- core/fpdfapi/fpdf_cmaps/Japan1/cmaps_japan1.cpp | 3 +-- core/fpdfapi/fpdf_cmaps/Korea1/cmaps_korea1.cpp | 3 +-- core/fpdfapi/fpdf_cmaps/fpdf_cmaps.cpp | 1 - 5 files changed, 4 insertions(+), 9 deletions(-) (limited to 'core/fpdfapi/fpdf_cmaps') diff --git a/core/fpdfapi/fpdf_cmaps/CNS1/cmaps_cns1.cpp b/core/fpdfapi/fpdf_cmaps/CNS1/cmaps_cns1.cpp index 086a78637a..b6a9132b5d 100644 --- a/core/fpdfapi/fpdf_cmaps/CNS1/cmaps_cns1.cpp +++ b/core/fpdfapi/fpdf_cmaps/CNS1/cmaps_cns1.cpp @@ -9,8 +9,7 @@ #include "core/fpdfapi/fpdf_cmaps/cmap_int.h" #include "core/fpdfapi/fpdf_font/font_int.h" #include "core/fpdfapi/include/cpdf_modulemgr.h" -#include "core/fxcrt/include/fx_basic.h" // For FX_ArraySize(). -#include "core/include/fpdfapi/fpdf_resource.h" +#include "core/fxcrt/include/fx_basic.h" static const FXCMAP_CMap g_FXCMAP_CNS1_cmaps[] = { {"B5pc-H", FXCMAP_CMap::Range, g_FXCMAP_B5pc_H_0, 247, FXCMAP_CMap::None, diff --git a/core/fpdfapi/fpdf_cmaps/GB1/cmaps_gb1.cpp b/core/fpdfapi/fpdf_cmaps/GB1/cmaps_gb1.cpp index 95d231563e..702bf06c75 100644 --- a/core/fpdfapi/fpdf_cmaps/GB1/cmaps_gb1.cpp +++ b/core/fpdfapi/fpdf_cmaps/GB1/cmaps_gb1.cpp @@ -9,8 +9,7 @@ #include "core/fpdfapi/fpdf_cmaps/cmap_int.h" #include "core/fpdfapi/fpdf_font/font_int.h" #include "core/fpdfapi/include/cpdf_modulemgr.h" -#include "core/fxcrt/include/fx_basic.h" // For FX_ArraySize(). -#include "core/include/fpdfapi/fpdf_resource.h" +#include "core/fxcrt/include/fx_basic.h" static const FXCMAP_CMap g_FXCMAP_GB1_cmaps[] = { {"GB-EUC-H", FXCMAP_CMap::Range, g_FXCMAP_GB_EUC_H_0, 90, FXCMAP_CMap::None, diff --git a/core/fpdfapi/fpdf_cmaps/Japan1/cmaps_japan1.cpp b/core/fpdfapi/fpdf_cmaps/Japan1/cmaps_japan1.cpp index 8c43d41311..43f7e0ee2b 100644 --- a/core/fpdfapi/fpdf_cmaps/Japan1/cmaps_japan1.cpp +++ b/core/fpdfapi/fpdf_cmaps/Japan1/cmaps_japan1.cpp @@ -9,8 +9,7 @@ #include "core/fpdfapi/fpdf_cmaps/cmap_int.h" #include "core/fpdfapi/fpdf_font/font_int.h" #include "core/fpdfapi/include/cpdf_modulemgr.h" -#include "core/fxcrt/include/fx_basic.h" // For FX_ArraySize(). -#include "core/include/fpdfapi/fpdf_resource.h" +#include "core/fxcrt/include/fx_basic.h" static const FXCMAP_CMap g_FXCMAP_Japan1_cmaps[] = { {"83pv-RKSJ-H", FXCMAP_CMap::Range, g_FXCMAP_83pv_RKSJ_H_1, 222, diff --git a/core/fpdfapi/fpdf_cmaps/Korea1/cmaps_korea1.cpp b/core/fpdfapi/fpdf_cmaps/Korea1/cmaps_korea1.cpp index 0001aaaf8d..77f65dfe3c 100644 --- a/core/fpdfapi/fpdf_cmaps/Korea1/cmaps_korea1.cpp +++ b/core/fpdfapi/fpdf_cmaps/Korea1/cmaps_korea1.cpp @@ -9,8 +9,7 @@ #include "core/fpdfapi/fpdf_cmaps/cmap_int.h" #include "core/fpdfapi/fpdf_font/font_int.h" #include "core/fpdfapi/include/cpdf_modulemgr.h" -#include "core/fxcrt/include/fx_basic.h" // For FX_ArraySize(). -#include "core/include/fpdfapi/fpdf_resource.h" +#include "core/fxcrt/include/fx_basic.h" static const FXCMAP_CMap g_FXCMAP_Korea1_cmaps[] = { {"KSC-EUC-H", FXCMAP_CMap::Range, g_FXCMAP_KSC_EUC_H_0, 467, diff --git a/core/fpdfapi/fpdf_cmaps/fpdf_cmaps.cpp b/core/fpdfapi/fpdf_cmaps/fpdf_cmaps.cpp index 73ac8e1f6a..4e0737dbc2 100644 --- a/core/fpdfapi/fpdf_cmaps/fpdf_cmaps.cpp +++ b/core/fpdfapi/fpdf_cmaps/fpdf_cmaps.cpp @@ -8,7 +8,6 @@ #include "core/fpdfapi/fpdf_font/font_int.h" #include "core/fpdfapi/include/cpdf_modulemgr.h" -#include "core/include/fpdfapi/fpdf_resource.h" void FPDFAPI_FindEmbeddedCMap(const char* name, int charset, -- cgit v1.2.3