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

Side by Side Diff: xfa/fxfa/parser/cxfa_document_parser.cpp

Issue 2163133004: Move xfa_document to cxfa_document (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa_parser_II
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
« no previous file with comments | « xfa/fxfa/parser/cxfa_document.cpp ('k') | xfa/fxfa/parser/cxfa_layoutitem.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 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 #include "xfa/fxfa/parser/cxfa_document_parser.h" 7 #include "xfa/fxfa/parser/cxfa_document_parser.h"
8 8
9 #include "xfa/fxfa/include/fxfa.h" 9 #include "xfa/fxfa/include/fxfa.h"
10 #include "xfa/fxfa/parser/xfa_document.h" 10 #include "xfa/fxfa/parser/cxfa_document.h"
11 11
12 CXFA_DocumentParser::CXFA_DocumentParser(CXFA_FFNotify* pNotify) 12 CXFA_DocumentParser::CXFA_DocumentParser(CXFA_FFNotify* pNotify)
13 : m_nodeParser(nullptr, TRUE), m_pNotify(pNotify) {} 13 : m_nodeParser(nullptr, TRUE), m_pNotify(pNotify) {}
14 14
15 CXFA_DocumentParser::~CXFA_DocumentParser() { 15 CXFA_DocumentParser::~CXFA_DocumentParser() {
16 } 16 }
17 17
18 int32_t CXFA_DocumentParser::StartParse(IFX_FileRead* pStream, 18 int32_t CXFA_DocumentParser::StartParse(IFX_FileRead* pStream,
19 XFA_XDPPACKET ePacketID) { 19 XFA_XDPPACKET ePacketID) {
20 m_pDocument.reset(); 20 m_pDocument.reset();
(...skipping 20 matching lines...) Expand all
41 return m_nodeParser.GetXMLDoc(); 41 return m_nodeParser.GetXMLDoc();
42 } 42 }
43 43
44 CXFA_FFNotify* CXFA_DocumentParser::GetNotify() const { 44 CXFA_FFNotify* CXFA_DocumentParser::GetNotify() const {
45 return m_pNotify; 45 return m_pNotify;
46 } 46 }
47 47
48 CXFA_Document* CXFA_DocumentParser::GetDocument() const { 48 CXFA_Document* CXFA_DocumentParser::GetDocument() const {
49 return m_pDocument.get(); 49 return m_pDocument.get();
50 } 50 }
OLDNEW
« no previous file with comments | « xfa/fxfa/parser/cxfa_document.cpp ('k') | xfa/fxfa/parser/cxfa_layoutitem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698