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

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

Issue 1252613002: FX_BOOL considered harmful. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Manual edits. Created 5 years, 5 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/fpdfdoc/fpdf_vt.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 class CPDF_Document; 10 class CPDF_Document;
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 virtual CPDF_StructElement* GetParent() const = 0; 78 virtual CPDF_StructElement* GetParent() const = 0;
79 79
80 virtual CPDF_Dictionary * GetDict() const = 0; 80 virtual CPDF_Dictionary * GetDict() const = 0;
81 81
82 virtual int CountKids() const = 0; 82 virtual int CountKids() const = 0;
83 83
84 virtual const CPDF_StructKid& GetKid(int index) const = 0; 84 virtual const CPDF_StructKid& GetKid(int index) const = 0;
85 85
86 virtual CFX_PtrArray* GetObjectArray() = 0; 86 virtual CFX_PtrArray* GetObjectArray() = 0;
87 87
88 virtual CPDF_Object*» » GetAttr(const CFX_ByteStringC& owner, co nst CFX_ByteStringC& name, FX_BOOL bInheritable = FALSE, FX_FLOAT fLevel = 0.0F) = 0; 88 virtual CPDF_Object*» » GetAttr(const CFX_ByteStringC& owner, co nst CFX_ByteStringC& name, bool bInheritable = false, FX_FLOAT fLevel = 0.0F) = 0;
89 89
90 90
91 91
92 virtual CFX_ByteString» » GetName(const CFX_ByteStringC& owner, co nst CFX_ByteStringC& name, const CFX_ByteStringC& default_value, FX_BOOL bInheri table = FALSE, int subindex = -1) = 0; 92 virtual CFX_ByteString» » GetName(const CFX_ByteStringC& owner, co nst CFX_ByteStringC& name, const CFX_ByteStringC& default_value, bool bInheritab le = false, int subindex = -1) = 0;
93 93
94 virtual FX_ARGB» » » » GetColor(const CFX_ByteStringC& owner, const CFX_ByteStringC& name, FX_ARGB default_value, FX_BOOL bInheritable = FALSE, int subindex = -1) = 0; 94 virtual FX_ARGB» » » » GetColor(const CFX_ByteStringC& owner, const CFX_ByteStringC& name, FX_ARGB default_value, bool bInheritable = f alse, int subindex = -1) = 0;
95 95
96 virtual FX_FLOAT» » » GetNumber(const CFX_ByteStringC& owner, const CFX_ByteStringC& name, FX_FLOAT default_value, FX_BOOL bInheritable = FALS E, int subindex = -1) = 0; 96 virtual FX_FLOAT» » » GetNumber(const CFX_ByteStringC& owner, const CFX_ByteStringC& name, FX_FLOAT default_value, bool bInheritable = false, int subindex = -1) = 0;
97 97
98 virtual int»» » » » GetInteger(const CFX_ByteStringC & owner, const CFX_ByteStringC& name, int default_value, FX_BOOL bInheritable = FALSE, int subindex = -1) = 0; 98 virtual int»» » » » GetInteger(const CFX_ByteStringC & owner, const CFX_ByteStringC& name, int default_value, bool bInheritable = fal se, int subindex = -1) = 0;
99 99
100 }; 100 };
101 101
102 #endif // CORE_INCLUDE_FPDFDOC_FPDF_TAGGED_H_ 102 #endif // CORE_INCLUDE_FPDFDOC_FPDF_TAGGED_H_
OLDNEW
« no previous file with comments | « core/include/fpdfdoc/fpdf_doc.h ('k') | core/include/fpdfdoc/fpdf_vt.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698