From d647a6b2e3fbd2711273637e5a56e659a113d2e9 Mon Sep 17 00:00:00 2001 From: dsinclair Date: Tue, 26 Apr 2016 13:13:20 -0700 Subject: Remove several IPDF_ interfaces and CPDF_RenderModule. This CL removes the interfaces: * IPDF_ObjectRenderer * IPDF_OCContext * IPDF_RenderModule * IPDF_PageModule The CPDF_RenderModule was just wrapping new and delete calls. This Cl moves those up to the callers and removes the CPDF_RenderModule class. Review URL: https://codereview.chromium.org/1918323003 --- core/fpdfapi/ipdf_rendermodule.h | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 core/fpdfapi/ipdf_rendermodule.h (limited to 'core/fpdfapi/ipdf_rendermodule.h') diff --git a/core/fpdfapi/ipdf_rendermodule.h b/core/fpdfapi/ipdf_rendermodule.h deleted file mode 100644 index b871c36230..0000000000 --- a/core/fpdfapi/ipdf_rendermodule.h +++ /dev/null @@ -1,26 +0,0 @@ -// Copyright 2016 PDFium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com - -#ifndef CORE_FPDFAPI_IPDF_RENDERMODULE_H_ -#define CORE_FPDFAPI_IPDF_RENDERMODULE_H_ - -class CPDF_DocRenderData; -class CPDF_Document; -class CPDF_Page; -class CPDF_PageRenderCache; - -class IPDF_RenderModule { - public: - virtual ~IPDF_RenderModule() {} - - virtual CPDF_DocRenderData* CreateDocData(CPDF_Document* pDoc) = 0; - virtual void DestroyDocData(CPDF_DocRenderData* pDocRenderData) = 0; - virtual void ClearDocData(CPDF_DocRenderData* pDocRenderData) = 0; - - virtual CPDF_DocRenderData* GetRenderData() = 0; -}; - -#endif // CORE_FPDFAPI_IPDF_RENDERMODULE_H_ -- cgit v1.2.3