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

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

Issue 1549103002: Make more CPDF_Parser method const. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: remove unused CheckDirectType() Created 4 years, 11 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 | « core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp ('k') | fpdfsdk/include/fsdk_baseannot.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_ANNOTHANDLER_H_ 7 #ifndef FPDFSDK_INCLUDE_FSDK_ANNOTHANDLER_H_
8 #define FPDFSDK_INCLUDE_FSDK_ANNOTHANDLER_H_ 8 #define FPDFSDK_INCLUDE_FSDK_ANNOTHANDLER_H_
9 9
10 #include <map> 10 #include <map>
11 #include <vector> 11 #include <vector>
12 12
13 #include "core/include/fxcrt/fx_basic.h" 13 #include "core/include/fxcrt/fx_basic.h"
14 14
15 class CFFL_IFormFiller; 15 class CFFL_IFormFiller;
16 class CFX_RenderDevice; 16 class CFX_RenderDevice;
17 class CPDFDoc_Environment; 17 class CPDFDoc_Environment;
18 class CPDFSDK_Annot; 18 class CPDFSDK_Annot;
19 class CPDFSDK_PageView; 19 class CPDFSDK_PageView;
20 class CPDF_Annot; 20 class CPDF_Annot;
21 class CFX_Matrix; 21 class CFX_Matrix;
22 class CPDF_Point; 22 class CPDF_Point;
23 class CPDF_Rect;
24 23
25 class IPDFSDK_AnnotHandler { 24 class IPDFSDK_AnnotHandler {
26 public: 25 public:
27 virtual ~IPDFSDK_AnnotHandler() {} 26 virtual ~IPDFSDK_AnnotHandler() {}
28 27
29 virtual CFX_ByteString GetType() = 0; 28 virtual CFX_ByteString GetType() = 0;
30 29
31 virtual CFX_ByteString GetName() = 0; 30 virtual CFX_ByteString GetName() = 0;
32 31
33 virtual FX_BOOL CanAnswer(CPDFSDK_Annot* pAnnot) = 0; 32 virtual FX_BOOL CanAnswer(CPDFSDK_Annot* pAnnot) = 0;
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 private: 313 private:
315 CPDFSDK_Annot* NextAnnot(); 314 CPDFSDK_Annot* NextAnnot();
316 CPDFSDK_Annot* PrevAnnot(); 315 CPDFSDK_Annot* PrevAnnot();
317 316
318 std::vector<CPDFSDK_Annot*> m_iteratorAnnotList; 317 std::vector<CPDFSDK_Annot*> m_iteratorAnnotList;
319 const bool m_bReverse; 318 const bool m_bReverse;
320 size_t m_pos; 319 size_t m_pos;
321 }; 320 };
322 321
323 #endif // FPDFSDK_INCLUDE_FSDK_ANNOTHANDLER_H_ 322 #endif // FPDFSDK_INCLUDE_FSDK_ANNOTHANDLER_H_
OLDNEW
« no previous file with comments | « core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp ('k') | fpdfsdk/include/fsdk_baseannot.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698