Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Unified Diff: core/include/fpdfapi/fpdf_page.h

Issue 1539983002: Remove CFX_MapPtrToPtr in CFX_PageRenderCache (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Address review Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | core/include/fpdfapi/fpdf_render.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/include/fpdfapi/fpdf_page.h
diff --git a/core/include/fpdfapi/fpdf_page.h b/core/include/fpdfapi/fpdf_page.h
index 5fa413d29cfebfe9c07dc7d7976a0ddc68808a68..efbfa67280ce54d8f663b4918529fa2b3a8daa24 100644
--- a/core/include/fpdfapi/fpdf_page.h
+++ b/core/include/fpdfapi/fpdf_page.h
@@ -97,7 +97,6 @@ class CPDF_PageObjects {
class CPDF_Page : public CPDF_PageObjects, public CFX_PrivateData {
public:
CPDF_Page();
-
~CPDF_Page();
void Load(CPDF_Document* pDocument,
@@ -105,7 +104,6 @@ class CPDF_Page : public CPDF_PageObjects, public CFX_PrivateData {
FX_BOOL bPageCache = TRUE);
void StartParse(CPDF_ParseOptions* pOptions = NULL, FX_BOOL bReParse = FALSE);
-
void ParseContent(CPDF_ParseOptions* pOptions = NULL,
FX_BOOL bReParse = FALSE);
@@ -117,28 +115,17 @@ class CPDF_Page : public CPDF_PageObjects, public CFX_PrivateData {
int iRotate) const;
FX_FLOAT GetPageWidth() const { return m_PageWidth; }
-
FX_FLOAT GetPageHeight() const { return m_PageHeight; }
-
CFX_FloatRect GetPageBBox() const { return m_BBox; }
-
const CFX_Matrix& GetPageMatrix() const { return m_PageMatrix; }
-
CPDF_Object* GetPageAttr(const CFX_ByteStringC& name) const;
-
CPDF_PageRenderCache* GetRenderCache() const { return m_pPageRender; }
- void ClearRenderCache();
-
protected:
friend class CPDF_ContentParser;
-
FX_FLOAT m_PageWidth;
-
FX_FLOAT m_PageHeight;
-
CFX_Matrix m_PageMatrix;
-
CPDF_PageRenderCache* m_pPageRender;
};
class CPDF_ParseOptions {
« no previous file with comments | « no previous file | core/include/fpdfapi/fpdf_render.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698