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

Side by Side Diff: core/fxcrt/fx_xml.h

Issue 2443723002: Rename IFX_ stream names (Closed)
Patch Set: Nits Created 4 years, 1 month 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/fxcrt/fx_stream.h ('k') | core/fxcrt/fx_xml_parser.cpp » ('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_FXCRT_FX_XML_H_ 7 #ifndef CORE_FXCRT_FX_XML_H_
8 #define CORE_FXCRT_FX_XML_H_ 8 #define CORE_FXCRT_FX_XML_H_
9 9
10 #include <memory> 10 #include <memory>
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 }; 51 };
52 52
53 class CXML_Element { 53 class CXML_Element {
54 public: 54 public:
55 enum ChildType { Invalid, Element, Content }; 55 enum ChildType { Invalid, Element, Content };
56 56
57 static CXML_Element* Parse(const void* pBuffer, 57 static CXML_Element* Parse(const void* pBuffer,
58 size_t size, 58 size_t size,
59 FX_BOOL bSaveSpaceChars = FALSE, 59 FX_BOOL bSaveSpaceChars = FALSE,
60 FX_FILESIZE* pParsedSize = nullptr); 60 FX_FILESIZE* pParsedSize = nullptr);
61 static CXML_Element* Parse(IFX_FileRead* pFile, 61 static CXML_Element* Parse(IFX_SeekableReadStream* pFile,
62 FX_BOOL bSaveSpaceChars = FALSE, 62 FX_BOOL bSaveSpaceChars = FALSE,
63 FX_FILESIZE* pParsedSize = nullptr); 63 FX_FILESIZE* pParsedSize = nullptr);
64 static CXML_Element* Parse(IFX_BufferRead* pBuffer, 64 static CXML_Element* Parse(IFX_BufferRead* pBuffer,
65 FX_BOOL bSaveSpaceChars = FALSE, 65 FX_BOOL bSaveSpaceChars = FALSE,
66 FX_FILESIZE* pParsedSize = nullptr); 66 FX_FILESIZE* pParsedSize = nullptr);
67 67
68 CXML_Element(const CFX_ByteStringC& qSpace, const CFX_ByteStringC& tagName); 68 CXML_Element(const CFX_ByteStringC& qSpace, const CFX_ByteStringC& tagName);
69 CXML_Element(const CFX_ByteStringC& qTagName); 69 CXML_Element(const CFX_ByteStringC& qTagName);
70 CXML_Element(); 70 CXML_Element();
71 ~CXML_Element(); 71 ~CXML_Element();
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 CFX_ByteString m_QSpaceName; 164 CFX_ByteString m_QSpaceName;
165 CFX_ByteString m_TagName; 165 CFX_ByteString m_TagName;
166 CXML_AttrMap m_AttrMap; 166 CXML_AttrMap m_AttrMap;
167 std::vector<ChildRecord> m_Children; 167 std::vector<ChildRecord> m_Children;
168 168
169 friend class CXML_Parser; 169 friend class CXML_Parser;
170 friend class CXML_Composer; 170 friend class CXML_Composer;
171 }; 171 };
172 172
173 #endif // CORE_FXCRT_FX_XML_H_ 173 #endif // CORE_FXCRT_FX_XML_H_
OLDNEW
« no previous file with comments | « core/fxcrt/fx_stream.h ('k') | core/fxcrt/fx_xml_parser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698