diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-04-14 13:50:34 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-04-14 13:50:34 -0700 |
commit | 6fc8cbb4ffbc17732045d243e1b95bc04c8a3b33 (patch) | |
tree | e2fc5ec44d0e83e7f8d066b14d1628b8f5cebe87 /fpdfsdk/include | |
parent | 63de95b699a4374982c2ddffced89e0da028fe4c (diff) | |
download | pdfium-6fc8cbb4ffbc17732045d243e1b95bc04c8a3b33.tar.xz |
Merge to XFA: Kill CFX_Object.
Not just a simple merge, but changes to remove CFX_Object from XFA.
Original Review URL: https://codereview.chromium.org/1088733002
TBR=thestig@chromium.org
Review URL: https://codereview.chromium.org/1087053002
Diffstat (limited to 'fpdfsdk/include')
-rw-r--r-- | fpdfsdk/include/fpdfxfa/fpdfxfa_app.h | 2 | ||||
-rw-r--r-- | fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h | 2 | ||||
-rw-r--r-- | fpdfsdk/include/fpdfxfa/fpdfxfa_page.h | 4 | ||||
-rw-r--r-- | fpdfsdk/include/fpdfxfa/fpdfxfa_util.h | 4 | ||||
-rw-r--r-- | fpdfsdk/include/fsdk_baseannot.h | 2 | ||||
-rw-r--r-- | fpdfsdk/include/fsdk_define.h | 4 | ||||
-rw-r--r-- | fpdfsdk/include/fsdk_rendercontext.h | 2 | ||||
-rw-r--r-- | fpdfsdk/include/javascript/JS_Object.h | 4 |
8 files changed, 11 insertions, 13 deletions
diff --git a/fpdfsdk/include/fpdfxfa/fpdfxfa_app.h b/fpdfsdk/include/fpdfxfa/fpdfxfa_app.h index c77aae3b12..a2bc2cc5a7 100644 --- a/fpdfsdk/include/fpdfxfa/fpdfxfa_app.h +++ b/fpdfsdk/include/fpdfxfa/fpdfxfa_app.h @@ -11,7 +11,7 @@ class CPDFXFA_App; class IFXJS_Runtime;
class CJS_RuntimeFactory;
-class CPDFXFA_App : public IXFA_AppProvider, public CFX_Object
+class CPDFXFA_App : public IXFA_AppProvider
{
public:
CPDFXFA_App();
diff --git a/fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h b/fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h index 317200c2fa..954162e338 100644 --- a/fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h +++ b/fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h @@ -16,7 +16,7 @@ class IFXJS_Runtime; class IFXJS_Context;
class IXFA_DocHandler;
-class CPDFXFA_Document : public IXFA_DocProvider, public CFX_Object
+class CPDFXFA_Document : public IXFA_DocProvider
{
public:
CPDFXFA_Document(CPDF_Document* pPDFDoc, CPDFXFA_App* pProvider);
diff --git a/fpdfsdk/include/fpdfxfa/fpdfxfa_page.h b/fpdfsdk/include/fpdfxfa/fpdfxfa_page.h index 1d60c33e43..f55a42496d 100644 --- a/fpdfsdk/include/fpdfxfa/fpdfxfa_page.h +++ b/fpdfsdk/include/fpdfxfa/fpdfxfa_page.h @@ -7,9 +7,7 @@ #ifndef _FPDFXFA_PAGEVIEW_H_
#define _FPDFXFA_PAGEVIEW_H_
-class CPDFXFA_Page;
-
-class CPDFXFA_Page : public CFX_Object
+class CPDFXFA_Page
{
public:
CPDFXFA_Page(CPDFXFA_Document* pDoc, int page_index);
diff --git a/fpdfsdk/include/fpdfxfa/fpdfxfa_util.h b/fpdfsdk/include/fpdfxfa/fpdfxfa_util.h index 28904e2ca6..6c3d15e4f1 100644 --- a/fpdfsdk/include/fpdfxfa/fpdfxfa_util.h +++ b/fpdfsdk/include/fpdfxfa/fpdfxfa_util.h @@ -12,7 +12,7 @@ #define JS_STR_VIEWERVARIATION L"Full"
#define JS_STR_VIEWERVERSION_XFA L"11"
-class CXFA_FWLAdapterTimerMgr : public IFWL_AdapterTimerMgr, public CFX_Object
+class CXFA_FWLAdapterTimerMgr : public IFWL_AdapterTimerMgr
{
public:
CXFA_FWLAdapterTimerMgr(CPDFDoc_Environment* pEnv) : m_pEnv(pEnv)
@@ -29,7 +29,7 @@ protected: CPDFDoc_Environment* m_pEnv;
};
-class CFWL_TimerInfo : public CFX_Object
+class CFWL_TimerInfo
{
public:
CFWL_TimerInfo()
diff --git a/fpdfsdk/include/fsdk_baseannot.h b/fpdfsdk/include/fsdk_baseannot.h index 0655e9ca61..efa7c0be52 100644 --- a/fpdfsdk/include/fsdk_baseannot.h +++ b/fpdfsdk/include/fsdk_baseannot.h @@ -27,7 +27,7 @@ class CFX_RenderDevice; #define CFX_IntArray CFX_ArrayTemplate<int> -class CPDFSDK_DateTime : public CFX_Object +class CPDFSDK_DateTime { public: CPDFSDK_DateTime(); diff --git a/fpdfsdk/include/fsdk_define.h b/fpdfsdk/include/fsdk_define.h index 3509e8e2ab..4c59a28f94 100644 --- a/fpdfsdk/include/fsdk_define.h +++ b/fpdfsdk/include/fsdk_define.h @@ -75,7 +75,7 @@ typedef unsigned int FX_UINT; #include "fpdfview.h" -class CPDF_CustomAccess FX_FINAL : public IFX_FileRead, public CFX_Object +class CPDF_CustomAccess FX_FINAL : public IFX_FileRead { public: CPDF_CustomAccess(FPDF_FILEACCESS* pFileAccess); @@ -95,7 +95,7 @@ public: FX_DWORD m_BufferOffset; }; -class CFPDF_FileStream : public IFX_FileStream, public CFX_Object +class CFPDF_FileStream : public IFX_FileStream { public: CFPDF_FileStream(FPDF_FILEHANDLER* pFS); diff --git a/fpdfsdk/include/fsdk_rendercontext.h b/fpdfsdk/include/fsdk_rendercontext.h index 51c37b3624..94ad48e7c9 100644 --- a/fpdfsdk/include/fsdk_rendercontext.h +++ b/fpdfsdk/include/fsdk_rendercontext.h @@ -10,7 +10,7 @@ #include "../include/fpdf_progressive.h" // Everything about rendering is put here: for OOM recovery -class CRenderContext : public CFX_Object +class CRenderContext { public: CRenderContext() { Clear(); } diff --git a/fpdfsdk/include/javascript/JS_Object.h b/fpdfsdk/include/javascript/JS_Object.h index 74af9ba12d..02d2f57663 100644 --- a/fpdfsdk/include/javascript/JS_Object.h +++ b/fpdfsdk/include/javascript/JS_Object.h @@ -17,7 +17,7 @@ class CJS_Object; class CJS_Timer; class CJS_Context; -class CJS_EmbedObj : public CFX_Object +class CJS_EmbedObj { public: CJS_EmbedObj(CJS_Object* pJSObject); @@ -39,7 +39,7 @@ protected: CJS_Object* m_pJSObject; }; -class CJS_Object : public CFX_Object +class CJS_Object { public: CJS_Object(JSFXObject pObject); |