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

Side by Side Diff: xfa/src/fxfa/src/parser/xfa_parser_imp.cpp

Issue 1570743002: XFA: Remove many relative includes in xfa/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: address some comments Created 4 years, 11 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
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 #include "../../../foxitlib.h" 7 #include "xfa/src/foxitlib.h"
8 #include "../common/xfa_utils.h" 8 #include "xfa/src/fxfa/src/common/xfa_utils.h"
9 #include "../common/xfa_object.h" 9 #include "xfa/src/fxfa/src/common/xfa_object.h"
10 #include "../common/xfa_document.h" 10 #include "xfa/src/fxfa/src/common/xfa_document.h"
11 #include "../common/xfa_parser.h" 11 #include "xfa/src/fxfa/src/common/xfa_parser.h"
12 #include "../common/xfa_script.h" 12 #include "xfa/src/fxfa/src/common/xfa_script.h"
13 #include "../common/xfa_docdata.h" 13 #include "xfa/src/fxfa/src/common/xfa_docdata.h"
14 #include "../common/xfa_doclayout.h" 14 #include "xfa/src/fxfa/src/common/xfa_doclayout.h"
15 #include "../common/xfa_debug.h" 15 #include "xfa/src/fxfa/src/common/xfa_localemgr.h"
16 #include "../common/xfa_localemgr.h" 16 #include "xfa/src/fxfa/src/common/xfa_fm2jsapi.h"
17 #include "../common/xfa_fm2jsapi.h"
18 #include "xfa_debug_parser.h"
19 #include "xfa_basic_imp.h" 17 #include "xfa_basic_imp.h"
20 #include "xfa_parser_imp.h" 18 #include "xfa_parser_imp.h"
21 IXFA_Parser* IXFA_Parser::Create(IXFA_ObjFactory* pFactory, 19 IXFA_Parser* IXFA_Parser::Create(IXFA_ObjFactory* pFactory,
22 FX_BOOL bDocumentParser) { 20 FX_BOOL bDocumentParser) {
23 return new CXFA_SimpleParser(pFactory, bDocumentParser); 21 return new CXFA_SimpleParser(pFactory, bDocumentParser);
24 } 22 }
25 CXFA_SimpleParser::CXFA_SimpleParser(IXFA_ObjFactory* pFactory, 23 CXFA_SimpleParser::CXFA_SimpleParser(IXFA_ObjFactory* pFactory,
26 FX_BOOL bDocumentParser) 24 FX_BOOL bDocumentParser)
27 : m_pXMLParser(nullptr), 25 : m_pXMLParser(nullptr),
28 m_pXMLDoc(nullptr), 26 m_pXMLDoc(nullptr),
(...skipping 1582 matching lines...) Expand 10 before | Expand all | Expand 10 after
1611 break; 1609 break;
1612 } 1610 }
1613 if (pPause != NULL && iCount > 500 && pPause->NeedToPauseNow()) { 1611 if (pPause != NULL && iCount > 500 && pPause->NeedToPauseNow()) {
1614 break; 1612 break;
1615 } 1613 }
1616 } 1614 }
1617 return (m_dwStatus == FDE_XMLSYNTAXSTATUS_Error || m_NodeStack.GetSize() != 1) 1615 return (m_dwStatus == FDE_XMLSYNTAXSTATUS_Error || m_NodeStack.GetSize() != 1)
1618 ? -1 1616 ? -1
1619 : m_pParser->GetStatus(); 1617 : m_pParser->GetStatus();
1620 } 1618 }
OLDNEW
« no previous file with comments | « xfa/src/fxfa/src/parser/xfa_objectacc_imp.cpp ('k') | xfa/src/fxfa/src/parser/xfa_script_datawindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698