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

Side by Side Diff: fpdfsdk/cpdfsdk_annotiteration.h

Issue 2626073005: Use observed pointers in CPDFSDK_AnnotIterator. (Closed)
Patch Set: negation of condition 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
OLDNEW
(Empty)
1 // Copyright 2016 PDFium Authors. All rights reserved.
dsinclair 2017/01/11 21:22:53 2017
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') | fpdfsdk/cpdfsdk_annotiteration.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698