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

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

Issue 2056663004: Move xfa/fxjse/ to fxjse/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 6 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/xfa_object.h ('k') | xfa/fxfa/parser/xfa_script.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 #include "xfa/fxfa/parser/xfa_object.h" 7 #include "xfa/fxfa/parser/xfa_object.h"
8 8
9 #include <memory> 9 #include <memory>
10 10
11 #include "core/fxcrt/include/fx_ext.h" 11 #include "core/fxcrt/include/fx_ext.h"
12 #include "fxjse/include/cfxjse_arguments.h"
12 #include "third_party/base/stl_util.h" 13 #include "third_party/base/stl_util.h"
13 #include "xfa/fde/xml/fde_xml_imp.h" 14 #include "xfa/fde/xml/fde_xml_imp.h"
14 #include "xfa/fgas/crt/fgas_codepage.h" 15 #include "xfa/fgas/crt/fgas_codepage.h"
15 #include "xfa/fgas/crt/fgas_system.h" 16 #include "xfa/fgas/crt/fgas_system.h"
16 #include "xfa/fxfa/app/xfa_ffnotify.h" 17 #include "xfa/fxfa/app/xfa_ffnotify.h"
17 #include "xfa/fxfa/parser/cxfa_occur.h" 18 #include "xfa/fxfa/parser/cxfa_occur.h"
18 #include "xfa/fxfa/parser/xfa_basic_imp.h" 19 #include "xfa/fxfa/parser/xfa_basic_imp.h"
19 #include "xfa/fxfa/parser/xfa_doclayout.h" 20 #include "xfa/fxfa/parser/xfa_doclayout.h"
20 #include "xfa/fxfa/parser/xfa_document.h" 21 #include "xfa/fxfa/parser/xfa_document.h"
21 #include "xfa/fxfa/parser/xfa_document_layout_imp.h" 22 #include "xfa/fxfa/parser/xfa_document_layout_imp.h"
22 #include "xfa/fxfa/parser/xfa_localemgr.h" 23 #include "xfa/fxfa/parser/xfa_localemgr.h"
23 #include "xfa/fxfa/parser/xfa_parser.h" 24 #include "xfa/fxfa/parser/xfa_parser.h"
24 #include "xfa/fxfa/parser/xfa_parser_imp.h" 25 #include "xfa/fxfa/parser/xfa_parser_imp.h"
25 #include "xfa/fxfa/parser/xfa_script.h" 26 #include "xfa/fxfa/parser/xfa_script.h"
26 #include "xfa/fxfa/parser/xfa_script_imp.h" 27 #include "xfa/fxfa/parser/xfa_script_imp.h"
27 #include "xfa/fxfa/parser/xfa_utils.h" 28 #include "xfa/fxfa/parser/xfa_utils.h"
28 #include "xfa/fxjse/cfxjse_arguments.h"
29 29
30 namespace { 30 namespace {
31 31
32 void XFA_DeleteWideString(void* pData) { 32 void XFA_DeleteWideString(void* pData) {
33 delete static_cast<CFX_WideString*>(pData); 33 delete static_cast<CFX_WideString*>(pData);
34 } 34 }
35 35
36 void XFA_CopyWideString(void*& pData) { 36 void XFA_CopyWideString(void*& pData) {
37 if (pData) { 37 if (pData) {
38 CFX_WideString* pNewData = new CFX_WideString(*(CFX_WideString*)pData); 38 CFX_WideString* pNewData = new CFX_WideString(*(CFX_WideString*)pData);
(...skipping 5209 matching lines...) Expand 10 before | Expand all | Expand 10 after
5248 return m_pAttachNode->InsertChild(pNewNode, pBeforeNode); 5248 return m_pAttachNode->InsertChild(pNewNode, pBeforeNode);
5249 } 5249 }
5250 FX_BOOL CXFA_AttachNodeList::Remove(CXFA_Node* pNode) { 5250 FX_BOOL CXFA_AttachNodeList::Remove(CXFA_Node* pNode) {
5251 return m_pAttachNode->RemoveChild(pNode); 5251 return m_pAttachNode->RemoveChild(pNode);
5252 } 5252 }
5253 CXFA_Node* CXFA_AttachNodeList::Item(int32_t iIndex) { 5253 CXFA_Node* CXFA_AttachNodeList::Item(int32_t iIndex) {
5254 return m_pAttachNode->GetChild( 5254 return m_pAttachNode->GetChild(
5255 iIndex, XFA_ELEMENT_UNKNOWN, 5255 iIndex, XFA_ELEMENT_UNKNOWN,
5256 m_pAttachNode->GetClassID() == XFA_ELEMENT_Subform); 5256 m_pAttachNode->GetClassID() == XFA_ELEMENT_Subform);
5257 } 5257 }
OLDNEW
« no previous file with comments | « xfa/fxfa/parser/xfa_object.h ('k') | xfa/fxfa/parser/xfa_script.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698