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

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

Issue 2092853002: Pass needed value to CXFA_Node constructor (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: 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/xfa_document_imp.cpp ('k') | xfa/fxfa/parser/xfa_object_imp.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 XFA_FXFA_PARSER_XFA_OBJECT_H_ 7 #ifndef XFA_FXFA_PARSER_XFA_OBJECT_H_
8 #define XFA_FXFA_PARSER_XFA_OBJECT_H_ 8 #define XFA_FXFA_PARSER_XFA_OBJECT_H_
9 9
10 #include <unordered_set> 10 #include <unordered_set>
(...skipping 598 matching lines...) Expand 10 before | Expand all | Expand 10 after
609 void Script_Encrypt_Format(CFXJSE_Value* pValue, 609 void Script_Encrypt_Format(CFXJSE_Value* pValue,
610 FX_BOOL bSetting, 610 FX_BOOL bSetting,
611 XFA_ATTRIBUTE eAttribute); 611 XFA_ATTRIBUTE eAttribute);
612 void Script_Script_Stateless(CFXJSE_Value* pValue, 612 void Script_Script_Stateless(CFXJSE_Value* pValue,
613 FX_BOOL bSetting, 613 FX_BOOL bSetting,
614 XFA_ATTRIBUTE eAttribute); 614 XFA_ATTRIBUTE eAttribute);
615 615
616 protected: 616 protected:
617 friend class CXFA_Document; 617 friend class CXFA_Document;
618 618
619 CXFA_Node(CXFA_Document* pDoc, uint16_t ePacket, XFA_Element eType); 619 CXFA_Node(CXFA_Document* pDoc,
620 uint16_t ePacket,
621 XFA_ObjectType oType,
622 XFA_Element eType);
620 ~CXFA_Node() override; 623 ~CXFA_Node() override;
621 624
622 bool HasFlag(XFA_NodeFlag dwFlag) const; 625 bool HasFlag(XFA_NodeFlag dwFlag) const;
623 CXFA_Node* Deprecated_GetPrevSibling(); 626 CXFA_Node* Deprecated_GetPrevSibling();
624 FX_BOOL SetValue(XFA_ATTRIBUTE eAttr, 627 FX_BOOL SetValue(XFA_ATTRIBUTE eAttr,
625 XFA_ATTRIBUTETYPE eType, 628 XFA_ATTRIBUTETYPE eType,
626 void* pValue, 629 void* pValue,
627 bool bNotify); 630 bool bNotify);
628 FX_BOOL GetValue(XFA_ATTRIBUTE eAttr, 631 FX_BOOL GetValue(XFA_ATTRIBUTE eAttr,
629 XFA_ATTRIBUTETYPE eType, 632 XFA_ATTRIBUTETYPE eType,
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
797 800
798 inline CXFA_Node* ToNode(CXFA_Object* pObj) { 801 inline CXFA_Node* ToNode(CXFA_Object* pObj) {
799 return pObj ? pObj->AsNode() : nullptr; 802 return pObj ? pObj->AsNode() : nullptr;
800 } 803 }
801 804
802 inline const CXFA_Node* ToNode(const CXFA_Object* pObj) { 805 inline const CXFA_Node* ToNode(const CXFA_Object* pObj) {
803 return pObj ? pObj->AsNode() : nullptr; 806 return pObj ? pObj->AsNode() : nullptr;
804 } 807 }
805 808
806 #endif // XFA_FXFA_PARSER_XFA_OBJECT_H_ 809 #endif // XFA_FXFA_PARSER_XFA_OBJECT_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/parser/xfa_document_imp.cpp ('k') | xfa/fxfa/parser/xfa_object_imp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698