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

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

Issue 2093663002: Cleanup some variable namings. (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
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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 XFA_Element GetElementType() const; 95 XFA_Element GetElementType() const;
96 void GetClassName(CFX_WideStringC& wsName) const; 96 void GetClassName(CFX_WideStringC& wsName) const;
97 uint32_t GetClassHashCode() const; 97 uint32_t GetClassHashCode() const;
98 void Script_ObjectClass_ClassName(CFXJSE_Value* pValue, 98 void Script_ObjectClass_ClassName(CFXJSE_Value* pValue,
99 FX_BOOL bSetting, 99 FX_BOOL bSetting,
100 XFA_ATTRIBUTE eAttribute); 100 XFA_ATTRIBUTE eAttribute);
101 void ThrowException(int32_t iStringID, ...); 101 void ThrowException(int32_t iStringID, ...);
102 102
103 protected: 103 protected:
104 CXFA_Document* const m_pDocument; 104 CXFA_Document* const m_pDocument;
105 XFA_ObjectType m_objectType; 105 const XFA_ObjectType m_objectType;
106 XFA_Element m_elementType; 106 const XFA_Element m_elementType;
107 }; 107 };
108 using CXFA_ObjArray = CFX_ArrayTemplate<CXFA_Object*>; 108 using CXFA_ObjArray = CFX_ArrayTemplate<CXFA_Object*>;
109 109
110 #define XFA_NODEFILTER_Children 0x01 110 #define XFA_NODEFILTER_Children 0x01
111 #define XFA_NODEFILTER_Properties 0x02 111 #define XFA_NODEFILTER_Properties 0x02
112 #define XFA_NODEFILTER_OneOfProperty 0x04 112 #define XFA_NODEFILTER_OneOfProperty 0x04
113 #define XFA_CLONEFLAG_Content 0x01 113 #define XFA_CLONEFLAG_Content 0x01
114 enum XFA_NODEITEM { 114 enum XFA_NODEITEM {
115 XFA_NODEITEM_Parent, 115 XFA_NODEITEM_Parent,
116 XFA_NODEITEM_FirstChild, 116 XFA_NODEITEM_FirstChild,
(...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after
817 817
818 inline CXFA_Node* ToNode(CXFA_Object* pObj) { 818 inline CXFA_Node* ToNode(CXFA_Object* pObj) {
819 return pObj ? pObj->AsNode() : nullptr; 819 return pObj ? pObj->AsNode() : nullptr;
820 } 820 }
821 821
822 inline const CXFA_Node* ToNode(const CXFA_Object* pObj) { 822 inline const CXFA_Node* ToNode(const CXFA_Object* pObj) {
823 return pObj ? pObj->AsNode() : nullptr; 823 return pObj ? pObj->AsNode() : nullptr;
824 } 824 }
825 825
826 #endif // XFA_FXFA_PARSER_XFA_OBJECT_H_ 826 #endif // XFA_FXFA_PARSER_XFA_OBJECT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698