summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BUILD.gn36
-rw-r--r--core/fpdfapi/cpdf_pagerendercontext.cpp6
-rw-r--r--core/fpdfapi/page/cpdf_generalstate.cpp2
-rw-r--r--core/fpdfapi/page/cpdf_image.cpp4
-rw-r--r--core/fpdfapi/page/cpdf_page.cpp2
-rw-r--r--core/fpdfapi/parser/cpdf_document.cpp2
-rw-r--r--core/fpdfapi/render/cpdf_pagerendercache.h (renamed from core/fpdfapi/fpdf_render/cpdf_pagerendercache.h)6
-rw-r--r--core/fpdfapi/render/cpdf_progressiverenderer.h (renamed from core/fpdfapi/fpdf_render/cpdf_progressiverenderer.h)8
-rw-r--r--core/fpdfapi/render/cpdf_rendercontext.h (renamed from core/fpdfapi/fpdf_render/cpdf_rendercontext.h)6
-rw-r--r--core/fpdfapi/render/cpdf_renderoptions.h (renamed from core/fpdfapi/fpdf_render/cpdf_renderoptions.h)6
-rw-r--r--core/fpdfapi/render/cpdf_textrenderer.h (renamed from core/fpdfapi/fpdf_render/cpdf_textrenderer.h)6
-rw-r--r--core/fpdfapi/render/cpdf_type3cache.cpp (renamed from core/fpdfapi/fpdf_render/cpdf_type3cache.cpp)4
-rw-r--r--core/fpdfapi/render/cpdf_type3cache.h (renamed from core/fpdfapi/fpdf_render/cpdf_type3cache.h)6
-rw-r--r--core/fpdfapi/render/cpdf_type3glyphs.cpp (renamed from core/fpdfapi/fpdf_render/cpdf_type3glyphs.cpp)2
-rw-r--r--core/fpdfapi/render/cpdf_type3glyphs.h (renamed from core/fpdfapi/fpdf_render/cpdf_type3glyphs.h)6
-rw-r--r--core/fpdfapi/render/fpdf_render.cpp (renamed from core/fpdfapi/fpdf_render/fpdf_render.cpp)12
-rw-r--r--core/fpdfapi/render/fpdf_render_cache.cpp (renamed from core/fpdfapi/fpdf_render/fpdf_render_cache.cpp)6
-rw-r--r--core/fpdfapi/render/fpdf_render_image.cpp (renamed from core/fpdfapi/fpdf_render/fpdf_render_image.cpp)8
-rw-r--r--core/fpdfapi/render/fpdf_render_loadimage.cpp (renamed from core/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp)4
-rw-r--r--core/fpdfapi/render/fpdf_render_loadimage_embeddertest.cpp (renamed from core/fpdfapi/fpdf_render/fpdf_render_loadimage_embeddertest.cpp)0
-rw-r--r--core/fpdfapi/render/fpdf_render_pattern.cpp (renamed from core/fpdfapi/fpdf_render/fpdf_render_pattern.cpp)6
-rw-r--r--core/fpdfapi/render/fpdf_render_pattern_embeddertest.cpp (renamed from core/fpdfapi/fpdf_render/fpdf_render_pattern_embeddertest.cpp)0
-rw-r--r--core/fpdfapi/render/fpdf_render_text.cpp (renamed from core/fpdfapi/fpdf_render/fpdf_render_text.cpp)8
-rw-r--r--core/fpdfapi/render/render_int.h (renamed from core/fpdfapi/fpdf_render/render_int.h)8
-rw-r--r--core/fpdfdoc/cpdf_annot.cpp4
-rw-r--r--core/fpdfdoc/cpdf_annotlist.cpp2
-rw-r--r--core/fpdfdoc/cpdf_formcontrol.cpp2
-rw-r--r--core/fxge/dib/fx_dib_engine_unittest.cpp2
-rw-r--r--fpdfsdk/DEPS2
-rw-r--r--fpdfsdk/cpdfsdk_pageview.cpp2
-rw-r--r--fpdfsdk/fpdf_progressive.cpp2
-rw-r--r--fpdfsdk/fpdfformfill.cpp2
-rw-r--r--fpdfsdk/fpdfview.cpp4
-rw-r--r--fpdfsdk/fxedit/fxet_edit.cpp4
34 files changed, 90 insertions, 90 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 4263bf73ca..df1511ce2d 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -420,22 +420,6 @@ static_library("fpdfapi") {
"core/fpdfapi/font/fpdf_font_cid.cpp",
"core/fpdfapi/font/ttgsubtable.cpp",
"core/fpdfapi/font/ttgsubtable.h",
- "core/fpdfapi/fpdf_render/cpdf_pagerendercache.h",
- "core/fpdfapi/fpdf_render/cpdf_progressiverenderer.h",
- "core/fpdfapi/fpdf_render/cpdf_rendercontext.h",
- "core/fpdfapi/fpdf_render/cpdf_renderoptions.h",
- "core/fpdfapi/fpdf_render/cpdf_textrenderer.h",
- "core/fpdfapi/fpdf_render/cpdf_type3cache.cpp",
- "core/fpdfapi/fpdf_render/cpdf_type3cache.h",
- "core/fpdfapi/fpdf_render/cpdf_type3glyphs.cpp",
- "core/fpdfapi/fpdf_render/cpdf_type3glyphs.h",
- "core/fpdfapi/fpdf_render/fpdf_render.cpp",
- "core/fpdfapi/fpdf_render/fpdf_render_cache.cpp",
- "core/fpdfapi/fpdf_render/fpdf_render_image.cpp",
- "core/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp",
- "core/fpdfapi/fpdf_render/fpdf_render_pattern.cpp",
- "core/fpdfapi/fpdf_render/fpdf_render_text.cpp",
- "core/fpdfapi/fpdf_render/render_int.h",
"core/fpdfapi/page/cpdf_allstates.cpp",
"core/fpdfapi/page/cpdf_allstates.h",
"core/fpdfapi/page/cpdf_clippath.cpp",
@@ -543,6 +527,22 @@ static_library("fpdfapi") {
"core/fpdfapi/parser/fpdf_parser_decode.h",
"core/fpdfapi/parser/fpdf_parser_utility.cpp",
"core/fpdfapi/parser/fpdf_parser_utility.h",
+ "core/fpdfapi/render/cpdf_pagerendercache.h",
+ "core/fpdfapi/render/cpdf_progressiverenderer.h",
+ "core/fpdfapi/render/cpdf_rendercontext.h",
+ "core/fpdfapi/render/cpdf_renderoptions.h",
+ "core/fpdfapi/render/cpdf_textrenderer.h",
+ "core/fpdfapi/render/cpdf_type3cache.cpp",
+ "core/fpdfapi/render/cpdf_type3cache.h",
+ "core/fpdfapi/render/cpdf_type3glyphs.cpp",
+ "core/fpdfapi/render/cpdf_type3glyphs.h",
+ "core/fpdfapi/render/fpdf_render.cpp",
+ "core/fpdfapi/render/fpdf_render_cache.cpp",
+ "core/fpdfapi/render/fpdf_render_image.cpp",
+ "core/fpdfapi/render/fpdf_render_loadimage.cpp",
+ "core/fpdfapi/render/fpdf_render_pattern.cpp",
+ "core/fpdfapi/render/fpdf_render_text.cpp",
+ "core/fpdfapi/render/render_int.h",
]
configs += [ ":pdfium_core_config" ]
deps = [
@@ -1705,12 +1705,12 @@ test("pdfium_unittests") {
test("pdfium_embeddertests") {
sources = [
- "core/fpdfapi/fpdf_render/fpdf_render_loadimage_embeddertest.cpp",
- "core/fpdfapi/fpdf_render/fpdf_render_pattern_embeddertest.cpp",
"core/fpdfapi/page/fpdf_page_func_embeddertest.cpp",
"core/fpdfapi/parser/cpdf_parser_embeddertest.cpp",
"core/fpdfapi/parser/cpdf_security_handler_embeddertest.cpp",
"core/fpdfapi/parser/fpdf_parser_decode_embeddertest.cpp",
+ "core/fpdfapi/render/fpdf_render_loadimage_embeddertest.cpp",
+ "core/fpdfapi/render/fpdf_render_pattern_embeddertest.cpp",
"core/fxcodec/codec/fx_codec_embeddertest.cpp",
"core/fxge/ge/fx_ge_text_embeddertest.cpp",
"fpdfsdk/fpdf_dataavail_embeddertest.cpp",
diff --git a/core/fpdfapi/cpdf_pagerendercontext.cpp b/core/fpdfapi/cpdf_pagerendercontext.cpp
index dc5836262e..91ebc5e7b7 100644
--- a/core/fpdfapi/cpdf_pagerendercontext.cpp
+++ b/core/fpdfapi/cpdf_pagerendercontext.cpp
@@ -6,9 +6,9 @@
#include "core/fpdfapi/cpdf_pagerendercontext.h"
-#include "core/fpdfapi/fpdf_render/cpdf_progressiverenderer.h"
-#include "core/fpdfapi/fpdf_render/cpdf_rendercontext.h"
-#include "core/fpdfapi/fpdf_render/cpdf_renderoptions.h"
+#include "core/fpdfapi/render/cpdf_progressiverenderer.h"
+#include "core/fpdfapi/render/cpdf_rendercontext.h"
+#include "core/fpdfapi/render/cpdf_renderoptions.h"
#include "core/fpdfdoc/cpdf_annotlist.h"
#include "core/fpdfdoc/cpdf_occontext.h"
#include "core/fxge/cfx_renderdevice.h"
diff --git a/core/fpdfapi/page/cpdf_generalstate.cpp b/core/fpdfapi/page/cpdf_generalstate.cpp
index 4feaaffc6c..e8be18e2fa 100644
--- a/core/fpdfapi/page/cpdf_generalstate.cpp
+++ b/core/fpdfapi/page/cpdf_generalstate.cpp
@@ -6,8 +6,8 @@
#include "core/fpdfapi/page/cpdf_generalstate.h"
-#include "core/fpdfapi/fpdf_render/render_int.h"
#include "core/fpdfapi/parser/cpdf_document.h"
+#include "core/fpdfapi/render/render_int.h"
namespace {
diff --git a/core/fpdfapi/page/cpdf_image.cpp b/core/fpdfapi/page/cpdf_image.cpp
index 9ff99689fd..ae962e8b98 100644
--- a/core/fpdfapi/page/cpdf_image.cpp
+++ b/core/fpdfapi/page/cpdf_image.cpp
@@ -11,14 +11,14 @@
#include <vector>
#include "core/fpdfapi/cpdf_modulemgr.h"
-#include "core/fpdfapi/fpdf_render/cpdf_pagerendercache.h"
-#include "core/fpdfapi/fpdf_render/render_int.h"
#include "core/fpdfapi/page/cpdf_page.h"
#include "core/fpdfapi/page/pageint.h"
#include "core/fpdfapi/parser/cpdf_array.h"
#include "core/fpdfapi/parser/cpdf_boolean.h"
#include "core/fpdfapi/parser/cpdf_document.h"
#include "core/fpdfapi/parser/cpdf_string.h"
+#include "core/fpdfapi/render/cpdf_pagerendercache.h"
+#include "core/fpdfapi/render/render_int.h"
#include "core/fxcodec/fx_codec.h"
#include "core/fxge/fx_dib.h"
diff --git a/core/fpdfapi/page/cpdf_page.cpp b/core/fpdfapi/page/cpdf_page.cpp
index 27d54b2748..89d0b35f3e 100644
--- a/core/fpdfapi/page/cpdf_page.cpp
+++ b/core/fpdfapi/page/cpdf_page.cpp
@@ -9,12 +9,12 @@
#include <set>
#include "core/fpdfapi/cpdf_pagerendercontext.h"
-#include "core/fpdfapi/fpdf_render/cpdf_pagerendercache.h"
#include "core/fpdfapi/page/cpdf_pageobject.h"
#include "core/fpdfapi/page/pageint.h"
#include "core/fpdfapi/parser/cpdf_array.h"
#include "core/fpdfapi/parser/cpdf_dictionary.h"
#include "core/fpdfapi/parser/cpdf_object.h"
+#include "core/fpdfapi/render/cpdf_pagerendercache.h"
#include "third_party/base/stl_util.h"
CPDF_Page::CPDF_Page(CPDF_Document* pDocument,
diff --git a/core/fpdfapi/parser/cpdf_document.cpp b/core/fpdfapi/parser/cpdf_document.cpp
index bf6439cc8c..435f180454 100644
--- a/core/fpdfapi/parser/cpdf_document.cpp
+++ b/core/fpdfapi/parser/cpdf_document.cpp
@@ -12,7 +12,6 @@
#include "core/fpdfapi/cpdf_modulemgr.h"
#include "core/fpdfapi/font/cpdf_fontencoding.h"
-#include "core/fpdfapi/fpdf_render/render_int.h"
#include "core/fpdfapi/page/cpdf_pagemodule.h"
#include "core/fpdfapi/page/pageint.h"
#include "core/fpdfapi/parser/cpdf_array.h"
@@ -20,6 +19,7 @@
#include "core/fpdfapi/parser/cpdf_parser.h"
#include "core/fpdfapi/parser/cpdf_reference.h"
#include "core/fpdfapi/parser/cpdf_stream.h"
+#include "core/fpdfapi/render/render_int.h"
#include "core/fxcodec/JBig2_DocumentContext.h"
#include "core/fxge/cfx_unicodeencoding.h"
#include "core/fxge/fx_font.h"
diff --git a/core/fpdfapi/fpdf_render/cpdf_pagerendercache.h b/core/fpdfapi/render/cpdf_pagerendercache.h
index fda448f7db..37d092062d 100644
--- a/core/fpdfapi/fpdf_render/cpdf_pagerendercache.h
+++ b/core/fpdfapi/render/cpdf_pagerendercache.h
@@ -4,8 +4,8 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef CORE_FPDFAPI_FPDF_RENDER_CPDF_PAGERENDERCACHE_H_
-#define CORE_FPDFAPI_FPDF_RENDER_CPDF_PAGERENDERCACHE_H_
+#ifndef CORE_FPDFAPI_RENDER_CPDF_PAGERENDERCACHE_H_
+#define CORE_FPDFAPI_RENDER_CPDF_PAGERENDERCACHE_H_
#include <map>
@@ -68,4 +68,4 @@ class CPDF_PageRenderCache {
FX_BOOL m_bCurFindCache;
};
-#endif // CORE_FPDFAPI_FPDF_RENDER_CPDF_PAGERENDERCACHE_H_
+#endif // CORE_FPDFAPI_RENDER_CPDF_PAGERENDERCACHE_H_
diff --git a/core/fpdfapi/fpdf_render/cpdf_progressiverenderer.h b/core/fpdfapi/render/cpdf_progressiverenderer.h
index a488269d8d..2cf84e97f3 100644
--- a/core/fpdfapi/fpdf_render/cpdf_progressiverenderer.h
+++ b/core/fpdfapi/render/cpdf_progressiverenderer.h
@@ -4,13 +4,13 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef CORE_FPDFAPI_FPDF_RENDER_CPDF_PROGRESSIVERENDERER_H_
-#define CORE_FPDFAPI_FPDF_RENDER_CPDF_PROGRESSIVERENDERER_H_
+#ifndef CORE_FPDFAPI_RENDER_CPDF_PROGRESSIVERENDERER_H_
+#define CORE_FPDFAPI_RENDER_CPDF_PROGRESSIVERENDERER_H_
#include <memory>
-#include "core/fpdfapi/fpdf_render/cpdf_rendercontext.h"
#include "core/fpdfapi/page/cpdf_pageobjectlist.h"
+#include "core/fpdfapi/render/cpdf_rendercontext.h"
#include "core/fxcrt/fx_coordinates.h"
#include "core/fxcrt/fx_system.h"
@@ -59,4 +59,4 @@ class CPDF_ProgressiveRenderer {
CPDF_PageObjectList::iterator m_LastObjectRendered;
};
-#endif // CORE_FPDFAPI_FPDF_RENDER_CPDF_PROGRESSIVERENDERER_H_
+#endif // CORE_FPDFAPI_RENDER_CPDF_PROGRESSIVERENDERER_H_
diff --git a/core/fpdfapi/fpdf_render/cpdf_rendercontext.h b/core/fpdfapi/render/cpdf_rendercontext.h
index 5d0845789f..676b89a4f4 100644
--- a/core/fpdfapi/fpdf_render/cpdf_rendercontext.h
+++ b/core/fpdfapi/render/cpdf_rendercontext.h
@@ -4,8 +4,8 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef CORE_FPDFAPI_FPDF_RENDER_CPDF_RENDERCONTEXT_H_
-#define CORE_FPDFAPI_FPDF_RENDER_CPDF_RENDERCONTEXT_H_
+#ifndef CORE_FPDFAPI_RENDER_CPDF_RENDERCONTEXT_H_
+#define CORE_FPDFAPI_RENDER_CPDF_RENDERCONTEXT_H_
#include "core/fxcrt/fx_basic.h"
#include "core/fxcrt/fx_coordinates.h"
@@ -64,4 +64,4 @@ class CPDF_RenderContext {
CFX_ArrayTemplate<Layer> m_Layers;
};
-#endif // CORE_FPDFAPI_FPDF_RENDER_CPDF_RENDERCONTEXT_H_
+#endif // CORE_FPDFAPI_RENDER_CPDF_RENDERCONTEXT_H_
diff --git a/core/fpdfapi/fpdf_render/cpdf_renderoptions.h b/core/fpdfapi/render/cpdf_renderoptions.h
index bb0bcd3651..95651d9d7f 100644
--- a/core/fpdfapi/fpdf_render/cpdf_renderoptions.h
+++ b/core/fpdfapi/render/cpdf_renderoptions.h
@@ -4,8 +4,8 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef CORE_FPDFAPI_FPDF_RENDER_CPDF_RENDEROPTIONS_H_
-#define CORE_FPDFAPI_FPDF_RENDER_CPDF_RENDEROPTIONS_H_
+#ifndef CORE_FPDFAPI_RENDER_CPDF_RENDEROPTIONS_H_
+#define CORE_FPDFAPI_RENDER_CPDF_RENDEROPTIONS_H_
#include "core/fxcrt/fx_system.h"
#include "core/fxge/fx_dib.h"
@@ -51,4 +51,4 @@ class CPDF_RenderOptions {
bool m_bDrawAnnots;
};
-#endif // CORE_FPDFAPI_FPDF_RENDER_CPDF_RENDEROPTIONS_H_
+#endif // CORE_FPDFAPI_RENDER_CPDF_RENDEROPTIONS_H_
diff --git a/core/fpdfapi/fpdf_render/cpdf_textrenderer.h b/core/fpdfapi/render/cpdf_textrenderer.h
index b758a01570..a179fd7c8c 100644
--- a/core/fpdfapi/fpdf_render/cpdf_textrenderer.h
+++ b/core/fpdfapi/render/cpdf_textrenderer.h
@@ -4,8 +4,8 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef CORE_FPDFAPI_FPDF_RENDER_CPDF_TEXTRENDERER_H_
-#define CORE_FPDFAPI_FPDF_RENDER_CPDF_TEXTRENDERER_H_
+#ifndef CORE_FPDFAPI_RENDER_CPDF_TEXTRENDERER_H_
+#define CORE_FPDFAPI_RENDER_CPDF_TEXTRENDERER_H_
#include "core/fxcrt/fx_coordinates.h"
#include "core/fxcrt/fx_string.h"
@@ -57,4 +57,4 @@ class CPDF_TextRenderer {
const CPDF_RenderOptions* pOptions);
};
-#endif // CORE_FPDFAPI_FPDF_RENDER_CPDF_TEXTRENDERER_H_
+#endif // CORE_FPDFAPI_RENDER_CPDF_TEXTRENDERER_H_
diff --git a/core/fpdfapi/fpdf_render/cpdf_type3cache.cpp b/core/fpdfapi/render/cpdf_type3cache.cpp
index 1891a8d2d0..7fe552108d 100644
--- a/core/fpdfapi/fpdf_render/cpdf_type3cache.cpp
+++ b/core/fpdfapi/render/cpdf_type3cache.cpp
@@ -4,14 +4,14 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "core/fpdfapi/fpdf_render/cpdf_type3cache.h"
+#include "core/fpdfapi/render/cpdf_type3cache.h"
#include <map>
#include <memory>
#include "core/fpdfapi/font/cpdf_type3char.h"
#include "core/fpdfapi/font/cpdf_type3font.h"
-#include "core/fpdfapi/fpdf_render/cpdf_type3glyphs.h"
+#include "core/fpdfapi/render/cpdf_type3glyphs.h"
#include "core/fxge/fx_dib.h"
#include "core/fxge/fx_font.h"
diff --git a/core/fpdfapi/fpdf_render/cpdf_type3cache.h b/core/fpdfapi/render/cpdf_type3cache.h
index ea4b5a1408..f74a43acc5 100644
--- a/core/fpdfapi/fpdf_render/cpdf_type3cache.h
+++ b/core/fpdfapi/render/cpdf_type3cache.h
@@ -4,8 +4,8 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef CORE_FPDFAPI_FPDF_RENDER_CPDF_TYPE3CACHE_H_
-#define CORE_FPDFAPI_FPDF_RENDER_CPDF_TYPE3CACHE_H_
+#ifndef CORE_FPDFAPI_RENDER_CPDF_TYPE3CACHE_H_
+#define CORE_FPDFAPI_RENDER_CPDF_TYPE3CACHE_H_
#include <map>
@@ -37,4 +37,4 @@ class CPDF_Type3Cache {
std::map<CFX_ByteString, CPDF_Type3Glyphs*> m_SizeMap;
};
-#endif // CORE_FPDFAPI_FPDF_RENDER_CPDF_TYPE3CACHE_H_
+#endif // CORE_FPDFAPI_RENDER_CPDF_TYPE3CACHE_H_
diff --git a/core/fpdfapi/fpdf_render/cpdf_type3glyphs.cpp b/core/fpdfapi/render/cpdf_type3glyphs.cpp
index e811c2bd8c..189fc2439d 100644
--- a/core/fpdfapi/fpdf_render/cpdf_type3glyphs.cpp
+++ b/core/fpdfapi/render/cpdf_type3glyphs.cpp
@@ -4,7 +4,7 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "core/fpdfapi/fpdf_render/cpdf_type3glyphs.h"
+#include "core/fpdfapi/render/cpdf_type3glyphs.h"
#include <map>
diff --git a/core/fpdfapi/fpdf_render/cpdf_type3glyphs.h b/core/fpdfapi/render/cpdf_type3glyphs.h
index c88d179b8b..00814d5b3b 100644
--- a/core/fpdfapi/fpdf_render/cpdf_type3glyphs.h
+++ b/core/fpdfapi/render/cpdf_type3glyphs.h
@@ -4,8 +4,8 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef CORE_FPDFAPI_FPDF_RENDER_CPDF_TYPE3GLYPHS_H_
-#define CORE_FPDFAPI_FPDF_RENDER_CPDF_TYPE3GLYPHS_H_
+#ifndef CORE_FPDFAPI_RENDER_CPDF_TYPE3GLYPHS_H_
+#define CORE_FPDFAPI_RENDER_CPDF_TYPE3GLYPHS_H_
#include <map>
@@ -32,4 +32,4 @@ class CPDF_Type3Glyphs {
int m_BottomBlueCount;
};
-#endif // CORE_FPDFAPI_FPDF_RENDER_CPDF_TYPE3GLYPHS_H_
+#endif // CORE_FPDFAPI_RENDER_CPDF_TYPE3GLYPHS_H_
diff --git a/core/fpdfapi/fpdf_render/fpdf_render.cpp b/core/fpdfapi/render/fpdf_render.cpp
index ff300f6090..5feeae8f53 100644
--- a/core/fpdfapi/fpdf_render/fpdf_render.cpp
+++ b/core/fpdfapi/render/fpdf_render.cpp
@@ -4,18 +4,13 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "core/fpdfapi/fpdf_render/render_int.h"
+#include "core/fpdfapi/render/render_int.h"
#include <memory>
#include "core/fpdfapi/cpdf_modulemgr.h"
#include "core/fpdfapi/font/cpdf_type3char.h"
#include "core/fpdfapi/font/cpdf_type3font.h"
-#include "core/fpdfapi/fpdf_render/cpdf_pagerendercache.h"
-#include "core/fpdfapi/fpdf_render/cpdf_progressiverenderer.h"
-#include "core/fpdfapi/fpdf_render/cpdf_renderoptions.h"
-#include "core/fpdfapi/fpdf_render/cpdf_textrenderer.h"
-#include "core/fpdfapi/fpdf_render/cpdf_type3cache.h"
#include "core/fpdfapi/page/cpdf_form.h"
#include "core/fpdfapi/page/cpdf_formobject.h"
#include "core/fpdfapi/page/cpdf_graphicstates.h"
@@ -29,6 +24,11 @@
#include "core/fpdfapi/parser/cpdf_array.h"
#include "core/fpdfapi/parser/cpdf_dictionary.h"
#include "core/fpdfapi/parser/cpdf_document.h"
+#include "core/fpdfapi/render/cpdf_pagerendercache.h"
+#include "core/fpdfapi/render/cpdf_progressiverenderer.h"
+#include "core/fpdfapi/render/cpdf_renderoptions.h"
+#include "core/fpdfapi/render/cpdf_textrenderer.h"
+#include "core/fpdfapi/render/cpdf_type3cache.h"
#include "core/fpdfdoc/cpdf_occontext.h"
#include "core/fxge/cfx_fxgedevice.h"
#include "core/fxge/cfx_graphstatedata.h"
diff --git a/core/fpdfapi/fpdf_render/fpdf_render_cache.cpp b/core/fpdfapi/render/fpdf_render_cache.cpp
index 08d749d5a2..67dd953752 100644
--- a/core/fpdfapi/fpdf_render/fpdf_render_cache.cpp
+++ b/core/fpdfapi/render/fpdf_render_cache.cpp
@@ -4,13 +4,13 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "core/fpdfapi/fpdf_render/cpdf_pagerendercache.h"
+#include "core/fpdfapi/render/cpdf_pagerendercache.h"
-#include "core/fpdfapi/fpdf_render/cpdf_rendercontext.h"
-#include "core/fpdfapi/fpdf_render/render_int.h"
#include "core/fpdfapi/page/cpdf_page.h"
#include "core/fpdfapi/page/pageint.h"
#include "core/fpdfapi/parser/cpdf_document.h"
+#include "core/fpdfapi/render/cpdf_rendercontext.h"
+#include "core/fpdfapi/render/render_int.h"
struct CACHEINFO {
uint32_t time;
diff --git a/core/fpdfapi/fpdf_render/fpdf_render_image.cpp b/core/fpdfapi/render/fpdf_render_image.cpp
index d5a28a6019..766eb950fe 100644
--- a/core/fpdfapi/fpdf_render/fpdf_render_image.cpp
+++ b/core/fpdfapi/render/fpdf_render_image.cpp
@@ -4,15 +4,12 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "core/fpdfapi/fpdf_render/render_int.h"
+#include "core/fpdfapi/render/render_int.h"
#include <memory>
#include <utility>
#include <vector>
-#include "core/fpdfapi/fpdf_render/cpdf_pagerendercache.h"
-#include "core/fpdfapi/fpdf_render/cpdf_rendercontext.h"
-#include "core/fpdfapi/fpdf_render/cpdf_renderoptions.h"
#include "core/fpdfapi/page/cpdf_form.h"
#include "core/fpdfapi/page/cpdf_image.h"
#include "core/fpdfapi/page/cpdf_imageobject.h"
@@ -23,6 +20,9 @@
#include "core/fpdfapi/parser/cpdf_array.h"
#include "core/fpdfapi/parser/cpdf_dictionary.h"
#include "core/fpdfapi/parser/cpdf_document.h"
+#include "core/fpdfapi/render/cpdf_pagerendercache.h"
+#include "core/fpdfapi/render/cpdf_rendercontext.h"
+#include "core/fpdfapi/render/cpdf_renderoptions.h"
#include "core/fpdfdoc/cpdf_occontext.h"
#include "core/fxcodec/fx_codec.h"
#include "core/fxcrt/fx_safe_types.h"
diff --git a/core/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp b/core/fpdfapi/render/fpdf_render_loadimage.cpp
index ef4074ff15..0a4579e45e 100644
--- a/core/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp
+++ b/core/fpdfapi/render/fpdf_render_loadimage.cpp
@@ -4,20 +4,20 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "core/fpdfapi/fpdf_render/render_int.h"
+#include "core/fpdfapi/render/render_int.h"
#include <algorithm>
#include <memory>
#include <vector>
#include "core/fpdfapi/cpdf_modulemgr.h"
-#include "core/fpdfapi/fpdf_render/cpdf_pagerendercache.h"
#include "core/fpdfapi/page/cpdf_image.h"
#include "core/fpdfapi/page/cpdf_imageobject.h"
#include "core/fpdfapi/page/pageint.h"
#include "core/fpdfapi/parser/cpdf_array.h"
#include "core/fpdfapi/parser/cpdf_dictionary.h"
#include "core/fpdfapi/parser/cpdf_document.h"
+#include "core/fpdfapi/render/cpdf_pagerendercache.h"
#include "core/fxcodec/fx_codec.h"
#include "core/fxcrt/fx_safe_types.h"
diff --git a/core/fpdfapi/fpdf_render/fpdf_render_loadimage_embeddertest.cpp b/core/fpdfapi/render/fpdf_render_loadimage_embeddertest.cpp
index 5c6a8c513f..5c6a8c513f 100644
--- a/core/fpdfapi/fpdf_render/fpdf_render_loadimage_embeddertest.cpp
+++ b/core/fpdfapi/render/fpdf_render_loadimage_embeddertest.cpp
diff --git a/core/fpdfapi/fpdf_render/fpdf_render_pattern.cpp b/core/fpdfapi/render/fpdf_render_pattern.cpp
index 4bd712e7eb..dfb5669d8f 100644
--- a/core/fpdfapi/fpdf_render/fpdf_render_pattern.cpp
+++ b/core/fpdfapi/render/fpdf_render_pattern.cpp
@@ -4,12 +4,10 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "core/fpdfapi/fpdf_render/render_int.h"
+#include "core/fpdfapi/render/render_int.h"
#include <algorithm>
-#include "core/fpdfapi/fpdf_render/cpdf_rendercontext.h"
-#include "core/fpdfapi/fpdf_render/cpdf_renderoptions.h"
#include "core/fpdfapi/page/cpdf_form.h"
#include "core/fpdfapi/page/cpdf_graphicstates.h"
#include "core/fpdfapi/page/cpdf_meshstream.h"
@@ -21,6 +19,8 @@
#include "core/fpdfapi/page/pageint.h"
#include "core/fpdfapi/parser/cpdf_array.h"
#include "core/fpdfapi/parser/cpdf_dictionary.h"
+#include "core/fpdfapi/render/cpdf_rendercontext.h"
+#include "core/fpdfapi/render/cpdf_renderoptions.h"
#include "core/fxge/cfx_fxgedevice.h"
#include "core/fxge/cfx_pathdata.h"
#include "core/fxge/cfx_renderdevice.h"
diff --git a/core/fpdfapi/fpdf_render/fpdf_render_pattern_embeddertest.cpp b/core/fpdfapi/render/fpdf_render_pattern_embeddertest.cpp
index 176c923372..176c923372 100644
--- a/core/fpdfapi/fpdf_render/fpdf_render_pattern_embeddertest.cpp
+++ b/core/fpdfapi/render/fpdf_render_pattern_embeddertest.cpp
diff --git a/core/fpdfapi/fpdf_render/fpdf_render_text.cpp b/core/fpdfapi/render/fpdf_render_text.cpp
index 316cbff3a6..67bb2376b1 100644
--- a/core/fpdfapi/fpdf_render/fpdf_render_text.cpp
+++ b/core/fpdfapi/render/fpdf_render_text.cpp
@@ -4,7 +4,7 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "core/fpdfapi/fpdf_render/render_int.h"
+#include "core/fpdfapi/render/render_int.h"
#include <vector>
@@ -12,9 +12,6 @@
#include "core/fpdfapi/font/cpdf_font.h"
#include "core/fpdfapi/font/cpdf_type3char.h"
#include "core/fpdfapi/font/cpdf_type3font.h"
-#include "core/fpdfapi/fpdf_render/cpdf_renderoptions.h"
-#include "core/fpdfapi/fpdf_render/cpdf_textrenderer.h"
-#include "core/fpdfapi/fpdf_render/cpdf_type3cache.h"
#include "core/fpdfapi/page/cpdf_form.h"
#include "core/fpdfapi/page/cpdf_imageobject.h"
#include "core/fpdfapi/page/cpdf_pageobject.h"
@@ -23,6 +20,9 @@
#include "core/fpdfapi/page/pageint.h"
#include "core/fpdfapi/parser/cpdf_dictionary.h"
#include "core/fpdfapi/parser/cpdf_document.h"
+#include "core/fpdfapi/render/cpdf_renderoptions.h"
+#include "core/fpdfapi/render/cpdf_textrenderer.h"
+#include "core/fpdfapi/render/cpdf_type3cache.h"
#include "core/fxge/cfx_facecache.h"
#include "core/fxge/cfx_fxgedevice.h"
#include "core/fxge/cfx_gemodule.h"
diff --git a/core/fpdfapi/fpdf_render/render_int.h b/core/fpdfapi/render/render_int.h
index aa82a9f53c..9c5a7e919b 100644
--- a/core/fpdfapi/fpdf_render/render_int.h
+++ b/core/fpdfapi/render/render_int.h
@@ -4,18 +4,18 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef CORE_FPDFAPI_FPDF_RENDER_RENDER_INT_H_
-#define CORE_FPDFAPI_FPDF_RENDER_RENDER_INT_H_
+#ifndef CORE_FPDFAPI_RENDER_RENDER_INT_H_
+#define CORE_FPDFAPI_RENDER_RENDER_INT_H_
#include <map>
#include <memory>
#include <vector>
-#include "core/fpdfapi/fpdf_render/cpdf_renderoptions.h"
#include "core/fpdfapi/page/cpdf_clippath.h"
#include "core/fpdfapi/page/cpdf_countedobject.h"
#include "core/fpdfapi/page/cpdf_graphicstates.h"
#include "core/fpdfapi/parser/cpdf_stream_acc.h"
+#include "core/fpdfapi/render/cpdf_renderoptions.h"
#include "core/fxge/cfx_fxgedevice.h"
#include "core/fxge/cfx_renderdevice.h"
@@ -593,4 +593,4 @@ class CPDF_DIBTransferFunc : public CFX_FilteredDIB {
const uint8_t* m_RampB;
};
-#endif // CORE_FPDFAPI_FPDF_RENDER_RENDER_INT_H_
+#endif // CORE_FPDFAPI_RENDER_RENDER_INT_H_
diff --git a/core/fpdfdoc/cpdf_annot.cpp b/core/fpdfdoc/cpdf_annot.cpp
index 5cb0281aab..879353c7b3 100644
--- a/core/fpdfdoc/cpdf_annot.cpp
+++ b/core/fpdfdoc/cpdf_annot.cpp
@@ -6,12 +6,12 @@
#include "core/fpdfdoc/cpdf_annot.h"
-#include "core/fpdfapi/fpdf_render/cpdf_rendercontext.h"
-#include "core/fpdfapi/fpdf_render/cpdf_renderoptions.h"
#include "core/fpdfapi/page/cpdf_form.h"
#include "core/fpdfapi/page/cpdf_page.h"
#include "core/fpdfapi/parser/cpdf_array.h"
#include "core/fpdfapi/parser/cpdf_document.h"
+#include "core/fpdfapi/render/cpdf_rendercontext.h"
+#include "core/fpdfapi/render/cpdf_renderoptions.h"
#include "core/fpdfdoc/cpvt_generateap.h"
#include "core/fxcrt/fx_memory.h"
#include "core/fxge/cfx_graphstatedata.h"
diff --git a/core/fpdfdoc/cpdf_annotlist.cpp b/core/fpdfdoc/cpdf_annotlist.cpp
index d496584e8a..0d9c613e91 100644
--- a/core/fpdfdoc/cpdf_annotlist.cpp
+++ b/core/fpdfdoc/cpdf_annotlist.cpp
@@ -6,10 +6,10 @@
#include "core/fpdfdoc/cpdf_annotlist.h"
-#include "core/fpdfapi/fpdf_render/cpdf_renderoptions.h"
#include "core/fpdfapi/page/cpdf_page.h"
#include "core/fpdfapi/parser/cpdf_document.h"
#include "core/fpdfapi/parser/cpdf_reference.h"
+#include "core/fpdfapi/render/cpdf_renderoptions.h"
#include "core/fpdfdoc/cpdf_annot.h"
#include "core/fpdfdoc/cpdf_interform.h"
#include "core/fpdfdoc/cpdf_occontext.h"
diff --git a/core/fpdfdoc/cpdf_formcontrol.cpp b/core/fpdfdoc/cpdf_formcontrol.cpp
index f09935c121..d0b4a2dced 100644
--- a/core/fpdfdoc/cpdf_formcontrol.cpp
+++ b/core/fpdfdoc/cpdf_formcontrol.cpp
@@ -8,12 +8,12 @@
#include <algorithm>
-#include "core/fpdfapi/fpdf_render/cpdf_rendercontext.h"
#include "core/fpdfapi/page/cpdf_form.h"
#include "core/fpdfapi/parser/cpdf_array.h"
#include "core/fpdfapi/parser/cpdf_document.h"
#include "core/fpdfapi/parser/cpdf_stream.h"
#include "core/fpdfapi/parser/fpdf_parser_decode.h"
+#include "core/fpdfapi/render/cpdf_rendercontext.h"
#include "core/fpdfdoc/cpdf_interform.h"
#include "core/fxge/cfx_renderdevice.h"
diff --git a/core/fxge/dib/fx_dib_engine_unittest.cpp b/core/fxge/dib/fx_dib_engine_unittest.cpp
index 927951d3bd..3f8abe1c97 100644
--- a/core/fxge/dib/fx_dib_engine_unittest.cpp
+++ b/core/fxge/dib/fx_dib_engine_unittest.cpp
@@ -4,10 +4,10 @@
#include <memory>
-#include "core/fpdfapi/fpdf_render/render_int.h"
#include "core/fpdfapi/parser/cpdf_dictionary.h"
#include "core/fpdfapi/parser/cpdf_number.h"
#include "core/fpdfapi/parser/cpdf_stream.h"
+#include "core/fpdfapi/render/render_int.h"
#include "core/fxcrt/fx_memory.h"
#include "core/fxge/dib/dib_int.h"
#include "core/fxge/fx_dib.h"
diff --git a/fpdfsdk/DEPS b/fpdfsdk/DEPS
index 6bd4d7db8c..624a4c22be 100644
--- a/fpdfsdk/DEPS
+++ b/fpdfsdk/DEPS
@@ -4,7 +4,7 @@ include_rules = [
'+core/fpdfapi/edit',
'+core/fpdfapi/page',
'+core/fpdfapi/parser',
- '+core/fpdfapi/fpdf_render',
+ '+core/fpdfapi/render',
'+core/fpdfdoc',
'+core/fxcodec',
'+core/fxcrt',
diff --git a/fpdfsdk/cpdfsdk_pageview.cpp b/fpdfsdk/cpdfsdk_pageview.cpp
index ee92b867a2..529265e88f 100644
--- a/fpdfsdk/cpdfsdk_pageview.cpp
+++ b/fpdfsdk/cpdfsdk_pageview.cpp
@@ -9,8 +9,8 @@
#include <memory>
#include <vector>
-#include "core/fpdfapi/fpdf_render/cpdf_renderoptions.h"
#include "core/fpdfapi/parser/cpdf_document.h"
+#include "core/fpdfapi/render/cpdf_renderoptions.h"
#include "core/fpdfdoc/cpdf_annotlist.h"
#include "core/fpdfdoc/cpdf_interform.h"
#include "fpdfsdk/cpdfsdk_annot.h"
diff --git a/fpdfsdk/fpdf_progressive.cpp b/fpdfsdk/fpdf_progressive.cpp
index 1895d056ba..1933c88485 100644
--- a/fpdfsdk/fpdf_progressive.cpp
+++ b/fpdfsdk/fpdf_progressive.cpp
@@ -7,8 +7,8 @@
#include "public/fpdf_progressive.h"
#include "core/fpdfapi/cpdf_pagerendercontext.h"
-#include "core/fpdfapi/fpdf_render/cpdf_progressiverenderer.h"
#include "core/fpdfapi/page/cpdf_page.h"
+#include "core/fpdfapi/render/cpdf_progressiverenderer.h"
#include "core/fxcrt/fx_memory.h"
#include "core/fxge/cfx_fxgedevice.h"
#include "core/fxge/cfx_renderdevice.h"
diff --git a/fpdfsdk/fpdfformfill.cpp b/fpdfsdk/fpdfformfill.cpp
index 1c1cab10e8..a613600443 100644
--- a/fpdfsdk/fpdfformfill.cpp
+++ b/fpdfsdk/fpdfformfill.cpp
@@ -9,9 +9,9 @@
#include <memory>
#include <vector>
-#include "core/fpdfapi/fpdf_render/cpdf_renderoptions.h"
#include "core/fpdfapi/page/cpdf_page.h"
#include "core/fpdfapi/parser/cpdf_document.h"
+#include "core/fpdfapi/render/cpdf_renderoptions.h"
#include "core/fpdfdoc/cpdf_formcontrol.h"
#include "core/fpdfdoc/cpdf_formfield.h"
#include "core/fpdfdoc/cpdf_interform.h"
diff --git a/fpdfsdk/fpdfview.cpp b/fpdfsdk/fpdfview.cpp
index 6b3e0c2c0a..dfd15ed5df 100644
--- a/fpdfsdk/fpdfview.cpp
+++ b/fpdfsdk/fpdfview.cpp
@@ -11,12 +11,12 @@
#include "core/fpdfapi/cpdf_modulemgr.h"
#include "core/fpdfapi/cpdf_pagerendercontext.h"
-#include "core/fpdfapi/fpdf_render/cpdf_progressiverenderer.h"
-#include "core/fpdfapi/fpdf_render/cpdf_renderoptions.h"
#include "core/fpdfapi/page/cpdf_page.h"
#include "core/fpdfapi/parser/cpdf_array.h"
#include "core/fpdfapi/parser/cpdf_document.h"
#include "core/fpdfapi/parser/fpdf_parser_decode.h"
+#include "core/fpdfapi/render/cpdf_progressiverenderer.h"
+#include "core/fpdfapi/render/cpdf_renderoptions.h"
#include "core/fpdfdoc/cpdf_annotlist.h"
#include "core/fpdfdoc/cpdf_nametree.h"
#include "core/fpdfdoc/cpdf_occontext.h"
diff --git a/fpdfsdk/fxedit/fxet_edit.cpp b/fpdfsdk/fxedit/fxet_edit.cpp
index 962c579355..d4b159cf0a 100644
--- a/fpdfsdk/fxedit/fxet_edit.cpp
+++ b/fpdfsdk/fxedit/fxet_edit.cpp
@@ -11,13 +11,13 @@
#include <utility>
#include "core/fpdfapi/font/cpdf_font.h"
-#include "core/fpdfapi/fpdf_render/cpdf_renderoptions.h"
-#include "core/fpdfapi/fpdf_render/cpdf_textrenderer.h"
#include "core/fpdfapi/page/cpdf_pageobject.h"
#include "core/fpdfapi/page/cpdf_pageobjectholder.h"
#include "core/fpdfapi/page/cpdf_pathobject.h"
#include "core/fpdfapi/page/cpdf_textobject.h"
#include "core/fpdfapi/parser/fpdf_parser_decode.h"
+#include "core/fpdfapi/render/cpdf_renderoptions.h"
+#include "core/fpdfapi/render/cpdf_textrenderer.h"
#include "core/fpdfdoc/cpvt_section.h"
#include "core/fpdfdoc/cpvt_word.h"
#include "core/fpdfdoc/ipvt_fontmap.h"