summaryrefslogtreecommitdiff
path: root/xfa/fxgraphics
diff options
context:
space:
mode:
authornpm <npm@chromium.org>2016-08-10 07:51:38 -0700
committerCommit bot <commit-bot@chromium.org>2016-08-10 07:51:39 -0700
commit9ada2d83cbb629f286936ebc7a208a61164f873b (patch)
tree227aa12df825dbda00a961bd894c35d9987638f2 /xfa/fxgraphics
parentf3dc8c6941635e5c4cc20c8388289f6b148dc9eb (diff)
downloadpdfium-9ada2d83cbb629f286936ebc7a208a61164f873b.tar.xz
Move CFX_RenderDevice, CFX_FxgeDevice, and CFX_GraphStateData into their own files.
This is the third CL to separate fx_ge into classes, one per file. All fx_ge.h includes had to be replaced with new includes The method definitions for CFX_FxgeDevice were not moved to a single file. These methods are defined in two folders different from fxge/ge, so they were left untouched for now. Review-Url: https://codereview.chromium.org/2223213002
Diffstat (limited to 'xfa/fxgraphics')
-rw-r--r--xfa/fxgraphics/cfx_graphics.cpp2
-rw-r--r--xfa/fxgraphics/cfx_path_generator.cpp1
-rw-r--r--xfa/fxgraphics/cfx_path_generator.h1
-rw-r--r--xfa/fxgraphics/include/cfx_graphics.h5
4 files changed, 7 insertions, 2 deletions
diff --git a/xfa/fxgraphics/cfx_graphics.cpp b/xfa/fxgraphics/cfx_graphics.cpp
index 0e18d65e2d..083ef7bff4 100644
--- a/xfa/fxgraphics/cfx_graphics.cpp
+++ b/xfa/fxgraphics/cfx_graphics.cpp
@@ -8,7 +8,9 @@
#include <memory>
+#include "core/fxge/include/cfx_fxgedevice.h"
#include "core/fxge/include/cfx_gemodule.h"
+#include "core/fxge/include/cfx_renderdevice.h"
#include "xfa/fxgraphics/cagg_graphics.h"
#include "xfa/fxgraphics/cfx_color.h"
#include "xfa/fxgraphics/cfx_path.h"
diff --git a/xfa/fxgraphics/cfx_path_generator.cpp b/xfa/fxgraphics/cfx_path_generator.cpp
index aadaa85ad0..2af39c49d7 100644
--- a/xfa/fxgraphics/cfx_path_generator.cpp
+++ b/xfa/fxgraphics/cfx_path_generator.cpp
@@ -7,6 +7,7 @@
#include "xfa/fxgraphics/cfx_path_generator.h"
#include "core/fxge/include/cfx_pathdata.h"
+#include "core/fxge/include/cfx_renderdevice.h"
CFX_PathGenerator::CFX_PathGenerator() : m_pPathData(new CFX_PathData) {}
diff --git a/xfa/fxgraphics/cfx_path_generator.h b/xfa/fxgraphics/cfx_path_generator.h
index 0fed30f93f..aa17a7e323 100644
--- a/xfa/fxgraphics/cfx_path_generator.h
+++ b/xfa/fxgraphics/cfx_path_generator.h
@@ -10,7 +10,6 @@
#include <memory>
#include "core/fxge/include/cfx_pathdata.h"
-#include "core/fxge/include/fx_ge.h"
class CFX_PathGenerator {
public:
diff --git a/xfa/fxgraphics/include/cfx_graphics.h b/xfa/fxgraphics/include/cfx_graphics.h
index e581089aec..129ae6e18b 100644
--- a/xfa/fxgraphics/include/cfx_graphics.h
+++ b/xfa/fxgraphics/include/cfx_graphics.h
@@ -10,8 +10,11 @@
#include <memory>
#include "core/fxcrt/include/fx_system.h"
+#include "core/fxge/include/cfx_fxgedevice.h"
+#include "core/fxge/include/cfx_graphstatedata.h"
+#include "core/fxge/include/cfx_renderdevice.h"
#include "core/fxge/include/fx_dib.h"
-#include "core/fxge/include/fx_ge.h"
+#include "core/fxge/include/fx_font.h"
#include "xfa/fwl/core/fwl_error.h"
class CFX_Color;