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

Side by Side Diff: fpdfsdk/cpdfsdk_annotiterator.h

Issue 2626073005: Use observed pointers in CPDFSDK_AnnotIterator. (Closed)
Patch Set: remove local Created 3 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 | « fpdfsdk/cpdfsdk_annotiteration.cpp ('k') | fpdfsdk/cpdfsdk_annotiterator.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7 #ifndef FPDFSDK_CPDFSDK_ANNOTITERATOR_H_
8 #define FPDFSDK_CPDFSDK_ANNOTITERATOR_H_
9
10 #include <vector>
11
12 class CPDFSDK_Annot;
13 class CPDFSDK_PageView;
14
15 class CPDFSDK_AnnotIterator {
16 public:
17 CPDFSDK_AnnotIterator(CPDFSDK_PageView* pPageView, bool bReverse);
18 ~CPDFSDK_AnnotIterator();
19
20 CPDFSDK_Annot* Next();
21
22 private:
23 CPDFSDK_Annot* NextAnnot();
24 CPDFSDK_Annot* PrevAnnot();
25
26 std::vector<CPDFSDK_Annot*> m_iteratorAnnotList;
27 const bool m_bReverse;
28 std::size_t m_pos;
29 };
30
31 #endif // FPDFSDK_CPDFSDK_ANNOTITERATOR_H_
OLDNEW
« no previous file with comments | « fpdfsdk/cpdfsdk_annotiteration.cpp ('k') | fpdfsdk/cpdfsdk_annotiterator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698