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

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

Issue 2173253002: Use smart pointers for class owned pointers (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: address comments Created 4 years, 4 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/javascript/cjs_context.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>
(...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after
612 void TakeOverPage() { m_bTakeOverPage = TRUE; } 612 void TakeOverPage() { m_bTakeOverPage = TRUE; }
613 #endif // PDF_ENABLE_XFA 613 #endif // PDF_ENABLE_XFA
614 614
615 private: 615 private:
616 int GetPageIndexForStaticPDF() const; 616 int GetPageIndexForStaticPDF() const;
617 617
618 CFX_Matrix m_curMatrix; 618 CFX_Matrix m_curMatrix;
619 UnderlyingPageType* const m_page; 619 UnderlyingPageType* const m_page;
620 std::unique_ptr<CPDF_AnnotList> m_pAnnotList; 620 std::unique_ptr<CPDF_AnnotList> m_pAnnotList;
621 std::vector<CPDFSDK_Annot*> m_fxAnnotArray; 621 std::vector<CPDFSDK_Annot*> m_fxAnnotArray;
622 CPDFSDK_Document* m_pSDKDoc; 622 CPDFSDK_Document* const m_pSDKDoc;
623 #ifdef PDF_ENABLE_XFA 623 #ifdef PDF_ENABLE_XFA
624 CPDFSDK_Annot* m_CaptureWidget; 624 CPDFSDK_Annot* m_CaptureWidget;
625 #else // PDF_ENABLE_XFA 625 #else // PDF_ENABLE_XFA
626 CPDFSDK_Widget* m_CaptureWidget; 626 CPDFSDK_Widget* m_CaptureWidget;
627 FX_BOOL m_bTakeOverPage; 627 FX_BOOL m_bTakeOverPage;
628 #endif // PDF_ENABLE_XFA 628 #endif // PDF_ENABLE_XFA
629 FX_BOOL m_bEnterWidget; 629 FX_BOOL m_bEnterWidget;
630 FX_BOOL m_bExitWidget; 630 FX_BOOL m_bExitWidget;
631 FX_BOOL m_bOnWidget; 631 FX_BOOL m_bOnWidget;
632 FX_BOOL m_bValid; 632 FX_BOOL m_bValid;
633 FX_BOOL m_bLocked; 633 FX_BOOL m_bLocked;
634 }; 634 };
635 635
636 #endif // FPDFSDK_INCLUDE_FSDK_MGR_H_ 636 #endif // FPDFSDK_INCLUDE_FSDK_MGR_H_
OLDNEW
« no previous file with comments | « fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h ('k') | fpdfsdk/javascript/cjs_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698