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

Side by Side Diff: fpdfsdk/cpdfsdk_annotiteration.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 | « BUILD.gn ('k') | fpdfsdk/cpdfsdk_annotiteration.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 2017 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_ANNOTITERATION_H_
8 #define FPDFSDK_CPDFSDK_ANNOTITERATION_H_
9
10 #include <vector>
11
12 #include "fpdfsdk/cpdfsdk_annot.h"
13
14 class CPDFSDK_PageView;
15
16 class CPDFSDK_AnnotIteration {
17 public:
18 using const_iterator =
19 std::vector<CPDFSDK_Annot::ObservedPtr>::const_iterator;
20
21 CPDFSDK_AnnotIteration(CPDFSDK_PageView* pPageView, bool bReverse);
22 ~CPDFSDK_AnnotIteration();
23
24 const_iterator begin() const { return m_List.begin(); }
25 const_iterator end() const { return m_List.end(); }
26
27 private:
28 std::vector<CPDFSDK_Annot::ObservedPtr> m_List;
29 };
30
31 #endif // FPDFSDK_CPDFSDK_ANNOTITERATION_H_
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | fpdfsdk/cpdfsdk_annotiteration.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698