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

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

Issue 2062313002: Make code compile with clang_use_chrome_plugin (part IV) (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: remove unused file Created 4 years, 6 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/fpdfxfa/include/fpdfxfa_doc.h ('k') | fpdfsdk/fsdk_actionhandler.cpp » ('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_FPDFXFA_INCLUDE_FPDFXFA_PAGE_H_ 7 #ifndef FPDFSDK_FPDFXFA_INCLUDE_FPDFXFA_PAGE_H_
8 #define FPDFSDK_FPDFXFA_INCLUDE_FPDFXFA_PAGE_H_ 8 #define FPDFSDK_FPDFXFA_INCLUDE_FPDFXFA_PAGE_H_
9 9
10 #include <memory> 10 #include <memory>
11 11
12 #include "core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h"
13 #include "core/fpdfapi/include/cpdf_modulemgr.h"
14 #include "core/fxcrt/include/fx_coordinates.h"
15 #include "core/fxcrt/include/fx_system.h" 12 #include "core/fxcrt/include/fx_system.h"
16 13
14 class CFX_Matrix;
17 class CPDFXFA_Document; 15 class CPDFXFA_Document;
16 class CPDF_Dictionary;
18 class CPDF_Page; 17 class CPDF_Page;
19 class CXFA_FFPageView; 18 class CXFA_FFPageView;
20 19
21 class CPDFXFA_Page { 20 class CPDFXFA_Page {
22 public: 21 public:
23 CPDFXFA_Page(CPDFXFA_Document* pDoc, int page_index); 22 CPDFXFA_Page(CPDFXFA_Document* pDoc, int page_index);
24 23
25 void Retain() { m_iRef++; } 24 void Retain() { m_iRef++; }
26 void Release() { 25 void Release() {
27 if (--m_iRef <= 0) 26 if (--m_iRef <= 0)
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 76
78 private: 77 private:
79 std::unique_ptr<CPDF_Page> m_pPDFPage; 78 std::unique_ptr<CPDF_Page> m_pPDFPage;
80 CXFA_FFPageView* m_pXFAPageView; 79 CXFA_FFPageView* m_pXFAPageView;
81 CPDFXFA_Document* const m_pDocument; 80 CPDFXFA_Document* const m_pDocument;
82 const int m_iPageIndex; 81 const int m_iPageIndex;
83 int m_iRef; 82 int m_iRef;
84 }; 83 };
85 84
86 #endif // FPDFSDK_FPDFXFA_INCLUDE_FPDFXFA_PAGE_H_ 85 #endif // FPDFSDK_FPDFXFA_INCLUDE_FPDFXFA_PAGE_H_
OLDNEW
« no previous file with comments | « fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h ('k') | fpdfsdk/fsdk_actionhandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698