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

Side by Side Diff: core/fpdfdoc/include/cpdf_actionfields.h

Issue 2192823002: Splitting fpdfdoc/doc_* part I (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@fpdf_doc_II
Patch Set: Stddef not stdint Created 4 years, 4 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/fpdfdoc/doc_viewerPreferences.cpp ('k') | pdfium.gyp » ('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 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 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 CORE_FPDFDOC_INCLUDE_CPDF_ACTIONFIELDS_H_ 7 #ifndef CORE_FPDFDOC_INCLUDE_CPDF_ACTIONFIELDS_H_
8 #define CORE_FPDFDOC_INCLUDE_CPDF_ACTIONFIELDS_H_ 8 #define CORE_FPDFDOC_INCLUDE_CPDF_ACTIONFIELDS_H_
9 9
10 #include <stddef.h>
11
10 #include <vector> 12 #include <vector>
11 13
12 class CPDF_Action; 14 class CPDF_Action;
13 class CPDF_Object; 15 class CPDF_Object;
14 16
15 class CPDF_ActionFields { 17 class CPDF_ActionFields {
16 public: 18 public:
17 explicit CPDF_ActionFields(const CPDF_Action* pAction) : m_pAction(pAction) {} 19 explicit CPDF_ActionFields(const CPDF_Action* pAction) : m_pAction(pAction) {}
18 20
19 size_t GetFieldsCount() const; 21 size_t GetFieldsCount() const;
20 std::vector<CPDF_Object*> GetAllFields() const; 22 std::vector<CPDF_Object*> GetAllFields() const;
21 CPDF_Object* GetField(size_t iIndex) const; 23 CPDF_Object* GetField(size_t iIndex) const;
22 24
23 private: 25 private:
24 const CPDF_Action* const m_pAction; 26 const CPDF_Action* const m_pAction;
25 }; 27 };
26 28
27 #endif // CORE_FPDFDOC_INCLUDE_CPDF_ACTIONFIELDS_H_ 29 #endif // CORE_FPDFDOC_INCLUDE_CPDF_ACTIONFIELDS_H_
OLDNEW
« no previous file with comments | « core/fpdfdoc/doc_viewerPreferences.cpp ('k') | pdfium.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698