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

Side by Side Diff: fpdfsdk/include/fsdk_mgr.h

Issue 2008553008: Remove CFX_PrivateData from CPDF_Page (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Fix non-XFA build. Created 4 years, 7 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/fsdk_define.h ('k') | fpdfsdk/include/fsdk_rendercontext.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_FSDK_MGR_H_ 7 #ifndef FPDFSDK_INCLUDE_FSDK_MGR_H_
8 #define FPDFSDK_INCLUDE_FSDK_MGR_H_ 8 #define FPDFSDK_INCLUDE_FSDK_MGR_H_
9 9
10 #include <map> 10 #include <map>
11 #include <memory> 11 #include <memory>
12 #include <vector> 12 #include <vector>
13 13
14 #include "core/fpdfapi/fpdf_page/include/cpdf_page.h"
14 #include "core/fpdfapi/fpdf_parser/include/cpdf_document.h" 15 #include "core/fpdfapi/fpdf_parser/include/cpdf_document.h"
15 #include "fpdfsdk/cfx_systemhandler.h" 16 #include "fpdfsdk/cfx_systemhandler.h"
16 #include "fpdfsdk/include/fsdk_actionhandler.h" 17 #include "fpdfsdk/include/fsdk_actionhandler.h"
17 #include "fpdfsdk/include/fsdk_annothandler.h" 18 #include "fpdfsdk/include/fsdk_annothandler.h"
18 #include "fpdfsdk/include/fsdk_baseannot.h" 19 #include "fpdfsdk/include/fsdk_baseannot.h"
19 #include "fpdfsdk/include/fsdk_baseform.h" 20 #include "fpdfsdk/include/fsdk_baseform.h"
20 #include "fpdfsdk/include/fsdk_common.h" 21 #include "fpdfsdk/include/fsdk_common.h"
21 #include "fpdfsdk/include/fsdk_define.h" 22 #include "fpdfsdk/include/fsdk_define.h"
22 #include "public/fpdf_formfill.h" 23 #include "public/fpdf_formfill.h"
23 #include "public/fpdf_fwlevent.h" 24 #include "public/fpdf_fwlevent.h"
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after
523 std::map<UnderlyingPageType*, CPDFSDK_PageView*> m_pageMap; 524 std::map<UnderlyingPageType*, CPDFSDK_PageView*> m_pageMap;
524 UnderlyingDocumentType* m_pDoc; 525 UnderlyingDocumentType* m_pDoc;
525 std::unique_ptr<CPDFSDK_InterForm> m_pInterForm; 526 std::unique_ptr<CPDFSDK_InterForm> m_pInterForm;
526 CPDFSDK_Annot* m_pFocusAnnot; 527 CPDFSDK_Annot* m_pFocusAnnot;
527 CPDFDoc_Environment* m_pEnv; 528 CPDFDoc_Environment* m_pEnv;
528 std::unique_ptr<CPDF_OCContext> m_pOccontent; 529 std::unique_ptr<CPDF_OCContext> m_pOccontent;
529 FX_BOOL m_bChangeMask; 530 FX_BOOL m_bChangeMask;
530 FX_BOOL m_bBeingDestroyed; 531 FX_BOOL m_bBeingDestroyed;
531 }; 532 };
532 533
533 class CPDFSDK_PageView final { 534 class CPDFSDK_PageView final : public CPDF_Page::View {
534 public: 535 public:
535 CPDFSDK_PageView(CPDFSDK_Document* pSDKDoc, UnderlyingPageType* page); 536 CPDFSDK_PageView(CPDFSDK_Document* pSDKDoc, UnderlyingPageType* page);
536 ~CPDFSDK_PageView(); 537 ~CPDFSDK_PageView();
537 538
538 #ifdef PDF_ENABLE_XFA 539 #ifdef PDF_ENABLE_XFA
539 void PageView_OnDraw(CFX_RenderDevice* pDevice, 540 void PageView_OnDraw(CFX_RenderDevice* pDevice,
540 CFX_Matrix* pUser2Device, 541 CFX_Matrix* pUser2Device,
541 CPDF_RenderOptions* pOptions, 542 CPDF_RenderOptions* pOptions,
542 const FX_RECT& pClip); 543 const FX_RECT& pClip);
543 #else // PDF_ENABLE_XFA 544 #else // PDF_ENABLE_XFA
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
630 FX_BOOL m_bTakeOverPage; 631 FX_BOOL m_bTakeOverPage;
631 #endif // PDF_ENABLE_XFA 632 #endif // PDF_ENABLE_XFA
632 FX_BOOL m_bEnterWidget; 633 FX_BOOL m_bEnterWidget;
633 FX_BOOL m_bExitWidget; 634 FX_BOOL m_bExitWidget;
634 FX_BOOL m_bOnWidget; 635 FX_BOOL m_bOnWidget;
635 FX_BOOL m_bValid; 636 FX_BOOL m_bValid;
636 FX_BOOL m_bLocked; 637 FX_BOOL m_bLocked;
637 }; 638 };
638 639
639 #endif // FPDFSDK_INCLUDE_FSDK_MGR_H_ 640 #endif // FPDFSDK_INCLUDE_FSDK_MGR_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/fsdk_define.h ('k') | fpdfsdk/include/fsdk_rendercontext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698