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

Side by Side Diff: fpdfsdk/include/fpdfxfa/fpdfxfa_page.h

Issue 1741003002: Cleanup forward declarations. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 months 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 unified diff | Download patch
« no previous file with comments | « fpdfsdk/include/fpdfxfa/fpdfxfa_app.h ('k') | fpdfsdk/include/fsdk_baseform.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef FPDFSDK_INCLUDE_FPDFXFA_FPDFXFA_PAGE_H_ 7 #ifndef FPDFSDK_INCLUDE_FPDFXFA_FPDFXFA_PAGE_H_
8 #define FPDFSDK_INCLUDE_FPDFXFA_FPDFXFA_PAGE_H_ 8 #define FPDFSDK_INCLUDE_FPDFXFA_FPDFXFA_PAGE_H_
9 9
10 class CPDF_Page;
11
10 class CPDFXFA_Page { 12 class CPDFXFA_Page {
11 public: 13 public:
12 CPDFXFA_Page(CPDFXFA_Document* pDoc, int page_index); 14 CPDFXFA_Page(CPDFXFA_Document* pDoc, int page_index);
13 ~CPDFXFA_Page(); 15 ~CPDFXFA_Page();
14 16
15 void Release(); 17 void Release();
16 void AddRef() { m_iRef++; } 18 void AddRef() { m_iRef++; }
17 FX_BOOL LoadPage(); 19 FX_BOOL LoadPage();
18 FX_BOOL LoadPDFPage(CPDF_Dictionary* pageDict); 20 FX_BOOL LoadPDFPage(CPDF_Dictionary* pageDict);
19 CPDFXFA_Document* GetDocument() { return m_pDocument; } 21 CPDFXFA_Document* GetDocument() { return m_pDocument; }
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 59
58 private: 60 private:
59 CPDF_Page* m_pPDFPage; 61 CPDF_Page* m_pPDFPage;
60 IXFA_PageView* m_pXFAPageView; 62 IXFA_PageView* m_pXFAPageView;
61 int m_iPageIndex; 63 int m_iPageIndex;
62 CPDFXFA_Document* m_pDocument; 64 CPDFXFA_Document* m_pDocument;
63 int m_iRef; 65 int m_iRef;
64 }; 66 };
65 67
66 #endif // FPDFSDK_INCLUDE_FPDFXFA_FPDFXFA_PAGE_H_ 68 #endif // FPDFSDK_INCLUDE_FPDFXFA_FPDFXFA_PAGE_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/fpdfxfa/fpdfxfa_app.h ('k') | fpdfsdk/include/fsdk_baseform.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698