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

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

Issue 1832173003: Remove FX_DWORD from core/ and delete definition (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 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/include/fpdfdoc/fpdf_doc.h ('k') | core/include/fxcodec/fx_codec.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 CORE_INCLUDE_FPDFDOC_FPDF_TAGGED_H_ 7 #ifndef CORE_INCLUDE_FPDFDOC_FPDF_TAGGED_H_
8 #define CORE_INCLUDE_FPDFDOC_FPDF_TAGGED_H_ 8 #define CORE_INCLUDE_FPDFDOC_FPDF_TAGGED_H_
9 9
10 #include "core/include/fxge/fx_dib.h" 10 #include "core/include/fxge/fx_dib.h"
(...skipping 19 matching lines...) Expand all
30 struct CPDF_StructKid { 30 struct CPDF_StructKid {
31 enum { Invalid, Element, PageContent, StreamContent, Object } m_Type; 31 enum { Invalid, Element, PageContent, StreamContent, Object } m_Type;
32 32
33 union { 33 union {
34 struct { 34 struct {
35 CPDF_StructElement* m_pElement; 35 CPDF_StructElement* m_pElement;
36 36
37 CPDF_Dictionary* m_pDict; 37 CPDF_Dictionary* m_pDict;
38 } m_Element; 38 } m_Element;
39 struct { 39 struct {
40 FX_DWORD m_PageObjNum; 40 uint32_t m_PageObjNum;
41 41
42 FX_DWORD m_ContentId; 42 uint32_t m_ContentId;
43 } m_PageContent; 43 } m_PageContent;
44 struct { 44 struct {
45 FX_DWORD m_PageObjNum; 45 uint32_t m_PageObjNum;
46 46
47 FX_DWORD m_ContentId; 47 uint32_t m_ContentId;
48 48
49 FX_DWORD m_RefObjNum; 49 uint32_t m_RefObjNum;
50 } m_StreamContent; 50 } m_StreamContent;
51 struct { 51 struct {
52 FX_DWORD m_PageObjNum; 52 uint32_t m_PageObjNum;
53 53
54 FX_DWORD m_RefObjNum; 54 uint32_t m_RefObjNum;
55 } m_Object; 55 } m_Object;
56 }; 56 };
57 }; 57 };
58 class CPDF_StructElement { 58 class CPDF_StructElement {
59 public: 59 public:
60 virtual ~CPDF_StructElement() {} 60 virtual ~CPDF_StructElement() {}
61 61
62 virtual CPDF_StructTree* GetTree() const = 0; 62 virtual CPDF_StructTree* GetTree() const = 0;
63 63
64 virtual const CFX_ByteString& GetType() const = 0; 64 virtual const CFX_ByteString& GetType() const = 0;
(...skipping 30 matching lines...) Expand all
95 int subindex = -1) = 0; 95 int subindex = -1) = 0;
96 96
97 virtual int GetInteger(const CFX_ByteStringC& owner, 97 virtual int GetInteger(const CFX_ByteStringC& owner,
98 const CFX_ByteStringC& name, 98 const CFX_ByteStringC& name,
99 int default_value, 99 int default_value,
100 FX_BOOL bInheritable = FALSE, 100 FX_BOOL bInheritable = FALSE,
101 int subindex = -1) = 0; 101 int subindex = -1) = 0;
102 }; 102 };
103 103
104 #endif // CORE_INCLUDE_FPDFDOC_FPDF_TAGGED_H_ 104 #endif // CORE_INCLUDE_FPDFDOC_FPDF_TAGGED_H_
OLDNEW
« no previous file with comments | « core/include/fpdfdoc/fpdf_doc.h ('k') | core/include/fxcodec/fx_codec.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698