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

Side by Side Diff: xfa/fxfa/parser/cxfa_xml_parser.h

Issue 2129963002: Break xfa_parser_imp apart (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@ixfa_parser
Patch Set: Rebase to master Created 4 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
OLDNEW
(Empty)
1 // Copyright 2016 PDFium Authors. All rights reserved.
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 XFA_FXFA_PARSER_CXFA_XML_PARSER_H_
8 #define XFA_FXFA_PARSER_CXFA_XML_PARSER_H_
9
10 #include "xfa/fde/xml/fde_xml_imp.h"
11
12 class IFX_Stream;
13 class IFX_Pause;
14
15 class CXFA_XMLParser : public CFDE_XMLParser {
16 public:
17 CXFA_XMLParser(CFDE_XMLNode* pRoot, IFX_Stream* pStream);
18 ~CXFA_XMLParser() override;
19
20 // CFDE_XMLParser
21 void Release() override;
22 int32_t DoParser(IFX_Pause* pPause) override;
23
24 FX_FILESIZE m_nStart[2];
25 size_t m_nSize[2];
26 FX_FILESIZE m_nElementStart;
27 uint16_t m_dwCheckStatus;
28 uint16_t m_dwCurrentCheckStatus;
29
30 protected:
31 CFDE_XMLNode* m_pRoot;
32 IFX_Stream* m_pStream;
33 std::unique_ptr<CFDE_XMLSyntaxParser, ReleaseDeleter<CFDE_XMLSyntaxParser>>
34 m_pParser;
35 CFDE_XMLNode* m_pParent;
36 CFDE_XMLNode* m_pChild;
37 CFX_StackTemplate<CFDE_XMLNode*> m_NodeStack;
38 CFX_WideString m_ws1;
39 CFX_WideString m_ws2;
40 FDE_XmlSyntaxResult m_syntaxParserResult;
41 };
42
43 #endif // XFA_FXFA_PARSER_CXFA_XML_PARSER_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/parser/cxfa_simple_parser_embeddertest.cpp ('k') | xfa/fxfa/parser/cxfa_xml_parser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698