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

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

Issue 1906903002: Replace CFX_RectArray with std::vector<CFX_FloatRect> (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Remove unused method Created 4 years, 8 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/fsdk_mgr.cpp ('k') | fpdfsdk/javascript/Document.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_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 596 matching lines...) Expand 10 before | Expand all | Expand 10 after
607 FX_BOOL OnKeyDown(int nKeyCode, int nFlag); 607 FX_BOOL OnKeyDown(int nKeyCode, int nFlag);
608 FX_BOOL OnKeyUp(int nKeyCode, int nFlag); 608 FX_BOOL OnKeyUp(int nKeyCode, int nFlag);
609 609
610 FX_BOOL OnMouseMove(const CFX_FloatPoint& point, int nFlag); 610 FX_BOOL OnMouseMove(const CFX_FloatPoint& point, int nFlag);
611 FX_BOOL OnMouseWheel(double deltaX, 611 FX_BOOL OnMouseWheel(double deltaX,
612 double deltaY, 612 double deltaY,
613 const CFX_FloatPoint& point, 613 const CFX_FloatPoint& point,
614 int nFlag); 614 int nFlag);
615 bool IsValidAnnot(const CPDF_Annot* p) const; 615 bool IsValidAnnot(const CPDF_Annot* p) const;
616 void GetCurrentMatrix(CFX_Matrix& matrix) { matrix = m_curMatrix; } 616 void GetCurrentMatrix(CFX_Matrix& matrix) { matrix = m_curMatrix; }
617 void UpdateRects(CFX_RectArray& rects); 617 void UpdateRects(const std::vector<CFX_FloatRect>& rects);
618 void UpdateView(CPDFSDK_Annot* pAnnot); 618 void UpdateView(CPDFSDK_Annot* pAnnot);
619 const std::vector<CPDFSDK_Annot*>& GetAnnotList() const { 619 const std::vector<CPDFSDK_Annot*>& GetAnnotList() const {
620 return m_fxAnnotArray; 620 return m_fxAnnotArray;
621 } 621 }
622 622
623 int GetPageIndex(); 623 int GetPageIndex();
624 void LoadFXAnnots(); 624 void LoadFXAnnots();
625 void ClearFXAnnots(); 625 void ClearFXAnnots();
626 void SetValid(FX_BOOL bValid) { m_bValid = bValid; } 626 void SetValid(FX_BOOL bValid) { m_bValid = bValid; }
627 FX_BOOL IsValid() { return m_bValid; } 627 FX_BOOL IsValid() { return m_bValid; }
(...skipping 19 matching lines...) Expand all
647 FX_BOOL m_bTakeOverPage; 647 FX_BOOL m_bTakeOverPage;
648 #endif // PDF_ENABLE_XFA 648 #endif // PDF_ENABLE_XFA
649 FX_BOOL m_bEnterWidget; 649 FX_BOOL m_bEnterWidget;
650 FX_BOOL m_bExitWidget; 650 FX_BOOL m_bExitWidget;
651 FX_BOOL m_bOnWidget; 651 FX_BOOL m_bOnWidget;
652 FX_BOOL m_bValid; 652 FX_BOOL m_bValid;
653 FX_BOOL m_bLocked; 653 FX_BOOL m_bLocked;
654 }; 654 };
655 655
656 #endif // FPDFSDK_INCLUDE_FSDK_MGR_H_ 656 #endif // FPDFSDK_INCLUDE_FSDK_MGR_H_
OLDNEW
« no previous file with comments | « fpdfsdk/fsdk_mgr.cpp ('k') | fpdfsdk/javascript/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698